Преглед изворни кода

update
1.微信客服开关

wks пре 1 година
родитељ
комит
f2f2a7925b

+ 3 - 0
commons/src/main/java/com/jzg/commons/entity/system/po/SysSystemBusPerms.java

@@ -51,6 +51,8 @@ public class SysSystemBusPerms implements Serializable {
     @Schema(description = "业务员提现申请付款审核机构")
     private Integer salesmanWithdrawPaymentAuditDept;
 
+    @Schema(description = "微信客服")
+    private Integer wechatCustomerService;
 
     public SysSystemBusPerms(SysSystemBusPermsVo sysSystemBusPermsVo) {
         if(sysSystemBusPermsVo.getId() != null && !sysSystemBusPermsVo.getId().isEmpty())
@@ -67,5 +69,6 @@ public class SysSystemBusPerms implements Serializable {
         this.salesmanAuditDept = sysSystemBusPermsVo.getSalesmanAuditDept();
         this.salesmanWithdrawAccountAuditDept = sysSystemBusPermsVo.getSalesmanWithdrawAccountAuditDept();
         this.salesmanWithdrawPaymentAuditDept = sysSystemBusPermsVo.getSalesmanWithdrawPaymentAuditDept();
+        this.wechatCustomerService = sysSystemBusPermsVo.getWechatCustomerService();
     }
 }

+ 4 - 0
commons/src/main/java/com/jzg/commons/entity/system/vo/SysSystemBusPermsVo.java

@@ -68,6 +68,9 @@ public class SysSystemBusPermsVo implements Serializable {
     @Schema(description = "业务员提现申请付款审核指定机构")
     private List<String> salesmanWithdrawPaymentAuditDeptList = new ArrayList<>();
 
+    @Schema(description = "微信客服")
+    private Integer wechatCustomerService;
+
     public SysSystemBusPermsVo(SysSystemBusPerms sysSystemBusPerms, List<SysSystemBusPermsLink> links) {
         this.id = sysSystemBusPerms.getId();
 //        this.companyId = sysSystemBusPerms.getCompanyId();
@@ -78,6 +81,7 @@ public class SysSystemBusPermsVo implements Serializable {
         this.salesmanAuditDept = sysSystemBusPerms.getSalesmanAuditDept();
         this.salesmanWithdrawAccountAuditDept = sysSystemBusPerms.getSalesmanWithdrawAccountAuditDept();
         this.salesmanWithdrawPaymentAuditDept = sysSystemBusPerms.getSalesmanWithdrawPaymentAuditDept();
+        this.wechatCustomerService = sysSystemBusPerms.getWechatCustomerService();
 
         this.quoteCompanyList.addAll(links.stream()
                 .filter(link -> link.getBusCode().equals(SystemBusPermsConstants.QUOTE_COMPANY_BUS.getCode()))