Commit 2577504d by jianan

只有团队长看见2

parent 138d9e4b
...@@ -2411,19 +2411,16 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -2411,19 +2411,16 @@ 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); AclPractitionerSubordinateSystem subordinateSystem = aclPractitionerSubordinateSystemDALService.findByPractitionerId(practitionerId);
if (count > 0) { if (subordinateSystem != null) {
AclPractitionerSubordinateSystem subordinateSystem = aclPractitionerSubordinateSystemDALService.findByPractitionerId(practitionerId); Long subordinateSystemId = subordinateSystem.getId();
if (subordinateSystem != null) { statisticInfo.setCompletionRate(getCompletionRate(null,subordinateSystemId,fycSum,time));
Long subordinateSystemId = subordinateSystem.getId(); responseVO.setId(subordinateSystemId);
statisticInfo.setCompletionRate(getCompletionRate(null,subordinateSystemId,fycSum,time)); responseVO.setSubordinateSystemName(subordinateSystem.getName());
responseVO.setId(subordinateSystemId); responseVO.setContactName(subordinateSystem.getContactName());
responseVO.setSubordinateSystemName(subordinateSystem.getName()); responseVO.setContactNo(subordinateSystem.getContactNo());
responseVO.setContactName(subordinateSystem.getContactName()); responseVO.setRemark(subordinateSystem.getRemark());
responseVO.setContactNo(subordinateSystem.getContactNo());
responseVO.setRemark(subordinateSystem.getRemark());
}
} }
responseVO.setStatisticInfo(statisticInfo); responseVO.setStatisticInfo(statisticInfo);
responseVO.setMemberInfoList(memberInfoList); responseVO.setMemberInfoList(memberInfoList);
......
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