diff --git a/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/controller/XhpcClearingHistoryOrderController.java b/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/controller/XhpcClearingHistoryOrderController.java index 7ce8fee8..fd39d121 100644 --- a/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/controller/XhpcClearingHistoryOrderController.java +++ b/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/controller/XhpcClearingHistoryOrderController.java @@ -104,7 +104,7 @@ public class XhpcClearingHistoryOrderController extends BaseController { }else { params.put("operatorId", operatorId); } - if(StringUtils.isEmpty(params.get("operatorId").toString())){ + if(params.get("operatorId") == null){ throw new CustomException("缺少运营商ID"); } return getDataTable(orderService.getOrderPage(params)); @@ -123,7 +123,7 @@ public class XhpcClearingHistoryOrderController extends BaseController { params.put("operatorId", operatorId); } - if(StringUtils.isEmpty(params.get("operatorId").toString())){ + if(params.get("operatorId") == null){ throw new CustomException("缺少运营商ID"); }