Commit 6633d1aa by guojx

Merge branch 'feature-2023-01-目标配置' into 'developer'

Feature 2023 01 目标配置

See merge request !932
parents cca84be2 f03dc3d9
...@@ -232,10 +232,12 @@ public class TargetController { ...@@ -232,10 +232,12 @@ public class TargetController {
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("entId", qo.getEnterpriseId()); jsonObject.put("entId", qo.getEnterpriseId());
jsonObject.put("enterpriseId", qo.getEnterpriseId()); jsonObject.put("enterpriseId", qo.getEnterpriseId());
jsonObject.put("year", qo.getTime());
jsonObject.put("yearDate", qo.getTime()); jsonObject.put("yearDate", qo.getTime());
if (qo.getTimeType() == 1) {
jsonObject.put("month", qo.getTime()); jsonObject.put("year", qo.getTime());
} else {
jsonObject.put("month", qo.getTime());
}
jsonObject.put("monthDate", qo.getTime()); jsonObject.put("monthDate", qo.getTime());
jsonObject.put("storeId", getStoreIdList(qo, true).stream().collect(Collectors.joining(","))); jsonObject.put("storeId", getStoreIdList(qo, true).stream().collect(Collectors.joining(",")));
return jsonObject; return jsonObject;
......
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