临时bug问题修复

door
LI-CCONG\李聪聪 7 months ago
parent 97f20f244f
commit 361eb193cf

@ -67,10 +67,11 @@ public class RecycleOrderController {
@ApiOperation("分页查询回收订单") @ApiOperation("分页查询回收订单")
@PostMapping("/page") @PostMapping("/page")
public CommonResult<PageDTO<? extends RecycleOrderRespVO>> queryOrderByPage(@RequestBody RecycleOrderQuery recycleOrderQuery) { public CommonResult<PageDTO<? extends RecycleOrderRespVO>> queryOrderByPage(@RequestBody RecycleOrderQuery recycleOrderQuery) {
if (ObjectUtil.isEmpty(recycleOrderQuery.getOrderType())) { // if (ObjectUtil.isEmpty(recycleOrderQuery.getOrderType())) {
// throw new BizIllegalException("请确定要查询的订单类型"); //// throw new BizIllegalException("请确定要查询的订单类型");
recycleOrderQuery.setOrderType(OrderTypeEnum.SH_ORDER); // recycleOrderQuery.setOrderType(OrderTypeEnum.SH_ORDER);
} // }
recycleOrderQuery.setOrderType(OrderTypeEnum.SH_ORDER); // 先定死 todo
// 1.解析用户上下文 // 1.解析用户上下文
UserDTO userDTO = UserContext.getUser(); UserDTO userDTO = UserContext.getUser();
recycleOrderQuery.setUserType(userDTO.getUserType()).setUserId(userDTO.getId()).setStationId(userDTO.getStationId()); recycleOrderQuery.setUserType(userDTO.getUserType()).setUserId(userDTO.getId()).setStationId(userDTO.getStationId());

Loading…
Cancel
Save