Commit dae6ea5a by 王祖波

区经类型判断

parent 022d7753
...@@ -66,7 +66,7 @@ public class PotentialDataController { ...@@ -66,7 +66,7 @@ public class PotentialDataController {
return RestResponse.failure("-1", "导购不存在"); return RestResponse.failure("-1", "导购不存在");
} }
Integer clerkType = clerkDTO.getClerkType(); Integer clerkType = clerkDTO.getClerkType();
if (clerkType > 2) { if (clerkType >= 2) {
storeIds = clerkStoreAdaptor.queryClerkStoreIds(clerkId, contactOrderPageQO.getEnterpriseId(), storeIds = clerkStoreAdaptor.queryClerkStoreIds(clerkId, contactOrderPageQO.getEnterpriseId(),
StoreStatusFilterUtils.getStoreStatusList(contactOrderPageQO.getStoreStatusFilter())); StoreStatusFilterUtils.getStoreStatusList(contactOrderPageQO.getStoreStatusFilter()));
clerkId = ""; clerkId = "";
...@@ -350,7 +350,7 @@ public class PotentialDataController { ...@@ -350,7 +350,7 @@ public class PotentialDataController {
return Lists.newArrayList("-1"); return Lists.newArrayList("-1");
} }
Integer clerkType = clerkDTO.getClerkType(); Integer clerkType = clerkDTO.getClerkType();
if (clerkType > 2) { if (clerkType >= 2) {
potentialStatisticsBaseQO.setClerkId(""); potentialStatisticsBaseQO.setClerkId("");
if (StringUtils.isBlank(storeId)) { if (StringUtils.isBlank(storeId)) {
storeIds = clerkStoreAdaptor.queryClerkStoreIds(clerkId, wxEnterpriseId, storeIds = clerkStoreAdaptor.queryClerkStoreIds(clerkId, wxEnterpriseId,
......
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