Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-service
Project
Project
Details
Activity
Releases
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
中通客车项目
zhongtong-avi-service
Commits
a1c4a559
Commit
a1c4a559
authored
Sep 23, 2019
by
夏东伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础信息增加search code
parent
16d377cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
BasicInfoController.java
...ongtong/avi/equipment/controller/BasicInfoController.java
+2
-2
RunRecordController.java
...ongtong/avi/equipment/controller/RunRecordController.java
+2
-2
No files found.
src/main/java/net/vtstar/zhongtong/avi/equipment/controller/BasicInfoController.java
View file @
a1c4a559
...
@@ -28,7 +28,7 @@ public class BasicInfoController {
...
@@ -28,7 +28,7 @@ public class BasicInfoController {
@Autowired
@Autowired
BasicInfoService
basicInfoService
;
BasicInfoService
basicInfoService
;
@ApiOperation
(
value
=
"分页查询设备列表"
)
@ApiOperation
(
value
=
"分页查询设备列表"
,
notes
=
"使用通用搜索组件,searchCode:SCADA_EQUIP_INFO"
)
@PostMapping
(
"/equip/page"
)
@PostMapping
(
"/equip/page"
)
public
Return
pageListEquip
(
@RequestBody
SearchVo
pageFilter
)
{
public
Return
pageListEquip
(
@RequestBody
SearchVo
pageFilter
)
{
return
Return
.
success
(
new
PageInfo
<>(
basicInfoService
.
findPageEquip
(
pageFilter
.
toJSONObject
())));
return
Return
.
success
(
new
PageInfo
<>(
basicInfoService
.
findPageEquip
(
pageFilter
.
toJSONObject
())));
...
@@ -62,7 +62,7 @@ public class BasicInfoController {
...
@@ -62,7 +62,7 @@ public class BasicInfoController {
return
Return
.
success
();
return
Return
.
success
();
}
}
@ApiOperation
(
value
=
"分页查询工位列表"
)
@ApiOperation
(
value
=
"分页查询工位列表"
,
notes
=
"使用通用搜索组件,searchCode:PAINTSHOP_STATION"
)
@PostMapping
(
"/station/page"
)
@PostMapping
(
"/station/page"
)
public
Return
pageListStation
(
@RequestBody
SearchVo
pageFilter
)
{
public
Return
pageListStation
(
@RequestBody
SearchVo
pageFilter
)
{
return
Return
.
success
(
new
PageInfo
<>(
basicInfoService
.
findPageStation
(
pageFilter
.
toJSONObject
())));
return
Return
.
success
(
new
PageInfo
<>(
basicInfoService
.
findPageStation
(
pageFilter
.
toJSONObject
())));
...
...
src/main/java/net/vtstar/zhongtong/avi/equipment/controller/RunRecordController.java
View file @
a1c4a559
...
@@ -26,13 +26,13 @@ public class RunRecordController {
...
@@ -26,13 +26,13 @@ public class RunRecordController {
@Autowired
@Autowired
private
RunRecordService
runRecordService
;
private
RunRecordService
runRecordService
;
@ApiOperation
(
value
=
"运行时间列表(分页查询)"
)
@ApiOperation
(
value
=
"运行时间列表(分页查询)"
,
notes
=
"使用通用搜索组件,searchCode:MACHINE_RUNTIME_RECORD"
)
@PostMapping
(
"/runtime/page"
)
@PostMapping
(
"/runtime/page"
)
public
Return
pageListRuntime
(
@RequestBody
SearchVo
pageFilter
)
{
public
Return
pageListRuntime
(
@RequestBody
SearchVo
pageFilter
)
{
return
Return
.
success
(
new
PageInfo
<>(
runRecordService
.
findPageRunTime
(
pageFilter
.
toJSONObject
())));
return
Return
.
success
(
new
PageInfo
<>(
runRecordService
.
findPageRunTime
(
pageFilter
.
toJSONObject
())));
}
}
@ApiOperation
(
value
=
"故障信息列表(分页查询)"
)
@ApiOperation
(
value
=
"故障信息列表(分页查询)"
,
notes
=
"使用通用搜索组件,searchCode:MACHINE_WARNING_RECORD"
)
@PostMapping
(
"/fault/page"
)
@PostMapping
(
"/fault/page"
)
public
Return
pageListFault
(
@RequestBody
SearchVo
pageFilter
)
{
public
Return
pageListFault
(
@RequestBody
SearchVo
pageFilter
)
{
return
Return
.
success
(
new
PageInfo
<>(
runRecordService
.
findPageFault
(
pageFilter
.
toJSONObject
())));
return
Return
.
success
(
new
PageInfo
<>(
runRecordService
.
findPageFault
(
pageFilter
.
toJSONObject
())));
...
...
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