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