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 { default PageResult selectPage(ProdAccidentPageReqVO Entity) { return selectPage(Entity, new LambdaQueryWrapperX() .orderByDesc(ProdAccidentEntity::getCjsj)); } }