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
ae5888a3
Commit
ae5888a3
authored
Aug 20, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改消防系统运行状态
parent
c482ad32
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
FireFightingSystemController.java
.../equipmanage/controller/FireFightingSystemController.java
+2
-2
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+11
-0
EmergencyMapper.xml
...ystem-equip/src/main/resources/mapper/EmergencyMapper.xml
+1
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/FireFightingSystemController.java
View file @
ae5888a3
...
...
@@ -921,12 +921,12 @@ public class FireFightingSystemController extends AbstractBaseController {
ite
.
add
(
map1
);
Map
<
String
,
String
>
map2
=
new
HashMap
<>();
map2
.
put
(
"key"
,
"系统运行状态"
);
map2
.
put
(
"value"
,
"1"
.
equals
(
fireFightingSystem
.
getSystemRunState
())
?
"运行"
:
"停止"
);
map2
.
put
(
"value"
,
fireFightingSystem
.
getSystemRunState
()
);
map2
.
put
(
"highLight"
,
"true"
);
res
.
put
(
"items"
,
ite
);
res
.
put
(
"title"
,
"基本信息"
);
ite
.
add
(
map2
);
fireFightingSystem
.
setSystemRunState
(
"1"
.
equals
(
fireFightingSystem
.
getSystemRunState
())
?
"运行"
:
"停止"
);
fireFightingSystem
.
setSystemRunState
(
fireFightingSystem
.
getSystemRunState
()
);
Map
<
String
,
Object
>
fireSystem
=
Bean
.
BeantoMap
(
fireFightingSystem
);
fireSystem
.
put
(
"detailId"
,
fireFightingSystem
.
getId
());
Map
<
String
,
Object
>
state
=
new
HashMap
<>();
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
ae5888a3
...
...
@@ -1013,6 +1013,17 @@
</sql>
</changeSet>
<changeSet
author=
"keyong"
id=
"16970188990"
>
<preConditions
onFail=
"MARK_RAN"
>
<columnExists
tableName=
"f_fire_fighting_system"
columnName=
"system_run_state"
/>
</preConditions>
<comment>
修改f_fire_fighting_system表属性字段system_run_state
</comment>
<sql>
ALTER TABLE `f_fire_fighting_system` MODIFY COLUMN `system_run_state` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '运行' COMMENT '站端消防系统运行状态 0-停止 1-运行';
UPDATE `f_fire_fighting_system` SET `system_status` = '运行';
</sql>
</changeSet>
<changeSet
author=
"keyong"
id=
"1698392137"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
...
...
amos-boot-system-equip/src/main/resources/mapper/EmergencyMapper.xml
View file @
ae5888a3
...
...
@@ -35,12 +35,7 @@
`fs`.`name` AS `name`,
`fs`.system_type_code AS systemTypeCode,
`fs`.`code` AS code,
CASE
WHEN `fs`.system_run_state = '0' THEN
'停止'
WHEN `fs`.system_run_state = '1' THEN
'运行'
END AS systemRunState,
`fs`.system_run_state AS systemRunState,
IF
(((
SELECT
...
...
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