Commit 2577504d by jianan

只有团队长看见2

parent 138d9e4b
...@@ -2411,9 +2411,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -2411,9 +2411,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
statisticInfo.setFyc(CommonUtil.doubleFormat(fycSum,2)); statisticInfo.setFyc(CommonUtil.doubleFormat(fycSum,2));
statisticInfo.setFyp(CommonUtil.doubleFormat(fypSum,2)); statisticInfo.setFyp(CommonUtil.doubleFormat(fypSum,2));
// 判断当前经纪人是否为团队长 // 查看经纪人所在的体系
int count = aclPractitionerDALService.isTeamLeader(practitionerId);
if (count > 0) {
AclPractitionerSubordinateSystem subordinateSystem = aclPractitionerSubordinateSystemDALService.findByPractitionerId(practitionerId); AclPractitionerSubordinateSystem subordinateSystem = aclPractitionerSubordinateSystemDALService.findByPractitionerId(practitionerId);
if (subordinateSystem != null) { if (subordinateSystem != null) {
Long subordinateSystemId = subordinateSystem.getId(); Long subordinateSystemId = subordinateSystem.getId();
...@@ -2424,7 +2422,6 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -2424,7 +2422,6 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
responseVO.setContactNo(subordinateSystem.getContactNo()); responseVO.setContactNo(subordinateSystem.getContactNo());
responseVO.setRemark(subordinateSystem.getRemark()); responseVO.setRemark(subordinateSystem.getRemark());
} }
}
responseVO.setStatisticInfo(statisticInfo); responseVO.setStatisticInfo(statisticInfo);
responseVO.setMemberInfoList(memberInfoList); responseVO.setMemberInfoList(memberInfoList);
responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000"))); responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000")));
......
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