Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
31b92dfd
Commit
31b92dfd
authored
Apr 14, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
f0515a1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
FireFightingSystemServiceImpl.java
...uipmanage/service/impl/FireFightingSystemServiceImpl.java
+3
-3
EquipmentManageMapper.xml
...equip/src/main/resources/mapper/EquipmentManageMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/FireFightingSystemServiceImpl.java
View file @
31b92dfd
...
...
@@ -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
);
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentManageMapper.xml
View file @
31b92dfd
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment