Browse Source

新版事件上报第三方

master
zhaoqifeng 3 years ago
parent
commit
56c91544f1
  1. 9
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/EventreportPingyinServiceImpl.java

9
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/EventreportPingyinServiceImpl.java

@ -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;
}
}
} }
} }

Loading…
Cancel
Save