From 74f0810951b193e2ad60790bca49ea4c938275ad Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Mon, 11 Apr 2022 15:50:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=A2=E6=B2=B9=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bweb/controller/HighOrderController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }