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
312de470
Commit
312de470
authored
Oct 23, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
双规小程序接口
parent
570a6258
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+7
-8
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+2
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
312de470
...
@@ -1461,10 +1461,13 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -1461,10 +1461,13 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
pointCheckRespone
.
setPointId
(
pointId
);
pointCheckRespone
.
setPointId
(
pointId
);
pointCheckRespone
.
setPointName
(
planPointInfo
.
getPointName
());
pointCheckRespone
.
setPointName
(
planPointInfo
.
getPointName
());
pointCheckRespone
.
setPointNo
(
planPointInfo
.
getPointNo
());
pointCheckRespone
.
setPointNo
(
planPointInfo
.
getPointNo
());
pointCheckRespone
.
setBeginTime
(
planPointInfo
.
getBeginTime
());
pointCheckRespone
.
setEndTime
(
planPointInfo
.
getEndTime
());
pointCheckRespone
.
setPointStatus
(
"0"
);
pointCheckRespone
.
setPointStatus
(
"0"
);
pointCheckRespone
.
setPlanName
(
planPointInfo
.
getPlanName
());
pointCheckRespone
.
setPlanName
(
planPointInfo
.
getPlanName
());
List
<
PointCheckDetailBo
>
pointInputs
=
planTaskMapper
.
getPointInputByRouteIdAndPointId
(
planPointInfo
.
getRouteId
(),
planPointInfo
.
getPointId
());
List
<
PointCheckDetailBo
>
pointInputs
=
planTaskMapper
.
getPointInputByRouteIdAndPointId
(
planPointInfo
.
getRouteId
(),
planPointInfo
.
getPointId
());
JSONObject
appResponeMap
=
new
JSONObject
();
JSONObject
appResponeMap
=
new
JSONObject
();
List
<
AppCheckInputRespone
>
appCheckInputResponeList
=
new
ArrayList
<
AppCheckInputRespone
>();
pointInputs
.
forEach
(
action
->
{
pointInputs
.
forEach
(
action
->
{
AppCheckInputRespone
input
=
new
AppCheckInputRespone
();
AppCheckInputRespone
input
=
new
AppCheckInputRespone
();
input
.
setInputName
(
action
.
getInputName
());
input
.
setInputName
(
action
.
getInputName
());
...
@@ -1483,15 +1486,11 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -1483,15 +1486,11 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
input
.
setPictureJson
(
action
.
getPictureJson
());
input
.
setPictureJson
(
action
.
getPictureJson
());
input
.
setClassifyId
(
action
.
getClassifyId
());
input
.
setClassifyId
(
action
.
getClassifyId
());
input
.
setClassifyName
(
action
.
getClassifyName
());
input
.
setClassifyName
(
action
.
getClassifyName
());
String
key
=
ObjectUtils
.
isEmpty
(
action
.
getClassifyName
())
?
"其他"
:
action
.
getClassifyName
();
appCheckInputResponeList
.
add
(
input
);
if
(
appResponeMap
.
containsKey
(
key
))
{
appResponeMap
.
getJSONArray
(
key
).
add
(
input
);
}
else
{
List
<
AppCheckInputRespone
>
appCheckInputResponeList
=
new
ArrayList
<
AppCheckInputRespone
>();
appCheckInputResponeList
.
add
(
input
);
appResponeMap
.
put
(
key
,
appCheckInputResponeList
);
}
});
});
appResponeMap
.
put
(
"items"
,
appCheckInputResponeList
);
pointCheckRespone
.
setAppCheckInput
(
appResponeMap
);
pointCheckRespone
.
setAppCheckInput
(
appResponeMap
);
}
}
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
312de470
...
@@ -667,6 +667,8 @@
...
@@ -667,6 +667,8 @@
ppt.route_id routeId,
ppt.route_id routeId,
ppl.name planName,
ppl.name planName,
ppt.begin_time checkTime,
ppt.begin_time checkTime,
ppt.begin_time beginTime,
ppt.end_time endTime,
ppl.dept_id checkDepartmentId,
ppl.dept_id checkDepartmentId,
ppt.user_id userId,
ppt.user_id userId,
ppt.user_name userName,
ppt.user_name userName,
...
...
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