From 3f07ab2e03e501ae55d1d1b0d031daf50c8e13e5 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 10 十二月 2024 17:27:44 +0800 Subject: [PATCH] common依赖排除父类 --- iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/ProdAccidentDao.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/ProdAccidentDao.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/ProdAccidentDao.java new file mode 100644 index 0000000..2974689 --- /dev/null +++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/ProdAccidentDao.java @@ -0,0 +1,17 @@ +package com.iailab.module.pms.production.work.dao; + +import com.iailab.framework.common.pojo.PageResult; +import com.iailab.framework.mybatis.core.mapper.BaseMapperX; +import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; +import com.iailab.module.pms.production.work.enity.ProdAccidentEntity; +import com.iailab.module.pms.production.work.vo.ProdAccidentPageReqVO; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface ProdAccidentDao extends BaseMapperX<ProdAccidentEntity> { + + default PageResult<ProdAccidentEntity> selectPage(ProdAccidentPageReqVO Entity) { + return selectPage(Entity, new LambdaQueryWrapperX<ProdAccidentEntity>() + .orderByDesc(ProdAccidentEntity::getCjsj)); + } +} \ No newline at end of file -- Gitblit v1.9.3