Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
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
ZTGK
hzsomms
Commits
0177b8c4
Commit
0177b8c4
authored
Jul 08, 2023
by
shizhilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查道床记录优化 --shizhilong
parent
3d5d21aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
RecordsMasterCheckController.java
...entCheckData/controller/RecordsMasterCheckController.java
+5
-14
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/checkData/equipmentCheckData/controller/RecordsMasterCheckController.java
View file @
0177b8c4
...
...
@@ -2,17 +2,13 @@ package org.jeecg.modules.checkData.equipmentCheckData.controller;
import
cn.hutool.core.util.ObjectUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
import
org.apache.shiro.SecurityUtils
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.system.vo.LoginUser
;
import
org.jeecg.modules.checkData.equipmentCheckData.dto.RecordsMasterCheckDTO
;
import
org.jeecg.modules.checkData.equipmentCheckData.entity.RecordsMasterCheck
;
import
org.jeecg.modules.checkData.equipmentCheckData.entity.TrackBedManagementCheck
;
...
...
@@ -23,9 +19,6 @@ import org.jeecg.modules.checkData.equipmentCheckData.vo.TrackBedManagementCheck
import
org.jeecg.modules.deviceAsset.entity.TrackBedManagement
;
import
org.jeecg.modules.deviceAsset.service.ITrackBedManagementService
;
import
org.jeecg.modules.utils.BeanCopyUtil
;
import
org.jeecgframework.poi.excel.def.NormalExcelConstants
;
import
org.jeecgframework.poi.excel.entity.ExportParams
;
import
org.jeecgframework.poi.excel.view.JeecgEntityExcelView
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
@@ -38,7 +31,6 @@ import org.springframework.web.servlet.ModelAndView;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* <p>
...
...
@@ -116,17 +108,16 @@ public class RecordsMasterCheckController extends JeecgController<RecordsMasterC
}
/**
* 导出excel
*
设备检查记录
导出excel
* @param request
* @param ekCode 检查批次好
* @param subwaySectionName 检查区间名称
* @param lightRailName 线路
* @param lineAliasName 线别
* @param recordsMasterCheck
* @return
*/
@AutoLog
(
value
=
"设备检查记录导出excel"
)
@ApiOperation
(
value
=
"设备检查记录导出excel"
,
notes
=
"设备检查记录导出excel"
)
@RequestMapping
(
value
=
"/exportXls"
)
public
ModelAndView
exportXls
(
HttpServletRequest
request
,
RecordsMasterCheck
recordsMasterCheck
)
{
return
super
.
exportXls
(
request
,
recordsMasterCheck
,
RecordsMasterCheck
.
class
,
"道床使用情况"
);
return
super
.
exportXls
(
request
,
recordsMasterCheck
,
RecordsMasterCheck
.
class
,
"道床使用情况
检查
"
);
}
}
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