Commit e33317c2 by 王祖波

区经传总

parent 8f7af4e9
......@@ -104,8 +104,10 @@ public class PotentialDataController {
Pair<Integer, List<String>> pair = getStoreIds(potentialOverviewQO);
Integer clerkType = pair.getKey();
List<String> storeIds = pair.getValue();
if (StringUtils.isBlank(clerkId) || Objects.equals(clerkType, 2)) {
if (StringUtils.isBlank(clerkId)) {
potentialOverviewQO.setPotGroup(1);
} else if (clerkType != null && clerkType >= 2) {
potentialOverviewQO.setPotGroup(3);
} else {
potentialOverviewQO.setPotGroup(2);
}
......
......@@ -23,7 +23,7 @@ public class PotentialOverviewQO extends PotentialStatisticsBaseQO {
private String bizDate;
/**
* 1 门店维度 2 导购维度
* 1 门店维度 2 导购维度 3 总
*/
private Integer potGroup;
......
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