diff --git a/hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java b/hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java index 2a2febfd..6c851141 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java +++ b/hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java @@ -880,7 +880,8 @@ public class HighOrderController { salesmanIds.setLength(0); salesmanIds.append(object.getInteger("gasSalesmanId")); - } else if (!(userInfoModel.getSecRole().getRoleType() == 5 && userInfoModel.getSecUser().getAdminFlag() ==1)){ + // 判断当前账号有无业务员 并且不是公司主账号 + } else if (!(userInfoModel.getSecRole().getRoleType() == 5 && userInfoModel.getSecUser().getAdminFlag() ==1) && salesmanIds.length() == 0){ salesmanIds.append(0); }