Commit 9d1e8ce5 by guojx

区经的话务/群发 门店和活动数据调整

parent 94dbf4ce
...@@ -114,10 +114,12 @@ public class CanvasDataController { ...@@ -114,10 +114,12 @@ public class CanvasDataController {
JSONObject jsonObject = (JSONObject) JSONObject.toJSON(qo); JSONObject jsonObject = (JSONObject) JSONObject.toJSON(qo);
setPageParam(jsonObject, qo.getPageNum(), qo.getPageSize()); setPageParam(jsonObject, qo.getPageNum(), qo.getPageSize());
List<String> authStoreIdList = staffApiService if (StringUtils.isBlank(qo.getStoreId())) {
.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(qo.getClerkId(), qo.getWxEnterpriseId(), null, null); List<String> authStoreIdList = staffApiService
if (CollectionUtils.isNotEmpty(authStoreIdList)) { .getHaobanStoreIdsRolesByClerkIdAndStoreStatus(qo.getClerkId(), qo.getWxEnterpriseId(), null, null);
jsonObject.put("storeId", authStoreIdList.stream().collect(Collectors.joining(","))); if (CollectionUtils.isNotEmpty(authStoreIdList)) {
jsonObject.put("storeId", authStoreIdList.stream().collect(Collectors.joining(",")));
}
} }
Map<String, Object> res = DataApiUtils.http(jsonObject.toJSONString(), "data_mkt_canvas_haoban_mkt_task"); Map<String, Object> res = DataApiUtils.http(jsonObject.toJSONString(), "data_mkt_canvas_haoban_mkt_task");
......
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