|
@ -93,6 +93,14 @@ public class EventreportPingyinServiceImpl extends BaseServiceImpl<EventreportPi |
|
|
if (CollectionUtils.isNotEmpty(staffList)) { |
|
|
if (CollectionUtils.isNotEmpty(staffList)) { |
|
|
entity.setGridUserCardid(staffList.get(NumConstant.ZERO).getCardNum()); |
|
|
entity.setGridUserCardid(staffList.get(NumConstant.ZERO).getCardNum()); |
|
|
entity.setGridUserName(staffList.get(NumConstant.ZERO).getNickName()); |
|
|
entity.setGridUserName(staffList.get(NumConstant.ZERO).getNickName()); |
|
|
|
|
|
} else { |
|
|
|
|
|
staffWrapper = new LambdaQueryWrapper<>(); |
|
|
|
|
|
staffWrapper.eq(GridstaffInfoPingyinEntity::getGridCode, item.getOrgCode()); |
|
|
|
|
|
staffList = gridstaffInfoPingyinDao.selectList(staffWrapper); |
|
|
|
|
|
if (CollectionUtils.isNotEmpty(staffList)) { |
|
|
|
|
|
entity.setGridUserCardid(staffList.get(NumConstant.ZERO).getCardNum()); |
|
|
|
|
|
entity.setGridUserName(staffList.get(NumConstant.ZERO).getNickName()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
entity.setReportTime(item.getReportTime()); |
|
|
entity.setReportTime(item.getReportTime()); |
|
|