Commit 5c77dbe2 by 范富荣

优化报表提交接口

1 parent 31f6ad96
...@@ -135,7 +135,7 @@ public class SupervisorTaskInfoController { ...@@ -135,7 +135,7 @@ public class SupervisorTaskInfoController {
@ServiceMethod(method = "dj.api.supervisor.mini.list.flightSupervisionMerchant", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "dj.api.supervisor.mini.list.flightSupervisionMerchant", needInSession = NeedInSessionType.YES)
@ApiOperation("查询督导管理门店列表") @ApiOperation("查询督导管理门店列表")
public RopResponse<List<ShopMerchantDirectorConfigDTO>> listFlightSupervisionMerchant(AbstractRopRequest request) { public RopResponse<List<ShopMerchantDirectorConfigDTO>> listFlightSupervisionMerchant(AbstractRopRequest request) {
RpcResponse<List<ShopMerchantDirectorConfigDTO>> result = CommonUtil.getFlightSupervisionMerchantList(null); RpcResponse<List<ShopMerchantDirectorConfigDTO>> result = CommonUtil.getFlightSupervisionMerchantList(CommonUtil.getLoginUserInfo().getUuid());
if (result.hasError()) { if (result.hasError()) {
return RopResponse.error(result.getError(), result.getMessage()); return RopResponse.error(result.getError(), result.getMessage());
} else { } else {
...@@ -149,7 +149,7 @@ public class SupervisorTaskInfoController { ...@@ -149,7 +149,7 @@ public class SupervisorTaskInfoController {
@ServiceMethod(method = "dj.api.supervisor.mini.list.flightSupervisionStaff", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "dj.api.supervisor.mini.list.flightSupervisionStaff", needInSession = NeedInSessionType.YES)
@ApiOperation("查询督导管理员工列表") @ApiOperation("查询督导管理员工列表")
public RopResponse<List<StaffBaseInfoDTO>> listFlightSupervisionStaff(AbstractRopRequest request) { public RopResponse<List<StaffBaseInfoDTO>> listFlightSupervisionStaff(AbstractRopRequest request) {
List<Integer> idList = CommonUtil.getFlightSupervisionMerchantIdList(null); List<Integer> idList = CommonUtil.getFlightSupervisionMerchantIdList(CommonUtil.getLoginUserInfo().getUuid());
StaffBaseInfoDTO param = new StaffBaseInfoDTO(); StaffBaseInfoDTO param = new StaffBaseInfoDTO();
param.setMerchantIdList(idList); param.setMerchantIdList(idList);
RpcResponse<List<StaffBaseInfoDTO>> response = staffBaseInfoRemote.listShopStaffBaseInfo(param); RpcResponse<List<StaffBaseInfoDTO>> response = staffBaseInfoRemote.listShopStaffBaseInfo(param);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!