优化客户管理
This commit is contained in:
@@ -63,5 +63,5 @@ public class CrmCustomerTempQuery implements Query {
|
||||
|
||||
@ApiModelProperty("销售专员")
|
||||
private String staffName;
|
||||
|
||||
private String useOrgSid;
|
||||
}
|
||||
|
||||
@@ -96,6 +96,10 @@ public class CrmCustomerTempService extends MybatisBaseService<CrmCustomerTempMa
|
||||
qw.notIn("cct.sid", query.getCustomerSidList());
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(query.getUseOrgSid())) {
|
||||
qw.eq("cct.useOrgSid", query.getUseOrgSid());
|
||||
}
|
||||
|
||||
String remindStartDay = query.getRemindStartDay();
|
||||
String remindEndDay = query.getRemindEndDay();
|
||||
qw.apply(StringUtils.isNotBlank(remindStartDay), "date_format (cct.remind_day,'%Y-%m-%d') >= date_format('" + remindStartDay + "','%Y-%m-%d')").
|
||||
|
||||
Reference in New Issue
Block a user