Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
459d0f2c
Commit
459d0f2c
authored
Jun 07, 2022
by
高建强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item:修改预案数据同步
parent
046619f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
29 deletions
+4
-29
PlanOperationRecordSyncBo.java
...ejoin/amos/fas/business/bo/PlanOperationRecordSyncBo.java
+3
-3
PlanOperationRecordMapper.xml
...rc/main/resources/db/mapper/PlanOperationRecordMapper.xml
+1
-26
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/bo/PlanOperationRecordSyncBo.java
View file @
459d0f2c
...
@@ -25,7 +25,7 @@ public class PlanOperationRecordSyncBo extends BasicEntityBo {
...
@@ -25,7 +25,7 @@ public class PlanOperationRecordSyncBo extends BasicEntityBo {
/**
/**
* 运行模式(0、模拟,1、自动)
* 运行模式(0、模拟,1、自动)
*/
*/
private
String
planPattern
;
private
Integer
planPattern
;
/**
/**
* 开始时间
* 开始时间
...
@@ -50,7 +50,7 @@ public class PlanOperationRecordSyncBo extends BasicEntityBo {
...
@@ -50,7 +50,7 @@ public class PlanOperationRecordSyncBo extends BasicEntityBo {
/**
/**
* 运行状态(0、运行中,1、完毕,3、中断)
* 运行状态(0、运行中,1、完毕,3、中断)
*/
*/
private
String
status
;
private
Integer
status
;
/**
/**
* 启动人名称
* 启动人名称
*/
*/
...
@@ -66,7 +66,7 @@ public class PlanOperationRecordSyncBo extends BasicEntityBo {
...
@@ -66,7 +66,7 @@ public class PlanOperationRecordSyncBo extends BasicEntityBo {
/**
/**
* 执行方式(0、预案验证 1、火灾处置)
* 执行方式(0、预案验证 1、火灾处置)
*/
*/
private
String
executionType
;
private
Integer
executionType
;
/**
/**
* 装备名称
* 装备名称
*/
*/
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/PlanOperationRecordMapper.xml
View file @
459d0f2c
...
@@ -90,32 +90,7 @@
...
@@ -90,32 +90,7 @@
</select>
</select>
<select
id=
"getPlanOperationRecordSyncBoList"
resultType=
"com.yeejoin.amos.fas.business.bo.PlanOperationRecordSyncBo"
parameterType=
"java.util.Map"
>
<select
id=
"getPlanOperationRecordSyncBoList"
resultType=
"com.yeejoin.amos.fas.business.bo.PlanOperationRecordSyncBo"
parameterType=
"java.util.Map"
>
SELECT
SELECT
por.id,
por.*,
por.plan_id,
CASE por.plan_pattern
WHEN 4 THEN '模拟'
WHEN 5 THEN '自动'
ELSE '未知' END AS plan_pattern,
CASE por.`status`
WHEN 1 THEN '运行中'
WHEN 2 THEN '完成'
WHEN 3 THEN '中断'
ELSE '未知' END AS `status`,
CASE por.execution_type
WHEN 0 THEN '预案验证'
WHEN 1 THEN '火灾处置'
ELSE '未知' END AS execution_type,
por.start_time,
por.end_time,
por.create_date,
por.batch_no,
por.is_delete,
por.start_user_name,
por.start_user_id,
por.equipment_code,
por.equipment_name,
por.equipment_id,
por.fire_equipment_id,
pd.plan_name,
pd.plan_name,
e.`name` AS fireEquipmentName
e.`name` AS fireEquipmentName
FROM
FROM
...
...
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