|
@ -98,8 +98,13 @@ public class EventreportPingyinServiceImpl extends BaseServiceImpl<EventreportPi |
|
|
staffWrapper.eq(GridstaffInfoPingyinEntity::getGridCode, item.getOrgCode()); |
|
|
staffWrapper.eq(GridstaffInfoPingyinEntity::getGridCode, item.getOrgCode()); |
|
|
staffList = gridstaffInfoPingyinDao.selectList(staffWrapper); |
|
|
staffList = gridstaffInfoPingyinDao.selectList(staffWrapper); |
|
|
if (CollectionUtils.isNotEmpty(staffList)) { |
|
|
if (CollectionUtils.isNotEmpty(staffList)) { |
|
|
entity.setGridUserCardid(staffList.get(NumConstant.ZERO).getCardNum()); |
|
|
for (GridstaffInfoPingyinEntity staff : staffList) { |
|
|
entity.setGridUserName(staffList.get(NumConstant.ZERO).getNickName()); |
|
|
entity.setGridUserCardid(staff.getCardNum()); |
|
|
|
|
|
entity.setGridUserName(staff.getNickName()); |
|
|
|
|
|
if (StringUtils.isNotBlank(staff.getCardNum())) { |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|