合同列表名称搜索修复

jg-waiwang-pro
mhsnet 5 months ago
parent bb3694072a
commit 8388839987

@ -332,7 +332,8 @@ public class ContractLServiceImpl extends ServiceImpl<ContractLMapper, ContractL
String value = contractLPagination.getContractNumber() instanceof List ?
JsonUtil.getObjectToString(contractLPagination.getContractNumber()) :
String.valueOf(contractLPagination.getContractNumber());
contractLQueryWrapper.lambda().like(ContractLEntity::getContractNumber,value);
//contractLQueryWrapper.lambda().like(ContractLEntity::getContractNumber,value);
contractLQueryWrapper.like("a.contract_name",value);
}
@ -342,7 +343,8 @@ public class ContractLServiceImpl extends ServiceImpl<ContractLMapper, ContractL
String value = contractLPagination.getContractName() instanceof List ?
JsonUtil.getObjectToString(contractLPagination.getContractName()) :
String.valueOf(contractLPagination.getContractName());
contractLQueryWrapper.lambda().like(ContractLEntity::getContractName,value);
//contractLQueryWrapper.lambda().like(ContractLEntity::getContractName,value);
contractLQueryWrapper.like("a.contract_name",value);
}

Loading…
Cancel
Save