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
5ca87411
Commit
5ca87411
authored
Oct 21, 2022
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加接口
parent
fe8181c9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
0 deletions
+19
-0
ContingencyPlanInstanceMapper.java
...as/business/dao/mapper/ContingencyPlanInstanceMapper.java
+2
-0
ContingencyInstanceImpl.java
...os/fas/business/service/impl/ContingencyInstanceImpl.java
+5
-0
PlanVisual3dServiceImpl.java
...os/fas/business/service/impl/PlanVisual3dServiceImpl.java
+1
-0
IContingencyInstance.java
...amos/fas/business/service/intfc/IContingencyInstance.java
+7
-0
ContingencyPlanInstanceMapper.xml
...ain/resources/db/mapper/ContingencyPlanInstanceMapper.xml
+4
-0
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/dao/mapper/ContingencyPlanInstanceMapper.java
View file @
5ca87411
...
...
@@ -24,4 +24,6 @@ public interface ContingencyPlanInstanceMapper extends BaseMapper<ContingencyPla
* @return
*/
Boolean
updateStatusById
(
@Param
(
"id"
)
String
id
);
ContingencyPlanInstance
getMessageById
(
@Param
(
"id"
)
String
id
);
}
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/ContingencyInstanceImpl.java
View file @
5ca87411
...
...
@@ -545,4 +545,9 @@ public class ContingencyInstanceImpl /*extends GenericManagerImpl<ContingencyPla
List
<
String
>
ruleId
=
planDetailMapper
.
getRuleIdByEquipment
(
id
);
return
ruleId
;
}
@Override
public
ContingencyPlanInstance
getMessageById
(
String
id
)
{
return
contingencyPlanInstanceMapper
.
getMessageById
(
id
);
}
}
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/PlanVisual3dServiceImpl.java
View file @
5ca87411
...
...
@@ -605,6 +605,7 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService {
model
.
setTitle
(
"应急处置通知"
);
model
.
setBody
(
"应急处置通知"
);
}
model
.
setRelationId
(
String
.
valueOf
(
System
.
currentTimeMillis
()));
Systemctl
.
messageClient
.
create
(
model
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/intfc/IContingencyInstance.java
View file @
5ca87411
...
...
@@ -31,4 +31,11 @@ public interface IContingencyInstance {
* @return
*/
ContingencyPlanInstance
updateExtendColumn
(
ContingencyPlanInstance
contingencyPlanInstance
);
/**
* 根据id 查询信息
* @param id
* @return
*/
ContingencyPlanInstance
getMessageById
(
String
id
);
}
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/ContingencyPlanInstanceMapper.xml
View file @
5ca87411
...
...
@@ -34,4 +34,7 @@
ifnull(personImg, "") as personImg
from cb_org_usr where amos_org_id = #{userId} and is_delete = 0 limit 1
</select>
<select
id=
"getMessageById"
resultType=
"com.yeejoin.amos.fas.dao.entity.ContingencyPlanInstance"
>
select * from contingency_plan_instance where id = #{id}
</select>
</mapper>
\ 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