|
|
@ -9,6 +9,7 @@ import com.win.framework.mybatis.core.mapper.BaseMapperX; |
|
|
|
import com.win.framework.mybatis.core.util.QueryWrapperUtils; |
|
|
|
import com.win.module.wms.controller.inspectJob.vo.InspectJobMainExportReqVO; |
|
|
|
import com.win.module.wms.controller.inspectJob.vo.InspectJobMainPageReqVO; |
|
|
|
import com.win.module.wms.controller.inspectJob.vo.InspectJobMainRespVO; |
|
|
|
import com.win.module.wms.dal.dataobject.inspectJob.InspectJobMainDO; |
|
|
|
import org.apache.ibatis.annotations.Mapper; |
|
|
|
|
|
|
@ -22,6 +23,7 @@ public interface InspectJobMainMapper extends BaseMapperX<InspectJobMainDO> { |
|
|
|
|
|
|
|
default PageResult<InspectJobMainDO> selectPage(InspectJobMainPageReqVO reqVO) { |
|
|
|
return selectPage(reqVO, new LambdaQueryWrapperX<InspectJobMainDO>() |
|
|
|
.inIfPresent(InspectJobMainDO::getStatus, reqVO.getStatus()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getRequestNumber, reqVO.getRequestNumber()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getPurchaseReceiptRecordNumber, reqVO.getPurchaseReceiptRecordNumber()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getSupplierCode, reqVO.getSupplierCode()) |
|
|
@ -126,4 +128,48 @@ public interface InspectJobMainMapper extends BaseMapperX<InspectJobMainDO> { |
|
|
|
.orderByDesc(InspectJobMainDO::getId)); |
|
|
|
} |
|
|
|
|
|
|
|
default List<InspectJobMainDO> getReturnJobMainSenior(InspectJobMainRespVO reqVO) { |
|
|
|
return selectList(new LambdaQueryWrapperX<InspectJobMainDO>() |
|
|
|
.eqIfPresent(InspectJobMainDO::getRequestNumber, reqVO.getRequestNumber()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getPurchaseReceiptRecordNumber, reqVO.getPurchaseReceiptRecordNumber()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getSupplierCode, reqVO.getSupplierCode()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getWarehouseCode, reqVO.getWarehouseCode()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getStatus, reqVO.getStatus()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getUpdater, reqVO.getUpdater()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getJobStageStatus, reqVO.getJobStageStatus()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getPriority, reqVO.getPriority()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getPriorityIncrement, reqVO.getPriorityIncrement()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getDepartmentCode, reqVO.getDepartmentCode()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAcceptUserId, reqVO.getAcceptUserId()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getCompleteUserId, reqVO.getCompleteUserId()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getFromLocationTypes, reqVO.getFromLocationTypes()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getToLocationTypes, reqVO.getToLocationTypes()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getNumber, reqVO.getNumber()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getBusinessType, reqVO.getBusinessType()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getRemark, reqVO.getRemark()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getCreator, reqVO.getCreator()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getPoUmber, reqVO.getPoUmber()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getPoLine, reqVO.getPoLine()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getBatch, reqVO.getBatch()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getItemCode, reqVO.getItemCode()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getInspectType, reqVO.getInspectType()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getNextAction, reqVO.getNextAction()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getSampleMethod, reqVO.getSampleMethod()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getUom, reqVO.getUom()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getReceiveQty, reqVO.getReceiveQty()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getSampleQty, reqVO.getSampleQty()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getOwner, reqVO.getOwner()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAutoComplete, reqVO.getAutoComplete()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowModifyLocation, reqVO.getAllowModifyLocation()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowModifyQty, reqVO.getAllowModifyQty()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowBiggerQty, reqVO.getAllowBiggerQty()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowSmallerQty, reqVO.getAllowSmallerQty()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowModifyInventoryStatus, reqVO.getAllowModifyInventoryStatus()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowContinuousScanning, reqVO.getAllowContinuousScanning()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowPartialComplete, reqVO.getAllowPartialComplete()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowModifyBatch, reqVO.getAllowModifyBatch()) |
|
|
|
.eqIfPresent(InspectJobMainDO::getAllowModifyPackingNumber, reqVO.getAllowModifyPackingNumber()) |
|
|
|
.orderByDesc(InspectJobMainDO::getId)); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|