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
e5dce878
Commit
e5dce878
authored
Jul 20, 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
b5745127
d3c3fcfe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
1 deletion
+46
-1
CheckController.java
...join/amos/patrol/business/controller/CheckController.java
+25
-0
PointController.java
...join/amos/patrol/business/controller/PointController.java
+18
-1
CheckInfoPageParam.java
...eejoin/amos/patrol/business/param/CheckInfoPageParam.java
+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/CheckController.java
View file @
e5dce878
...
@@ -113,6 +113,31 @@ public class CheckController extends AbstractBaseController {
...
@@ -113,6 +113,31 @@ public class CheckController extends AbstractBaseController {
private
WebMqttComponent
webMqttComponent
;
private
WebMqttComponent
webMqttComponent
;
/**
/**
*
* 巡查记录列表
* **/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"巡检记录查询"
,
notes
=
"巡检记录查询"
)
@RequestMapping
(
value
=
"/listNew"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
public
CommonResponse
qryCheckInfoPageNew
(
@ApiParam
(
value
=
"查询条件"
,
required
=
false
)
@RequestBody
(
required
=
false
)
CheckInfoPageParam
param
,
@ApiParam
(
value
=
"分页参数"
,
required
=
true
)
CommonPageable
commonPageable
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
param
.
setBizOrgCode
(
reginParams
.
getPersonIdentity
().
getCompanyBizOrgCode
());
param
.
setOrderBy
(
"checkDate desc"
);
Page
<
CheckInfoVo
>
list
=
checkService
.
getCheckInfo
(
null
,
null
,
null
,
param
);
return
CommonResponseUtil
.
success
(
list
);
}
/**
* 巡检计划查询
* 巡检计划查询
*
*
* @param
* @param
...
...
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 @
e5dce878
...
@@ -211,7 +211,24 @@ public class PointController extends AbstractBaseController {
...
@@ -211,7 +211,24 @@ public class PointController extends AbstractBaseController {
}
}
}
}
/**
* 根据ID查询巡检点信息
*
* @param id
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"查询巡检点信息"
,
notes
=
"查询巡检点信息"
)
@GetMapping
(
value
=
"/queryPointByIdNew"
,
produces
=
"application/json;charset=UTF-8"
)
public
CommonResponse
queryPointByIdNew
(
@ApiParam
(
value
=
"巡检点id"
,
required
=
true
)
@RequestParam
String
id
)
{
try
{
Point
point
=
iPointService
.
queryPointById
(
Long
.
valueOf
(
id
));
return
CommonResponseUtil
.
success
(
point
);
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
return
CommonResponseUtil
.
failure
(
"查询巡检点失败"
);
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/param/CheckInfoPageParam.java
View file @
e5dce878
...
@@ -103,4 +103,7 @@ public class CheckInfoPageParam extends CommonPageable{
...
@@ -103,4 +103,7 @@ public class CheckInfoPageParam extends CommonPageable{
private
Integer
dangerType
;
private
Integer
dangerType
;
private
String
bizOrgCode
;
}
}
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