|
@@ -456,7 +456,7 @@ public class JiaoYangDingPanController extends BaseController {
|
|
|
// 分达人数据
|
|
|
@GetMapping("/getPromoterList")
|
|
|
@ApiOperation(value = "切片盯盘-成员数据")
|
|
|
- public JSONObject getPromoterList(Long userId, String startDate, String endDate) {
|
|
|
+ public JSONObject getPromoterList(Long userId, String startDate, String endDate, Integer promoterType) {
|
|
|
Map<String, Object> requestMap = new HashMap<>();
|
|
|
JSONObject returnJson = new JSONObject();
|
|
|
try {
|
|
@@ -492,6 +492,9 @@ public class JiaoYangDingPanController extends BaseController {
|
|
|
if (!Check.isNull(promoterIds)) {
|
|
|
requestMap.put("promoterIds", promoterIds);
|
|
|
}
|
|
|
+ if (promoterType != 0) {
|
|
|
+ requestMap.put("promoterType", promoterType);
|
|
|
+ }
|
|
|
Long start = DateUtils.strDateToInt(startDate);
|
|
|
Long end = DateUtils.strDateToInt(endDate);
|
|
|
requestMap.put("start", start);
|