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
19720387
Commit
19720387
authored
Jul 27, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口
parent
56340018
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
3 deletions
+18
-3
PlanTaskController.java
...n/amos/patrol/business/controller/PlanTaskController.java
+10
-1
PlanTaskMapper.java
...ejoin/amos/patrol/business/dao/mapper/PlanTaskMapper.java
+0
-1
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+7
-0
IPlanTaskService.java
.../amos/patrol/business/service/intfc/IPlanTaskService.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/PlanTaskController.java
View file @
19720387
...
...
@@ -110,7 +110,16 @@ public class PlanTaskController extends AbstractBaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"导出巡检记录"
,
notes
=
"导出巡检记录"
)
@RequestMapping
(
value
=
"/exportSelectPlanTaskNew"
,
method
=
RequestMethod
.
GET
)
public
void
exportSelectPlanTaskNew
(
@ApiParam
(
value
=
"查询条件"
,
required
=
false
)
@RequestParam
(
required
=
false
)
Long
[]
ids
,
HttpServletResponse
response
)
{
List
<
PlanTaskVo
>
list
=
planTaskService
.
getPlanTaskListByIds
(
getToken
(),
getProduct
(),
getAppKey
(),
ids
);
String
fileName
=
"巡检记录"
+
System
.
currentTimeMillis
();
FileHelper
.
exportExcel
(
list
,
"计划执行"
,
"计划执行"
,
PlanTaskVo
.
class
,
fileName
+
".xls"
,
response
);
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/dao/mapper/PlanTaskMapper.java
View file @
19720387
...
...
@@ -110,7 +110,6 @@ public interface PlanTaskMapper extends BaseMapper {
* @return
*/
List
<
PlanTaskVo
>
getPlanTaskListByIds
(
@Param
(
"ids"
)
Long
[]
ids
);
/**
* 分页统计
* @param param
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
19720387
...
...
@@ -1012,6 +1012,13 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
@Override
public
List
<
PlanTaskVo
>
getPlanTaskListByIdsNew
(
Long
[]
ids
)
{
List
<
PlanTaskVo
>
content
=
planTaskMapper
.
getPlanTaskListByIds
(
ids
);
return
content
;
}
@Override
public
Page
<
CheckChkExListBo
>
getChkExList
(
String
toke
,
String
product
,
String
appKey
,
CheckPtListPageParam
param
)
{
long
total
=
planTaskMapper
.
countChkExListData
(
param
);
List
<
CheckChkExListBo
>
content
=
planTaskMapper
.
getChkExList
(
param
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/intfc/IPlanTaskService.java
View file @
19720387
...
...
@@ -130,7 +130,7 @@ public interface IPlanTaskService {
* @return
*/
List
<
PlanTaskVo
>
getPlanTaskListByIds
(
String
toke
,
String
product
,
String
appKey
,
Long
[]
ids
);
List
<
PlanTaskVo
>
getPlanTaskListByIdsNew
(
Long
[]
ids
);
/**
* 根据任务id点id 获取点详情
* @param planTaskId
...
...
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