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
a70ebc92
Commit
a70ebc92
authored
Apr 19, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码同步
parent
9c51c953
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
PlanController.java
...ejoin/amos/patrol/business/controller/PlanController.java
+2
-6
patrol-sql-task.xml
...atrol/src/main/resources/db/changelog/patrol-sql-task.xml
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/PlanController.java
View file @
a70ebc92
...
@@ -241,12 +241,8 @@ public class PlanController extends AbstractBaseController {
...
@@ -241,12 +241,8 @@ public class PlanController extends AbstractBaseController {
public
CommonResponse
queryPointById
(
@ApiParam
(
value
=
"计划id"
,
required
=
true
)
@PathVariable
(
name
=
"id"
)
Long
id
)
{
public
CommonResponse
queryPointById
(
@ApiParam
(
value
=
"计划id"
,
required
=
true
)
@PathVariable
(
name
=
"id"
)
Long
id
)
{
Plan
plan
=
planService
.
queryPlanById
(
id
);
Plan
plan
=
planService
.
queryPlanById
(
id
);
String
json
=
plan
!=
null
?
JSON
.
toJSONString
(
plan
):
null
;
Object
ob
=
plan
!=
null
?
ToJson
.
tojson
(
plan
):
null
;
JSONObject
obj
=
json
!=
null
?
JSON
.
parseObject
(
json
):
null
;
return
CommonResponseUtil
.
success
(
ob
);
if
(
obj
!=
null
){
obj
.
put
(
"id"
,
obj
.
get
(
"id"
).
toString
());
}
return
CommonResponseUtil
.
success
(
obj
);
}
}
...
...
amos-boot-system-patrol/src/main/resources/db/changelog/patrol-sql-task.xml
View file @
a70ebc92
...
@@ -474,9 +474,9 @@
...
@@ -474,9 +474,9 @@
DROP PROCEDURE IF EXISTS `updatePlanTask`;
DROP PROCEDURE IF EXISTS `updatePlanTask`;
</createProcedure>
</createProcedure>
</changeSet>
</changeSet>
<changeSet
author=
"gaodongdong"
id=
"1610421278000-21"
runAlways=
"true"
>
<changeSet
author=
"gaodongdong"
id=
"1610421278000-21
-230419
"
runAlways=
"true"
>
<createProcedure
procedureName=
"updatePlanTask"
>
<createProcedure
procedureName=
"updatePlanTask"
>
CREATE PROCEDURE `updatePlanTask`(IN `planTaskId`
int,IN `pointId` int,IN `planTaskDetailId` int,IN `executorId` int
)
CREATE PROCEDURE `updatePlanTask`(IN `planTaskId`
BIGINT,IN `pointId` BIGINT,IN `planTaskDetailId` BIGINT,IN `executorId` BIGINT
)
BEGIN
BEGIN
declare num int ;
declare num int ;
declare orgCode VARCHAR(50) ;
declare orgCode VARCHAR(50) ;
...
...
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