|
@@ -524,7 +524,16 @@ public class JiaoYangReportController extends BaseController {
|
|
|
requestMap.put("promoterIds", promoterIds);
|
|
|
}*/
|
|
|
|
|
|
-
|
|
|
+ String roleId = sysRoleService.getRoleBYUserId(userId);
|
|
|
+ if ("jy_out_operation".equals(roleId)) {
|
|
|
+ List<Long> userIds = new ArrayList<>();
|
|
|
+ userIds.add(userId);
|
|
|
+ List<Long> promoterIds = jiaoYangReportService.getPromoterIdsByUserIds(userIds);
|
|
|
+ if (Check.isNull(promoterIds)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ requestMap.put("promoterIds", promoterIds);
|
|
|
+ }
|
|
|
if (!Check.isNull(orderStartDate)) {
|
|
|
Long start = DateUtils.strDateToInt(orderStartDate);
|
|
|
requestMap.put("start", start);
|