gwlog日志
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user