Преглед изворни кода

巡检地点修改采集人

hanzhengyi пре 1 година
родитељ
комит
d3dd04da0e

+ 1 - 1
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionPlanSonServiceImpl.java

@@ -368,7 +368,7 @@ public class PatrolInspectionPlanSonServiceImpl extends AbstractCrudService<Patr
             throw new BusinessException("不可重复采集地点");
         }
         patrolInspectionSite.setCreator(SecurityUtils.getUsername());
-        patrolInspectionSite.setCollector(SecurityUtils.getUsername());
+        patrolInspectionSite.setCollector(SecurityUtils.getLoginUser().getSysUser().getNickName());
         patrolInspectionSite.setCollectTime(LocalDateTime.now());
         patrolInspectionSite.setCreateTime(LocalDateTime.now());
         patrolInspectionSite.setTenantId(SecurityUtils.getTenantId());