修改运营商ID的判断

This commit is contained in:
panshuling321 2022-04-22 13:55:20 +08:00
parent b1aeb59042
commit 1e323f7498

View File

@ -104,7 +104,7 @@ public class XhpcClearingHistoryOrderController extends BaseController {
}else { }else {
params.put("operatorId", operatorId); params.put("operatorId", operatorId);
} }
if(StringUtils.isEmpty(params.get("operatorId").toString())){ if(params.get("operatorId") == null){
throw new CustomException("缺少运营商ID"); throw new CustomException("缺少运营商ID");
} }
return getDataTable(orderService.getOrderPage(params)); return getDataTable(orderService.getOrderPage(params));
@ -123,7 +123,7 @@ public class XhpcClearingHistoryOrderController extends BaseController {
params.put("operatorId", operatorId); params.put("operatorId", operatorId);
} }
if(StringUtils.isEmpty(params.get("operatorId").toString())){ if(params.get("operatorId") == null){
throw new CustomException("缺少运营商ID"); throw new CustomException("缺少运营商ID");
} }