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
177df727
Commit
177df727
authored
Jul 27, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增查询详情接口
parent
19f65267
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
InputItemController.java
.../amos/patrol/business/controller/InputItemController.java
+20
-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/InputItemController.java
View file @
177df727
...
...
@@ -97,6 +97,26 @@ public class InputItemController extends AbstractBaseController {
* */
/*******新增接口************/
/**
* 查询巡检项详情
*
* @param itemID
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"检查项ID新"
,
notes
=
"检查项详情新"
)
@RequestMapping
(
value
=
"/queryItemNew"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
GET
)
public
CommonResponse
queryItemDetailNew
(
@ApiParam
(
value
=
"巡检项ID"
)
@RequestParam
(
required
=
true
)
Long
itemID
)
{
InputItem
bo
=
inputItemService
.
queryInputItemDetail
(
itemID
);
InputItemParam
inputItemVo
=
new
InputItemParam
();
BeanUtils
.
copyProperties
(
bo
,
inputItemVo
);
inputItemVo
.
setDataJson
(
bo
.
getDataJson
()
!=
null
?
JSONObject
.
parse
(
bo
.
getDataJson
()):
null
);
inputItemVo
.
setPictureJson
(
bo
.
getPictureJson
()!=
null
?
JSONObject
.
parse
(
bo
.
getPictureJson
()):
null
);
return
CommonResponseUtil
.
success
(
inputItemVo
);
}
/**
* 新增巡检项
*
...
...
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