gwlog日志

This commit is contained in:
zhaoqing
2026-05-14 09:51:17 +08:00
parent 17bc4b1416
commit 642cfc5c8c
5 changed files with 45 additions and 5 deletions
@@ -6,6 +6,8 @@ import com.mhd.oms.domain.gwLog.repository.po.GwLogPO;
import com.mhd.oms.interfaces.dto.gwLog.GwLogDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
@@ -18,4 +20,7 @@ public interface GwLogMapper extends BaseMapper<GwLog> {
* @return
*/
List<GwLogPO> queryList(GwLogDTO gwLogDTO);
@Select("select * from gw_log where business_id = #{businessId} and type = #{type}")
GwLogPO selectByTypeAndId(@RequestBody GwLog gwLog);
}
@@ -52,6 +52,9 @@ public class GwLogPO {
@ApiModelProperty("创建人")
private Long createBy;
@ApiModelProperty("创建人姓名")
private String pushByName;
@ApiModelProperty("创建时间")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")