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
4f01e2a4
Commit
4f01e2a4
authored
Aug 12, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6_temp' of…
Merge branch 'develop_dl_plan6_temp' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6_temp
parents
6d9796b1
926c81c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
6 deletions
+56
-6
PointController.java
...join/amos/patrol/business/controller/PointController.java
+11
-0
PlanTaskPointInputItemBo.java
...rol/business/entity/mybatis/PlanTaskPointInputItemBo.java
+30
-6
JobService.java
.../main/java/com/yeejoin/amos/patrol/quartz/JobService.java
+12
-0
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+3
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/PointController.java
View file @
4f01e2a4
...
...
@@ -130,6 +130,17 @@ public class PointController extends AbstractBaseController {
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"获取登录人单位"
,
notes
=
"获取登录人单位"
)
@GetMapping
(
value
=
"/getuserdept"
,
produces
=
"application/json;charset=UTF-8"
)
public
CommonResponse
getuserdept
()
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
return
CommonResponseUtil
.
success
(
reginParams
.
getPersonIdentity
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/entity/mybatis/PlanTaskPointInputItemBo.java
View file @
4f01e2a4
...
...
@@ -72,12 +72,36 @@ public class PlanTaskPointInputItemBo {
private
String
userName
;
//执行部门名称
private
String
depName
;
private
String
pointName
;
private
String
planName
;
private
String
routeName
;
public
String
getPointName
()
{
return
pointName
;
}
public
void
setPointName
(
String
pointName
)
{
this
.
pointName
=
pointName
;
}
public
String
getPlanName
()
{
return
planName
;
}
public
void
setPlanName
(
String
planName
)
{
this
.
planName
=
planName
;
}
public
String
getRouteName
()
{
return
routeName
;
}
public
void
setRouteName
(
String
routeName
)
{
this
.
routeName
=
routeName
;
}
public
String
getUserName
()
{
return
userName
;
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/quartz/JobService.java
View file @
4f01e2a4
...
...
@@ -332,6 +332,12 @@ public class JobService implements IJobService {
for
(
PlanTaskPointInputItemBo
arg:
planTaskPointInputItems
){
Check
check
=
new
Check
();
if
(
checkMap
.
get
(
arg
.
getPointId
())
==
null
)
{
check
.
setOrgCode
(
arg
.
getOrgCode
());
check
.
setUserId
(
planTask
.
getUserId
());
...
...
@@ -344,6 +350,12 @@ public class JobService implements IJobService {
check
.
setDepId
(
deptId
.
toString
().
substring
(
0
,
deptId
.
length
()-
1
));
check
.
setDepName
(
deptName
.
toString
());
check
.
setPointId
(
arg
.
getPointId
());
check
.
setPointName
(
arg
.
getPointName
());
check
.
setRouteName
(
arg
.
getRouteName
());
check
.
setPlanName
(
arg
.
getPlanName
());
check
.
setErrorClassify
(
arg
.
getClassifyName
());
check
.
setUploadTime
(
new
Date
());
check
.
setPlanId
(
arg
.
getPlanId
());
check
.
setPlanTaskId
(
arg
.
getPlanTaskId
());
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
4f01e2a4
...
...
@@ -474,6 +474,9 @@
temp1.classifyId,
temp1.classifyName,
pii.`name` inputName,
(select p_point.`name` from p_point where p_point.id= temp2.pointId) pointName,
(select p_plan.`name` from p_plan where p_plan.id= temp2.planId) planName,
(select p_route.`name` from p_route where p_route.id= temp2.routeId) routeName,
temp2.*
FROM
p_point_inputitem ppi
...
...
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