|
@@ -128,8 +128,11 @@ public class MtCompanyAttestationServiceImpl extends ServiceImpl<MtCompanyAttest
|
|
|
IPage<MtCompanyAttestation> mtCompanyAttestationPage = new Page<>(companyAttestationRequest.getPageNum(), companyAttestationRequest.getPageSize());
|
|
|
mtCompanyAttestationPage = this.page(mtCompanyAttestationPage, new QueryWrapper<MtCompanyAttestation>()
|
|
|
.eq(currentUserId != null, "customer_manager_id", currentUserId)
|
|
|
- .like(StringUtils.isNotBlank(companyAttestationRequest.getAttestationName()), "attestation_name",
|
|
|
- companyAttestationRequest.getAttestationName())
|
|
|
+ .or()
|
|
|
+ .like(StringUtils.isNotBlank(companyAttestationRequest.getQueryCondition()), "contacts_name",
|
|
|
+ companyAttestationRequest.getQueryCondition())
|
|
|
+ .like(StringUtils.isNotBlank(companyAttestationRequest.getQueryCondition()), "contacts_tel",
|
|
|
+ companyAttestationRequest.getQueryCondition())
|
|
|
);
|
|
|
return RestResponse.ok(mtCompanyAttestationPage, ApiConstants.RESULT_SUCCESS, "获取公司申请信息成功");
|
|
|
}
|