Commit 94dbf4ce by guojx

画布待完成会员列表

parent fa2a700f
...@@ -10,6 +10,7 @@ import com.gic.haoban.manage.web.utils.EsMemberInfoUtils; ...@@ -10,6 +10,7 @@ import com.gic.haoban.manage.web.utils.EsMemberInfoUtils;
import com.gic.haoban.manage.web.vo.canvas.*; import com.gic.haoban.manage.web.vo.canvas.*;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -148,6 +149,11 @@ public class CanvasDataController { ...@@ -148,6 +149,11 @@ public class CanvasDataController {
setPageParam(jsonObject, qo.getPageNum(), qo.getPageSize()); setPageParam(jsonObject, qo.getPageNum(), qo.getPageSize());
jsonObject.put("subType", "all"); jsonObject.put("subType", "all");
if (StringUtils.isNotBlank(qo.getClerkId()) && staffApiService.isManager(qo.getClerkId())) {
//店长不需要传参
jsonObject.remove("clerkId");
}
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");
Page<CanvasStoreTaskVO> page = DataApiUtils.getPageData(res, CanvasStoreTaskVO.class); Page<CanvasStoreTaskVO> page = DataApiUtils.getPageData(res, CanvasStoreTaskVO.class);
return RestResponse.successResult(page); return RestResponse.successResult(page);
......
...@@ -37,6 +37,11 @@ public class CanvasStoreTaskQO extends PageQo implements Serializable { ...@@ -37,6 +37,11 @@ public class CanvasStoreTaskQO extends PageQo implements Serializable {
private String canvasQuery; private String canvasQuery;
/** /**
* 活动ID
*/
private String canvasId;
/**
* 门店ID * 门店ID
*/ */
private String storeId; private String storeId;
......
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