Commit 58eb1400 by jianan

我的团队寿险数据统计N22问题5

parent fd67d411
......@@ -2614,10 +2614,12 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if (!"查询成功".equals(myStaffSearchResponseVO.getResponseHead().getMessage())) {
throw new Exception("N22查询我管的人错误");
}
List<MyStaff> staffArray = myStaffSearchResponseVO.getResponseBody().getStaffArray();
if (myStaffSearchResponseVO.getResponseBody() == null || CollectionUtils.isEmpty(myStaffSearchResponseVO.getResponseBody().getStaffArray())) {
throw new Exception("N22查询我管的人错误");
throw new Exception("N22未查询到我管的人");
}
List<MyStaff> staffArray = myStaffSearchResponseVO.getResponseBody().getStaffArray();
List<String> loginNameList = new ArrayList<>();
for (MyStaff myStaff : staffArray) {
loginNameList.add(myStaff.getManage_LoginName());
......
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