Commit 3785721a authored by xinglei's avatar xinglei

*)修改火灾位置

parent 41c0df1b
...@@ -261,14 +261,14 @@ public class ConfirmAlarmServiceImpl extends ServiceImpl<ConfirmAlarmMapper, Equ ...@@ -261,14 +261,14 @@ public class ConfirmAlarmServiceImpl extends ServiceImpl<ConfirmAlarmMapper, Equ
} catch (Exception e) { } catch (Exception e) {
log.error("查询机场人员为空,检查机场人员是否绑定单位!"); log.error("查询机场人员为空,检查机场人员是否绑定单位!");
} }
confirmAlamVo.setFireLocation(ent.getAlarmPlace());
List<UserDto> infoList = equipmentSpecificSerivce.getEquipSpecificLocationInfo(ent.getEquipmentSpecificId(), FIELD_NAME.split(",")); List<UserDto> infoList = equipmentSpecificSerivce.getEquipSpecificLocationInfo(ent.getEquipmentSpecificId(), FIELD_NAME.split(","));
if (CollectionUtils.isNotEmpty(infoList)) { if (CollectionUtils.isNotEmpty(infoList)) {
infoList.stream().forEach(dto -> { infoList.stream().forEach(dto -> {
String name = dto.getPersonName(); // String name = dto.getPersonName();
// confirmAlamVo.setFireLocation(name);
String code = dto.getFieldCode(); String code = dto.getFieldCode();
String value = dto.getFieldValue(); String value = dto.getFieldValue();
confirmAlamVo.setFireLocation(name);
switch (code) { switch (code) {
case "longitude": case "longitude":
confirmAlamVo.setFloorLongitude(getVal(value)); confirmAlamVo.setFloorLongitude(getVal(value));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment