分页查询,编码、名称优化为模糊查询

This commit is contained in:
liss
2025-10-30 10:11:45 +08:00
parent e6d3fe8584
commit 24a774767b
22 changed files with 67 additions and 67 deletions

View File

@@ -17,17 +17,17 @@ public interface ErpAssetMapper extends BaseMapperX<ErpAssetDO> {
default PageResult<ErpAssetDO> selectPage(ErpAssetPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpAssetDO>()
.eqIfPresent(ErpAssetDO::getCompanyNumber, reqVO.getCompanyNumber())
.eqIfPresent(ErpAssetDO::getMainAssetNumber, reqVO.getMainAssetNumber())
.likeIfPresent(ErpAssetDO::getCompanyNumber, reqVO.getCompanyNumber())
.likeIfPresent(ErpAssetDO::getMainAssetNumber, reqVO.getMainAssetNumber())
.betweenIfPresent(ErpAssetDO::getRecordCreateDate, reqVO.getRecordCreateDate())
.likeIfPresent(ErpAssetDO::getUpdateUserName, reqVO.getUpdateUserName())
.eqIfPresent(ErpAssetDO::getAssetTypeNumber, reqVO.getAssetTypeNumber())
.likeIfPresent(ErpAssetDO::getAssetTypeNumber, reqVO.getAssetTypeNumber())
.likeIfPresent(ErpAssetDO::getAssetTypeName, reqVO.getAssetTypeName())
.betweenIfPresent(ErpAssetDO::getAssetDate, reqVO.getAssetDate())
.eqIfPresent(ErpAssetDO::getUom, reqVO.getUom())
.eqIfPresent(ErpAssetDO::getQuantity, reqVO.getQuantity())
.eqIfPresent(ErpAssetDO::getAssetDescription, reqVO.getAssetDescription())
.eqIfPresent(ErpAssetDO::getAssetDescriptionAttach, reqVO.getAssetDescriptionAttach())
.likeIfPresent(ErpAssetDO::getAssetDescription, reqVO.getAssetDescription())
.likeIfPresent(ErpAssetDO::getAssetDescriptionAttach, reqVO.getAssetDescriptionAttach())
.betweenIfPresent(ErpAssetDO::getDepreciationStartDate, reqVO.getDepreciationStartDate())
.eqIfPresent(ErpAssetDO::getPlanYearDate, reqVO.getPlanYearDate())
.eqIfPresent(ErpAssetDO::getCostcenterNumber, reqVO.getCostcenterNumber())

View File

@@ -17,10 +17,10 @@ public interface ErpBomMapper extends BaseMapperX<ErpBomDO> {
default PageResult<ErpBomDO> selectPage(ErpBomPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpBomDO>()
.eqIfPresent(ErpBomDO::getFactoryNumber, reqVO.getFactoryNumber())
.eqIfPresent(ErpBomDO::getUpMaterial, reqVO.getUpMaterial())
.likeIfPresent(ErpBomDO::getFactoryNumber, reqVO.getFactoryNumber())
.likeIfPresent(ErpBomDO::getUpMaterial, reqVO.getUpMaterial())
.eqIfPresent(ErpBomDO::getUseItem, reqVO.getUseItem())
.eqIfPresent(ErpBomDO::getMaterialDescription, reqVO.getMaterialDescription())
.likeIfPresent(ErpBomDO::getMaterialDescription, reqVO.getMaterialDescription())
.eqIfPresent(ErpBomDO::getQuantity, reqVO.getQuantity())
.eqIfPresent(ErpBomDO::getUnit, reqVO.getUnit())
.orderByDesc(ErpBomDO::getId));

View File

@@ -18,7 +18,7 @@ public interface ErpCompanyMapper extends BaseMapperX<ErpCompanyDO> {
default PageResult<ErpCompanyDO> selectPage(ErpCompanyPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpCompanyDO>()
.likeIfPresent(ErpCompanyDO::getName, reqVO.getName())
.eqIfPresent(ErpCompanyDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpCompanyDO::getNumber, reqVO.getNumber())
.eqIfPresent(ErpCompanyDO::getCurrency, reqVO.getCurrency())
.orderByDesc(ErpCompanyDO::getId));
}

View File

@@ -19,17 +19,17 @@ public interface ErpContractMapper extends BaseMapperX<ErpContractDO> {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpContractDO>()
.eqIfPresent(ErpContractDO::getOperationId, reqVO.getOperationId())
.eqIfPresent(ErpContractDO::getContractMainId, reqVO.getContractMainId())
.eqIfPresent(ErpContractDO::getContractPaperNumber, reqVO.getContractPaperNumber())
.likeIfPresent(ErpContractDO::getContractPaperNumber, reqVO.getContractPaperNumber())
.likeIfPresent(ErpContractDO::getContractName, reqVO.getContractName())
.eqIfPresent(ErpContractDO::getContractTypeNumber, reqVO.getContractTypeNumber())
.likeIfPresent(ErpContractDO::getContractTypeNumber, reqVO.getContractTypeNumber())
.likeIfPresent(ErpContractDO::getContractTypeName, reqVO.getContractTypeName())
.eqIfPresent(ErpContractDO::getContractCategory, reqVO.getContractCategory())
.eqIfPresent(ErpContractDO::getIsVirtualContract, reqVO.getIsVirtualContract())
.eqIfPresent(ErpContractDO::getSupplierNumber, reqVO.getSupplierNumber())
.likeIfPresent(ErpContractDO::getSupplierNumber, reqVO.getSupplierNumber())
.likeIfPresent(ErpContractDO::getSupplierName, reqVO.getSupplierName())
.eqIfPresent(ErpContractDO::getAgent, reqVO.getAgent())
.eqIfPresent(ErpContractDO::getContractImplementNumber, reqVO.getContractImplementNumber())
.eqIfPresent(ErpContractDO::getContractSignNumber, reqVO.getContractSignNumber())
.likeIfPresent(ErpContractDO::getContractImplementNumber, reqVO.getContractImplementNumber())
.likeIfPresent(ErpContractDO::getContractSignNumber, reqVO.getContractSignNumber())
.betweenIfPresent(ErpContractDO::getSignDate, reqVO.getSignDate())
.betweenIfPresent(ErpContractDO::getStartDate, reqVO.getStartDate())
.betweenIfPresent(ErpContractDO::getStopDate, reqVO.getStopDate())
@@ -52,7 +52,7 @@ public interface ErpContractMapper extends BaseMapperX<ErpContractDO> {
.eqIfPresent(ErpContractDO::getQualityassuranceAmount, reqVO.getQualityassuranceAmount())
.eqIfPresent(ErpContractDO::getIsInternal, reqVO.getIsInternal())
.eqIfPresent(ErpContractDO::getNature, reqVO.getNature())
.eqIfPresent(ErpContractDO::getRemark, reqVO.getRemark())
.likeIfPresent(ErpContractDO::getRemark, reqVO.getRemark())
.eqIfPresent(ErpContractDO::getSourceAccumulateSettlementAmount, reqVO.getSourceAccumulateSettlementAmount())
.eqIfPresent(ErpContractDO::getBasicAccumulateSettlementAmount, reqVO.getBasicAccumulateSettlementAmount())
.eqIfPresent(ErpContractDO::getSourceUseAmount, reqVO.getSourceUseAmount())

View File

@@ -20,7 +20,7 @@ public interface ErpCostcenterMapper extends BaseMapperX<ErpCostcenterDO> {
default PageResult<ErpCostcenterDO> selectPage(ErpCostcenterPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpCostcenterDO>()
.eqIfPresent(ErpCostcenterDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpCostcenterDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpCostcenterDO::getName, reqVO.getName())
.eqIfPresent(ErpCostcenterDO::getIsUse, reqVO.getIsUse())
.eqIfPresent(ErpCostcenterDO::getScopeNumber, reqVO.getScopeNumber())

View File

@@ -17,10 +17,10 @@ public interface ErpCustomerMapper extends BaseMapperX<ErpCustomerDO> {
default PageResult<ErpCustomerDO> selectPage(ErpCustomerPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpCustomerDO>()
.eqIfPresent(ErpCustomerDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpCustomerDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpCustomerDO::getName, reqVO.getName())
.eqIfPresent(ErpCustomerDO::getAccountGroup, reqVO.getAccountGroup())
.eqIfPresent(ErpCustomerDO::getDescription, reqVO.getDescription())
.likeIfPresent(ErpCustomerDO::getDescription, reqVO.getDescription())
.eqIfPresent(ErpCustomerDO::getCenterNumber, reqVO.getCenterNumber())
.betweenIfPresent(ErpCustomerDO::getCreateDate, reqVO.getCreateDate())
.betweenIfPresent(ErpCustomerDO::getRepairDate, reqVO.getRepairDate())

View File

@@ -17,7 +17,7 @@ public interface ErpInternalOrderMapper extends BaseMapperX<ErpInternalOrderDO>
default PageResult<ErpInternalOrderDO> selectPage(ErpInternalOrderPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpInternalOrderDO>()
.eqIfPresent(ErpInternalOrderDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpInternalOrderDO::getNumber, reqVO.getNumber())
.likeIfPresent(ErpInternalOrderDO::getName, reqVO.getName())
.eqIfPresent(ErpInternalOrderDO::getType, reqVO.getType())
.eqIfPresent(ErpInternalOrderDO::getIsOff, reqVO.getIsOff())

View File

@@ -27,12 +27,12 @@ public interface ErpMaterialMapper extends BaseMapperX<ErpMaterialDO> {
.betweenIfPresent(ErpMaterialDO::getMaterialGroupDate, reqVO.getMaterialGroupDate())
.betweenIfPresent(ErpMaterialDO::getExternalMaterialGroupDate, reqVO.getExternalMaterialGroupDate())
.eqIfPresent(ErpMaterialDO::getUnit, reqVO.getUnit())
.eqIfPresent(ErpMaterialDO::getUnitDescription, reqVO.getUnitDescription())
.eqIfPresent(ErpMaterialDO::getMaterialTypeDescription, reqVO.getMaterialTypeDescription())
.eqIfPresent(ErpMaterialDO::getMaterialGroupDescription, reqVO.getMaterialGroupDescription())
.likeIfPresent(ErpMaterialDO::getUnitDescription, reqVO.getUnitDescription())
.likeIfPresent(ErpMaterialDO::getMaterialTypeDescription, reqVO.getMaterialTypeDescription())
.likeIfPresent(ErpMaterialDO::getMaterialGroupDescription, reqVO.getMaterialGroupDescription())
.eqIfPresent(ErpMaterialDO::getExternalMaterialGroupDescription, reqVO.getExternalMaterialGroupDescription())
.likeIfPresent(ErpMaterialDO::getMaterialName, reqVO.getMaterialName())
.eqIfPresent(ErpMaterialDO::getMaterialLengthDescription, reqVO.getMaterialLengthDescription())
.likeIfPresent(ErpMaterialDO::getMaterialLengthDescription, reqVO.getMaterialLengthDescription())
.orderByDesc(ErpMaterialDO::getId));
}

View File

@@ -18,10 +18,10 @@ public interface ErpProcessDetailMapper extends BaseMapperX<ErpProcessDetailDO>
default PageResult<ErpProcessDetailDO> selectPage(ErpProcessDetailPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpProcessDetailDO>()
.eqIfPresent(ErpProcessDetailDO::getProcessId, reqVO.getProcessId())
.eqIfPresent(ErpProcessDetailDO::getProcessingNumber, reqVO.getProcessingNumber())
.likeIfPresent(ErpProcessDetailDO::getProcessingNumber, reqVO.getProcessingNumber())
.likeIfPresent(ErpProcessDetailDO::getProcessingName, reqVO.getProcessingName())
.eqIfPresent(ErpProcessDetailDO::getUom, reqVO.getUom())
.eqIfPresent(ErpProcessDetailDO::getWorkCenterNumber, reqVO.getWorkCenterNumber())
.likeIfPresent(ErpProcessDetailDO::getWorkCenterNumber, reqVO.getWorkCenterNumber())
.likeIfPresent(ErpProcessDetailDO::getWorkCenterName, reqVO.getWorkCenterName())
.orderByDesc(ErpProcessDetailDO::getId));
}

View File

@@ -17,12 +17,12 @@ public interface ErpProcessMapper extends BaseMapperX<ErpProcessDO> {
default PageResult<ErpProcessDO> selectPage(ErpProcessPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ErpProcessDO>()
.eqIfPresent(ErpProcessDO::getFactoryNumber, reqVO.getFactoryNumber())
.eqIfPresent(ErpProcessDO::getMaterialNumber, reqVO.getMaterialNumber())
.likeIfPresent(ErpProcessDO::getFactoryNumber, reqVO.getFactoryNumber())
.likeIfPresent(ErpProcessDO::getMaterialNumber, reqVO.getMaterialNumber())
.likeIfPresent(ErpProcessDO::getMaterialName, reqVO.getMaterialName())
.eqIfPresent(ErpProcessDO::getBlineGroup, reqVO.getBlineGroup())
.eqIfPresent(ErpProcessDO::getGroupCount, reqVO.getGroupCount())
.eqIfPresent(ErpProcessDO::getBlineDescription, reqVO.getBlineDescription())
.likeIfPresent(ErpProcessDO::getBlineDescription, reqVO.getBlineDescription())
.eqIfPresent(ErpProcessDO::getUom, reqVO.getUom())
.eqIfPresent(ErpProcessDO::getUseDescription, reqVO.getUseDescription())
.eqIfPresent(ErpProcessDO::getStatus, reqVO.getStatus())

Some files were not shown because too many files have changed in this diff Show More