Commit a32734f4 by hongzhong

等保调整,增加部分接口鉴权,防止水平越权

parent 3f40babe
......@@ -769,17 +769,18 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
Long practitionerId = requestVO.getPractitionerId();
String systemType = requestVO.getSystemType();
try {
// 获取团队成员或被辅导人的practitionerId
List<Long> practitionerIdList = new ArrayList<>();
if(null != requestVO.getSId()){
practitionerIdList = practitionerService.getPractitionerIdBySidList(requestVO.getSId(),systemType,1);
}else{
//等保调整
List<AclCustomer> findByObjSortable = aclPractitionerDALService.getAclCustomers(practitionerId);
if(null == findByObjSortable ){
resp.setCommonResult(new CommonResult(false,ZHBErrorConfig.getErrorInfo("630028")));
return resp;
}
// 获取团队成员或被辅导人的practitionerId
List<Long> practitionerIdList = new ArrayList<>();
if(null != requestVO.getSId()){
practitionerIdList = practitionerService.getPractitionerIdBySidList(requestVO.getSId(),systemType,1);
}else{
practitionerIdList = practitionerService.getPractitionerIdList(practitionerId,1);
}
List<TeamMemberDetail> dataList = aclPractitionerDALService.queryTeamMemberDetailList(practitionerIdList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment