Commit 343e0807 by yaosai

Merge branch 'bugfix-20210127' into 'developer'

Bugfix 20210127

See merge request !161
parents 8f949051 d7209fa5
...@@ -105,10 +105,6 @@ public class ClerkController extends WebBaseController { ...@@ -105,10 +105,6 @@ public class ClerkController extends WebBaseController {
List<String> staffIds = list.stream().map(s -> s.getStaffId()).collect(Collectors.toList()); List<String> staffIds = list.stream().map(s -> s.getStaffId()).collect(Collectors.toList());
List<StaffDTO> resultlist = staffApiService.listByIds(staffIds); List<StaffDTO> resultlist = staffApiService.listByIds(staffIds);
Map<String, StaffDTO> map = com.gic.commons.util.CollectionUtil.toMap(resultlist, "staffId"); Map<String, StaffDTO> map = com.gic.commons.util.CollectionUtil.toMap(resultlist, "staffId");
int size = 0;
if (resultlist != null) {
size = resultlist.size();
}
List<StaffVO> resultList = new ArrayList<>(); List<StaffVO> resultList = new ArrayList<>();
for (StaffClerkRelationDTO staffClerkRelationDTO : list) { for (StaffClerkRelationDTO staffClerkRelationDTO : list) {
......
...@@ -82,7 +82,7 @@ public class StaffVO implements Serializable{ ...@@ -82,7 +82,7 @@ public class StaffVO implements Serializable{
private Boolean weixinPush; private Boolean weixinPush;
private Integer memberCount; private int memberCount;
private String clerkId; private String clerkId;
/** /**
...@@ -304,11 +304,11 @@ public class StaffVO implements Serializable{ ...@@ -304,11 +304,11 @@ public class StaffVO implements Serializable{
this.weixinPush = weixinPush; this.weixinPush = weixinPush;
} }
public Integer getMemberCount() { public int getMemberCount() {
return memberCount; return memberCount;
} }
public void setMemberCount(Integer memberCount) { public void setMemberCount(int memberCount) {
this.memberCount = memberCount; this.memberCount = memberCount;
} }
......
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