Commit 6dc1624c by guojx

目标跟进公用参数调整

parent 0bdfd187
......@@ -190,16 +190,14 @@ public class TargetController {
private JSONObject getCommon(QueryDataStatisticsCommonQO qo, boolean app) {
JSONObject jsonObject = new JSONObject();
if (app) {
jsonObject.put("entId", qo.getEnterpriseId());
jsonObject.put("monthDate", qo.getTime());
jsonObject.put("entId", qo.getEnterpriseId());
jsonObject.put("enterpriseId", qo.getEnterpriseId());
if (qo.getTimeType() == 1) {
jsonObject.put("year", qo.getTime());
jsonObject.put("yearDate", qo.getTime());
} else {
jsonObject.put("enterpriseId", qo.getEnterpriseId());
if (qo.getTimeType() == 1) {
jsonObject.put("year", qo.getTime());
} else {
jsonObject.put("month", qo.getTime());
}
jsonObject.put("month", qo.getTime());
jsonObject.put("monthDate", qo.getTime());
}
if (StringUtils.isBlank(qo.getStoreId())) {
List<String> storeIdList = storeAuthUtils.queryClerkStoreIds(qo.getClerkId(), qo.getWxEnterpriseId());
......
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