소스 검색

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

hxl13994548489 1 년 전
부모
커밋
0883944302
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/ydtech/modules/protocol/service/impl/PtlAgreementDeptServiceImpl.java

+ 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("请联系团队长授权");
             }
         }