Commit d55ccecc authored by 赵啸非's avatar 赵啸非

修正异常记录有重复的记录

parent cfe16b69
...@@ -68,7 +68,7 @@ public class StaffPerformSummaryServiceImpl extends AbstractCRUDServiceImpl<Staf ...@@ -68,7 +68,7 @@ public class StaffPerformSummaryServiceImpl extends AbstractCRUDServiceImpl<Staf
weightPdu = JSONObject.parseObject(value,WeightPdu.class); weightPdu = JSONObject.parseObject(value,WeightPdu.class);
} }
for(StaffPerformSummaryEntity item:list) { for(StaffPerformSummaryEntity item:list) {
StaffEntity staffEntity = staffService.get(item.getStaffId()); StaffEntity staffEntity = staffService.getCache(item.getStaffId().toString());
if(staffEntity!=null){ if(staffEntity!=null){
item.setWorkNum(staffEntity.getWorkNum()); item.setWorkNum(staffEntity.getWorkNum());
item.setPhoneNumber(staffEntity.getPhoneNumber()); item.setPhoneNumber(staffEntity.getPhoneNumber());
......
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