Commit 8db1a1ef by 王祖波

区经类型

parent 2a0b2c7f
...@@ -230,6 +230,7 @@ public class PotentialDataController { ...@@ -230,6 +230,7 @@ public class PotentialDataController {
if (storeDTO != null) { if (storeDTO != null) {
storeId = storeDTO.getStoreId(); storeId = storeDTO.getStoreId();
} }
String clerkTypeStr = "0";
CustomerDTO params = new CustomerDTO(); CustomerDTO params = new CustomerDTO();
String clerkId = null; String clerkId = null;
if (clerkDTO != null) { if (clerkDTO != null) {
...@@ -237,6 +238,8 @@ public class PotentialDataController { ...@@ -237,6 +238,8 @@ public class PotentialDataController {
Integer clerkType = clerkDTO.getClerkType(); Integer clerkType = clerkDTO.getClerkType();
if (clerkType == 0 || clerkType == 1) { if (clerkType == 0 || clerkType == 1) {
storeId = clerkDTO.getStoreId(); storeId = clerkDTO.getStoreId();
}else {
clerkTypeStr = "2";
} }
} }
ContactParamDTO contact = new ContactParamDTO(); ContactParamDTO contact = new ContactParamDTO();
...@@ -244,8 +247,7 @@ public class PotentialDataController { ...@@ -244,8 +247,7 @@ public class PotentialDataController {
contact.setContactType(0); contact.setContactType(0);
params.setStoreId(storeId); params.setStoreId(storeId);
params.setClerkId(clerkId); params.setClerkId(clerkId);
// 只查该导购的 params.setClerkType(clerkTypeStr);
params.setClerkType("0");
params.setEnterpriseId(enterpriseId); params.setEnterpriseId(enterpriseId);
params.setWxEnterpriseId(wxEnterpriseId); params.setWxEnterpriseId(wxEnterpriseId);
params.setContactParamDTO(contact); params.setContactParamDTO(contact);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment