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
b3874b5f
Commit
b3874b5f
authored
Aug 08, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
dd07d3dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
5 deletions
+33
-5
PlanTaskServiceImpl.java
...upervision/business/service/impl/PlanTaskServiceImpl.java
+32
-4
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/PlanTaskServiceImpl.java
View file @
b3874b5f
...
...
@@ -11,6 +11,7 @@ import com.yeejoin.amos.boot.biz.common.bo.ReginParams;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.component.feign.config.InnerInvokException
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
...
...
@@ -413,7 +414,14 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
param
.
put
(
"id"
,
plan
.
getId
());
param
.
put
(
"status"
,
PlanStatusEnum
.
OUT_TIME
.
getValue
());
planMapper
.
updPlanStatusOrGenDate
(
param
);
updateTaskStatus
(
plan
);
try
{
updateTaskStatus
(
plan
);
}
catch
(
InnerInvokException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
e
.
printStackTrace
();
}
}
}
...
...
@@ -461,7 +469,14 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
if
(
plan
.
getIsFixedDate
().
equals
(
"2"
)){
paramMap
.
put
(
"status"
,
PlanStatusEnum
.
OUT_TIME
.
getValue
());
planMapper
.
updPlanStatusOrGenDate
(
paramMap
);
updateTaskStatus
(
plan
);
try
{
updateTaskStatus
(
plan
);
}
catch
(
InnerInvokException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
e
.
printStackTrace
();
}
// 计划超时,修改计划下任务状态
planTaskMapper
.
updateTaskStatusByPlanId
(
plan
.
getId
());
// 计划超时,修改计划下任务详情状态
...
...
@@ -485,7 +500,14 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
else
{
paramMap
.
put
(
"status"
,
PlanStatusEnum
.
OUT_TIME
.
getValue
());
planMapper
.
updPlanStatusOrGenDate
(
paramMap
);
updateTaskStatus
(
plan
);
try
{
updateTaskStatus
(
plan
);
}
catch
(
InnerInvokException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
e
.
printStackTrace
();
}
continue
;
}
...
...
@@ -496,7 +518,13 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
planTaskMapper
.
updateTaskStatusByPlanId
(
plan
.
getId
());
// 计划超时,修改计划下任务详情状态
planTaskMapper
.
updateTaskDetailStatusByPlanId
(
plan
.
getId
());
updateTaskStatus
(
plan
);
try
{
updateTaskStatus
(
plan
);
}
catch
(
InnerInvokException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
e
.
printStackTrace
();
}
}
continue
;
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
b3874b5f
...
...
@@ -1187,7 +1187,7 @@
IFNULL( fs.`name`, '其他' ) AS fireFightSysName,
'equip' AS fireFacilityType,
ws.source_id AS buildingId,
ws.`name` AS buildingName,
ws.`
full_
name` AS buildingName,
ed.maintenance_cycle,
ed.area AS location
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