|
|
|
@ -141,12 +141,14 @@ public class BsDistributionUserRelController { |
|
|
|
|
@ResponseBody |
|
|
|
|
@ApiOperation(value = "B端查询代理商订单") |
|
|
|
|
public ResponseData orderListByAgentId(@RequestParam(name = "agentId", required = false) Long agentId, |
|
|
|
|
@RequestParam(name = "code", required = false) Long code, |
|
|
|
|
@RequestParam(name = "pageNum", required = true) Integer pageNum, |
|
|
|
|
@RequestParam(name = "pageSize", required = true) Integer pageSize) { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
Map<String , Object> map = new HashMap<>(); |
|
|
|
|
map.put("agentId" , agentId); |
|
|
|
|
map.put("code" , code); |
|
|
|
|
|
|
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
|
|
return ResponseMsgUtil.success(new PageInfo<>(highOrderService.orderListByAgentId(map))); |
|
|
|
|