@@ -364,8 +365,20 @@ public class IndirectCustomerServiceImpl extends AbstractService<IndirectCustome
...
@@ -364,8 +365,20 @@ public class IndirectCustomerServiceImpl extends AbstractService<IndirectCustome
//主联系电话
//主联系电话
.apply(StringUtils.isNotEmpty(pageReqVO.getDefaultContactPhone()),"default_contact_phone like {0}",String.format("%%%s%%",pageReqVO.getDefaultContactPhone()))
.apply(StringUtils.isNotEmpty(pageReqVO.getDefaultContactPhone()),"default_contact_phone like {0}",String.format("%%%s%%",pageReqVO.getDefaultContactPhone()))
.orderByDesc(IndirectCustomerDO::getId);
.orderByDesc(IndirectCustomerDO::getId);
//添加获客方式
if(null!=pageReqVO.getMarketType()){
if(pageReqVO.getMarketType()==1){
customerDOLambdaQueryWrapperX.apply(" customer_service is not null ");
}
if(pageReqVO.getMarketType()==2){
customerDOLambdaQueryWrapperX.apply(" customer_service is null ");