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
af6a9948
Commit
af6a9948
authored
Nov 18, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整脚本运行顺序
parent
fc6e94d0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
FireFightingSystemServiceImpl.java
...uipmanage/service/impl/FireFightingSystemServiceImpl.java
+4
-0
wl-3.0.1.xml
...ot-system-equip/src/main/resources/changelog/wl-3.0.1.xml
+0
-12
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+12
-0
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 @
af6a9948
...
...
@@ -2055,18 +2055,22 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
if
(
SystemTypeEnum
.
fireWaterSys
.
getCode
().
equals
(
String
.
valueOf
(
x
.
get
(
"systemTypeCode"
))))
{
resultMap
.
put
(
"name"
,
SystemTypeEnum
.
fireWaterSys
.
getDesc
());
resultMap
.
put
(
"code"
,
SystemTypeEnum
.
fireWaterSys
.
getCode
());
resultMap
.
put
(
"total"
,
x
.
get
(
"sysNum"
));
resultMap
.
put
(
"alarmNum"
,
alarmNumMap
.
get
(
"waterSysNum"
));
}
else
if
(
SystemTypeEnum
.
fireCAFSSys
.
getCode
().
equals
(
String
.
valueOf
(
x
.
get
(
"systemTypeCode"
))))
{
resultMap
.
put
(
"name"
,
SystemTypeEnum
.
fireCAFSSys
.
getDesc
());
resultMap
.
put
(
"code"
,
SystemTypeEnum
.
fireCAFSSys
.
getCode
());
resultMap
.
put
(
"total"
,
x
.
get
(
"sysNum"
));
resultMap
.
put
(
"alarmNum"
,
alarmNumMap
.
get
(
"cafsSysNum"
));
}
else
if
(
SystemTypeEnum
.
fireAlarmSys
.
getCode
().
equals
(
String
.
valueOf
(
x
.
get
(
"systemTypeCode"
))))
{
resultMap
.
put
(
"name"
,
SystemTypeEnum
.
fireAlarmSys
.
getDesc
());
resultMap
.
put
(
"code"
,
SystemTypeEnum
.
fireAlarmSys
.
getCode
());
resultMap
.
put
(
"total"
,
x
.
get
(
"sysNum"
));
resultMap
.
put
(
"alarmNum"
,
alarmNumMap
.
get
(
"fireAlarmSysNum"
));
}
else
{
resultMap
.
put
(
"name"
,
SystemTypeEnum
.
fireONLSys
.
getDesc
());
resultMap
.
put
(
"code"
,
SystemTypeEnum
.
fireONLSys
.
getCode
());
resultMap
.
put
(
"total"
,
x
.
get
(
"sysNum"
));
resultMap
.
put
(
"alarmNum"
,
alarmNumMap
.
get
(
"onlSysNum"
));
}
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.0.1.xml
View file @
af6a9948
...
...
@@ -3062,15 +3062,4 @@
REPLACE INTO `wl_form_group_column` (`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`, `create_date`) VALUES (133000000323, 'longitude', '经度', 'String', 132828674817, 'eq', b'0', 'r_fireControlRoom', 2581805, '2022-03-01 12:04:47');
</sql>
</changeSet>
<changeSet
author=
"keyong"
id=
"1668587039"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"wl_equipment_specific_alarm_log"
/>
</preConditions>
<comment>
sync field
</comment>
<sql>
UPDATE wl_equipment_specific_alarm_log wesal
SET wesal.biz_org_name = ( SELECT biz_org_name FROM wl_equipment_specific wes WHERE wes.id = wesal.equipment_specific_id ),
wesal.biz_org_code = ( SELECT biz_org_code FROM wl_equipment_specific wes WHERE wes.id = wesal.equipment_specific_id );
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
af6a9948
...
...
@@ -395,4 +395,15 @@
ALTER TABLE `wl_equipment_specific_alarm_log` ADD COLUMN `biz_org_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '机构编码' AFTER `biz_org_name`;
</sql>
</changeSet>
<changeSet
author=
"keyong"
id=
"1668587039"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"wl_equipment_specific_alarm_log"
/>
</preConditions>
<comment>
sync field
</comment>
<sql>
UPDATE wl_equipment_specific_alarm_log wesal
SET wesal.biz_org_name = ( SELECT biz_org_name FROM wl_equipment_specific wes WHERE wes.id = wesal.equipment_specific_id ),
wesal.biz_org_code = ( SELECT biz_org_code FROM wl_equipment_specific wes WHERE wes.id = wesal.equipment_specific_id );
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
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