|
@@ -6,6 +6,7 @@ import com.alibaba.nacos.common.utils.UuidUtils;
|
|
|
import com.ruoyi.common.core.text.UUID;
|
|
|
import com.ruoyi.common.core.utils.StringUtils;
|
|
|
import com.ruoyi.common.core.utils.uuid.IdUtils;
|
|
|
+import com.ruoyi.common.security.utils.DictUtils;
|
|
|
import com.ruoyi.common.security.utils.SecurityUtils;
|
|
|
import com.sooka.sponest.event.centereventteventcollect.domain.CentereventTEventCollect;
|
|
|
import com.sooka.sponest.event.centereventteventcollect.mapper.CentereventTEventCollectMapper;
|
|
@@ -46,7 +47,11 @@ public class CentereventTEventCollectServiceImpl implements ICentereventTEventCo
|
|
|
if(StringUtils.isBlank(centereventTEventCollect.getUserId())){
|
|
|
centereventTEventCollect.setUserId(SecurityUtils.getUserId().toString());
|
|
|
}
|
|
|
- return centereventTEventCollectMapper.selectCentereventTEventCollectList(centereventTEventCollect);
|
|
|
+ List<CentereventTEventCollect> centereventTEventCollects = centereventTEventCollectMapper.selectCentereventTEventCollectList(centereventTEventCollect);
|
|
|
+ for (CentereventTEventCollect collect : centereventTEventCollects) {
|
|
|
+ collect.setReportor(DictUtils.getDictDataByValue("reporting_source",collect.getReportSource()));
|
|
|
+ }
|
|
|
+ return centereventTEventCollects;
|
|
|
}
|
|
|
|
|
|
/**
|