| | |
| | | /** |
| | | * 批次管理 Mapper |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @Mapper |
| | | public interface MesWmBatchMapper extends BaseMapperX<MesWmBatchDO> { |
| | |
| | | .betweenIfPresent(MesWmBatchDO::getExpireDate, reqVO.getExpireDate()) |
| | | .betweenIfPresent(MesWmBatchDO::getReceiptDate, reqVO.getReceiptDate()) |
| | | .orderByDesc(MesWmBatchDO::getId); |
| | | if (permittedClientIds != null) { |
| | | if (CollUtil.isEmpty(permittedClientIds)) { |
| | | return PageResult.empty(); |
| | | } |
| | | wrapper.in(MesWmBatchDO::getClientId, permittedClientIds); |
| | | } |
| | | // if (permittedClientIds != null) { |
| | | // if (CollUtil.isEmpty(permittedClientIds)) { |
| | | // return PageResult.empty(); |
| | | // } |
| | | // wrapper.in(MesWmBatchDO::getClientId, permittedClientIds); |
| | | // } |
| | | return selectPage(reqVO, wrapper); |
| | | } |
| | | |