|
|
|
@ -162,7 +162,17 @@ public class ContractFileServiceImpl extends ServiceImpl<ContractFileMapper, Con
|
|
|
|
|
contract_item0Num++;
|
|
|
|
|
contractFileQueryWrapper.lambda().like(ContractFileEntity::getContractType,contractFilePagination.getContractType());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(StringUtil.isNotEmpty(contractFilePagination.getKeyword())){
|
|
|
|
|
contract_item0Num++;
|
|
|
|
|
contractFileQueryWrapper.lambda().and(wq -> {
|
|
|
|
|
// 拼接sql
|
|
|
|
|
wq.like(ContractFileEntity::getContractCode,contractFilePagination.getKeyword())
|
|
|
|
|
.or()
|
|
|
|
|
.like(ContractFileEntity::getContractName,contractFilePagination.getKeyword())
|
|
|
|
|
.or()
|
|
|
|
|
.like(ContractFileEntity::getName,contractFilePagination.getKeyword());
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (AllIdList.size() > 0) {
|
|
|
|
|
contractFileQueryWrapper.lambda().in(ContractFileEntity::getId, AllIdList);
|
|
|
|
|
}
|
|
|
|
|