Bladeren bron

销售助理 权限

zhaoxian 1 jaar geleden
bovenliggende
commit
cff856e90a

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/finance/payment/controller/FinancePaymentApplicationController.java

@@ -54,7 +54,7 @@ public class FinancePaymentApplicationController {
         String roleCode = sysRoleService.getRoleCodeByUserId(application.getUserId());
 
         if ("saleAssistant".equals(roleCode)) {
-            if ("4f6454dbad954a8094013bf4c6d74796".equals(application.getUserId())) {
+            if ("4f6454dbad954a8094013bf4c6d74796".equals(application.getUserId()) || "f33798b117a3486a9fae7ba0dab2e0be".equals(application.getUserId())) {
                 /*销售助理 曹媛组 4f6454dbad954a8094013bf4c6d74796:侯加鑫、王维新、高洪哲             */
                 List<String> userIds = new ArrayList<>();
                 userIds.add("4f6454dbad954a8094013bf4c6d74796");

+ 2 - 3
jeecg-boot-module-system/src/main/java/cn/com/ctop/finance/payment/controller/FinancePaymentRechargeApplicationController.java

@@ -56,7 +56,7 @@ public class FinancePaymentRechargeApplicationController {
             //查询用户角色
             String roleCode = sysRoleService.getRoleCodeByUserId(recharge.getUserId());
             if ("saleAssistant".equals(roleCode)) {
-                if ("4f6454dbad954a8094013bf4c6d74796".equals(recharge.getUserId())) {
+                if ("4f6454dbad954a8094013bf4c6d74796".equals(recharge.getUserId()) || "f33798b117a3486a9fae7ba0dab2e0be".equals(recharge.getUserId())) {
                     /*销售助理 曹媛组 4f6454dbad954a8094013bf4c6d74796:侯加鑫、王维新、高洪哲             */
                     List<String> userIds = new ArrayList<>();
                     userIds.add("4f6454dbad954a8094013bf4c6d74796");
@@ -243,9 +243,8 @@ public class FinancePaymentRechargeApplicationController {
             //查询用户角色
             String roleCode = sysRoleService.getRoleCodeByUserId(recharge.getUserId());
             if ("saleAssistant".equals(roleCode)) {
-                if ("4f6454dbad954a8094013bf4c6d74796".equals(recharge.getUserId())) {
+                if ("4f6454dbad954a8094013bf4c6d74796".equals(recharge.getUserId()) || "f33798b117a3486a9fae7ba0dab2e0be".equals(recharge.getUserId())) {
                     /*销售助理 曹媛 4f6454dbad954a8094013bf4c6d74796:侯加鑫、王维新、高洪哲             */
-
                     List<String> userIds = new ArrayList<>();
                     userIds.add("4f6454dbad954a8094013bf4c6d74796");
                     userIds.add("42e137a90ca94cbfa89b21b306cb2e78");//侯加鑫