소스 검색

移动端-巡检记录添加人员和联系方式

jichaobo 2 년 전
부모
커밋
e7e7e4e043
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionPlanSonServiceImpl.java

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

@@ -244,8 +244,8 @@ public class PatrolInspectionPlanSonServiceImpl extends AbstractCrudService<Patr
         patrolInspectionRecord.setSiteType(planRecordVo.getSiteType());
         patrolInspectionRecord.setAreaName(areaList.get(0).getAreaName());
         patrolInspectionRecord.setSiteName(planRecordVo.getSiteName());
-        patrolInspectionRecord.setName(SecurityUtils.getUsername());
-        patrolInspectionRecord.setPhone("人员表缺少");
+        patrolInspectionRecord.setName(SecurityUtils.getLoginUser().getSysPerson().getFullName());
+        patrolInspectionRecord.setPhone(SecurityUtils.getLoginUser().getSysPerson().getLinkPhone());
         patrolInspectionRecord.setPlanType(planSonList.get(0).getPlanType());
         patrolInspectionRecord.setSiteStatus(planRecordVo.getSiteStatus());
         patrolInspectionRecord.setLongitude(planRecordVo.getLongitude());