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