订单列表类型查询兼容

door
LI-CCONG\李聪聪 7 months ago
parent 50441c67cf
commit 0596e0fc71

@ -68,7 +68,8 @@ public class RecycleOrderController {
@PostMapping("/page")
public CommonResult<PageDTO<? extends RecycleOrderRespVO>> queryOrderByPage(@RequestBody RecycleOrderQuery recycleOrderQuery) {
if (ObjectUtil.isEmpty(recycleOrderQuery.getOrderType())) {
throw new BizIllegalException("请确定要查询的订单类型");
// throw new BizIllegalException("请确定要查询的订单类型");
recycleOrderQuery.setOrderType(OrderTypeEnum.SH_ORDER);
}
// 1.解析用户上下文
UserDTO userDTO = UserContext.getUser();

Loading…
Cancel
Save