Sfoglia il codice sorgente

feature: 测试问题修改

mazq 1 anno fa
parent
commit
8126eb9f9e

+ 2 - 1
dcuc-auth-service/src/main/java/com/dragoninfo/dcuc/auth/auth/facade/RoleInfoFacade.java

@@ -12,6 +12,7 @@ import com.dragoninfo.dcuc.auth.auth.vo.RoleInfoVO;
 import com.dragoninfo.dcuc.auth.auth.vo.RsGridCheckedVO;
 import com.dragoninfo.dcuc.auth.auth.vo.zerotrust.rolemanage.RoleOperateApplyVo;
 import com.dragoninfo.dcuc.auth.auth.vo.zerotrust.rolemanage.RoleSaveVo;
+import com.dragoninfo.dcuc.auth.sub.enumresource.OperateTypeEnum;
 import com.dragonsoft.duceap.base.entity.http.ResponseDTO;
 import com.dragonsoft.duceap.base.entity.http.ResponseStatus;
 import com.dragonsoft.duceap.base.entity.search.SearchDTO;
@@ -185,7 +186,7 @@ public class RoleInfoFacade implements IRoleInfoFacade {
     @Override
     public ResponseDTO<Object> roleOperateApply(RoleOperateApplyVo roleOperateApplyVo) {
         String operate = roleOperateApplyVo.getOperate();
-        if (!RoleManageOpeTypeEnum.DELETE.getValue().equals(operate)) {
+        if (!OperateTypeEnum.DELETE.getValue().equals(operate)) {
             ResponseDTO<Object> result = roleRepeatCheck(roleOperateApplyVo.getRoleSaveVo());
             if (null != result) {
                 return result;

+ 1 - 1
dcuc-auth-service/src/main/resources/application-auth.yml

@@ -42,7 +42,7 @@ dcuc:
       data-auth-bus-code:
     audit-log:
       #是否开启kafka功能
-      kafka: false
+      kafka: true
       authentication-topic: 10000028
       authentication-groupId: auditlog
       authorize-topic: 10000029

+ 2 - 0
dcuc-auth-service/src/main/resources/config/mysql/V4_3_0033__UpdateApplyOrdNo.sql

@@ -0,0 +1,2 @@
+alter table t_auth_apply_flow
+    modify APPLICANT_ORD_NO varchar(128) null comment '申请单号';