Commit 31b92dfd authored by tangwei's avatar tangwei

修改bug

parent f0515a1c
......@@ -166,7 +166,7 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
}
dataList.forEach(x -> {
x.setChargePerson(userMap.get(x.getChargePerson()));
// x.setChargePerson(userMap.get(x.getChargePerson()));
x.setSystemimg(equipmentManageMapper.getFiles(String.valueOf(x.getId()), "face"));
});
map.put("dataList", dataList);
......@@ -194,7 +194,7 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
String userId = remoteSecurityService.getAgencyUser().getUserId();
vo.setRecUserId(userId);
// 冗余名称,数据同步使用
this.setChargePersonName(vo);
// this.setChargePersonName(vo);
String s = String.valueOf(System.currentTimeMillis());
vo.setId(s);
vo.setSort(s);
......@@ -245,7 +245,7 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
String userId = remoteSecurityService.getAgencyUser().getUserId();
vo.setRecUserId(userId);
// 冗余名称,数据同步使用
this.setChargePersonName(vo);
// this.setChargePersonName(vo);
if ("".equals(vo.getInstallDate())) {
vo.setInstallDate(null);
}
......
......@@ -10,7 +10,7 @@
instance_id,
date_format(install_date,'%Y-%m-%d') AS installDate,
date_format(first_maintenance_date,'%Y-%m-%d') AS firstMaintenanceDate,
charge_person as chargePerson,
charge_person_name as chargePerson,
(select name from wl_manufacturer_info where id = construction_unit) as constructionUnit,
(select name from wl_manufacturer_info where id = maintenance_unit) as maintenanceUnit,
(select name from wl_equipment_category where id = system_type) as systemType,
......
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