|
|
@ -983,12 +983,9 @@ public class CrmCustomerTempService extends MybatisBaseService<CrmCustomerTempMa |
|
|
|
String orgSid = ""; |
|
|
|
if(StringUtils.isNotBlank(query.getOrgPath())){ |
|
|
|
orgSid = sysStaffOrgFeign.getOrgSidByPath(query.getOrgPath()).getData(); |
|
|
|
qw.eq("createOrgSid",orgSid); |
|
|
|
}else{ |
|
|
|
orgSid = sysStaffOrgFeign.getPathSidByUserSid(query.getUserSid()).getData(); |
|
|
|
qw.eq("createOrgSid",orgSid); |
|
|
|
qw.eq("ct.createOrgSid",orgSid); |
|
|
|
} |
|
|
|
qw.eq("staffSid",staffSid); |
|
|
|
qw.eq("ct.staffSid",staffSid); |
|
|
|
List<CrmCustomerTempListVo> list = baseMapper.selectCustomerList(qw); |
|
|
|
list.removeAll(Collections.singleton(null)); |
|
|
|
return rb.success().setData(list); |
|
|
|