Commit 0177b8c4 authored by shizhilong's avatar shizhilong

检查道床记录优化 --shizhilong

parent 3d5d21aa
...@@ -2,17 +2,13 @@ package org.jeecg.modules.checkData.equipmentCheckData.controller; ...@@ -2,17 +2,13 @@ package org.jeecg.modules.checkData.equipmentCheckData.controller;
import cn.hutool.core.util.ObjectUtil; 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.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import org.apache.shiro.SecurityUtils;
import org.jeecg.common.api.vo.Result; import org.jeecg.common.api.vo.Result;
import org.jeecg.common.aspect.annotation.AutoLog; 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.dto.RecordsMasterCheckDTO;
import org.jeecg.modules.checkData.equipmentCheckData.entity.RecordsMasterCheck; import org.jeecg.modules.checkData.equipmentCheckData.entity.RecordsMasterCheck;
import org.jeecg.modules.checkData.equipmentCheckData.entity.TrackBedManagementCheck; import org.jeecg.modules.checkData.equipmentCheckData.entity.TrackBedManagementCheck;
...@@ -23,9 +19,6 @@ import org.jeecg.modules.checkData.equipmentCheckData.vo.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.entity.TrackBedManagement;
import org.jeecg.modules.deviceAsset.service.ITrackBedManagementService; import org.jeecg.modules.deviceAsset.service.ITrackBedManagementService;
import org.jeecg.modules.utils.BeanCopyUtil; 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.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -38,7 +31,6 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -38,7 +31,6 @@ import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.stream.Collectors;
/** /**
* <p> * <p>
...@@ -116,17 +108,16 @@ public class RecordsMasterCheckController extends JeecgController<RecordsMasterC ...@@ -116,17 +108,16 @@ public class RecordsMasterCheckController extends JeecgController<RecordsMasterC
} }
/** /**
* 导出excel * 设备检查记录导出excel
* @param request * @param request
* @param ekCode 检查批次好 * @param recordsMasterCheck
* @param subwaySectionName 检查区间名称
* @param lightRailName 线路
* @param lineAliasName 线别
* @return * @return
*/ */
@AutoLog(value = "设备检查记录导出excel")
@ApiOperation(value = "设备检查记录导出excel", notes = "设备检查记录导出excel")
@RequestMapping(value = "/exportXls") @RequestMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest request,RecordsMasterCheck recordsMasterCheck) { public ModelAndView exportXls(HttpServletRequest request,RecordsMasterCheck recordsMasterCheck) {
return super.exportXls(request, recordsMasterCheck, RecordsMasterCheck.class, "道床使用情况"); return super.exportXls(request, recordsMasterCheck, RecordsMasterCheck.class, "道床使用情况检查");
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment