Bläddra i källkod

提交协议组授权处理,以及权限逻辑处理

hxl13994548489 1 år sedan
förälder
incheckning
0883944302

+ 2 - 2
src/main/java/com/ydtech/modules/protocol/service/impl/PtlAgreementDeptServiceImpl.java

@@ -65,7 +65,7 @@ public class PtlAgreementDeptServiceImpl extends ServiceImpl<PtlAgreementDeptMap
             if(StringUtils.isNotBlank(deptId)){
                 List<String> ids =ptlAgreementGroupLinkDeptMapper.getAgreementByDeptId(agreementId, deptId);
                 if (ids.isEmpty()) {
-                    throw new SystemException("请联系团队长授权");
+                    throw new SystemException("协议或调度协议未授权,请联系团队长授权");
                 }
             }
         }else{
@@ -73,7 +73,7 @@ public class PtlAgreementDeptServiceImpl extends ServiceImpl<PtlAgreementDeptMap
             List<PtlAgreementDept> list = list(byAgreementId(agreementId).eq(PtlAgreementDept::getDeptId, deptId));
             //==================================================================== end==================
             if (list.isEmpty()) {
-                throw new SystemException("协议或调度协议未授权,请联系团队长授权");
+                throw new SystemException("请联系团队长授权");
             }
         }