|
|
@@ -1121,7 +1121,9 @@ public class BusinessContractServiceImpl implements BusinessContractService {
|
|
1121
|
1121
|
Integer pageSize, Integer userId, BusinessContract contract, String order, String contractType) {
|
|
1122
|
1122
|
BusinessContractExample example = new BusinessContractExample();
|
|
1123
|
1123
|
Criteria createCriteria = example.createCriteria();
|
|
1124
|
|
- createCriteria.andCreaterIdEqualTo(userId);
|
|
|
1124
|
+ if (null != userId) {
|
|
|
1125
|
+ createCriteria.andCreaterIdEqualTo(userId);
|
|
|
1126
|
+ }
|
|
1125
|
1127
|
if (contract != null) {
|
|
1126
|
1128
|
// 合同标题
|
|
1127
|
1129
|
if (StringUtils.isNotBlank(contract.getContractTitle())) {
|