认证-上报库参数项-参数配置详情
This commit is contained in:
+28
@@ -5,7 +5,9 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.jero.common.api.vo.Result;
|
||||
import com.jero.common.aspect.annotation.AutoLog;
|
||||
import com.jero.common.system.base.controller.JeroController;
|
||||
import com.jero.modules.cert.report.entity.ParamsReportConfigEO;
|
||||
import com.jero.modules.cert.report.entity.ParamsReportDetailEO;
|
||||
import com.jero.modules.cert.report.service.IParamsReportConfigEOService;
|
||||
import com.jero.modules.cert.report.service.IParamsReportDetailEOService;
|
||||
import com.jero.modules.cert.report.vo.ParamsReportDetailVO;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -38,6 +40,9 @@ public class ParamsReportDetailEOController extends JeroController<ParamsReportD
|
||||
@Autowired
|
||||
private IParamsReportDetailEOService paramsReportDetailEOService;
|
||||
|
||||
@Autowired
|
||||
private IParamsReportConfigEOService paramsReportConfigEOService;
|
||||
|
||||
/**
|
||||
* 表头中英文切换
|
||||
*
|
||||
@@ -148,4 +153,27 @@ public class ParamsReportDetailEOController extends JeroController<ParamsReportD
|
||||
paramsReportDetailEOService.exportCustom(paramsReportDetailVO, response, request);
|
||||
}
|
||||
|
||||
// @ApiOperation(value = "上报库参数项-自定义导出excel")
|
||||
// @GetMapping(value = "/exportCustomExcel")
|
||||
//// @RequiresPermissions("report:detail:export:custom")
|
||||
// public void exportCustomExcel(ParamsReportDetailVO paramsReportDetailVO,
|
||||
// HttpServletResponse response,
|
||||
// HttpServletRequest request) {
|
||||
// paramsReportDetailEOService.exportCustomExcel(paramsReportDetailVO, response, request);
|
||||
// }
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "上报库参数配置-查看单个详情")
|
||||
@ApiOperation(value="上报库参数配置-查看单个详情", notes="上报库参数配置-查看单个详情")
|
||||
@GetMapping(value = "/getConfig")
|
||||
// @RequiresPermissions("report:detail:list")
|
||||
public Result<ParamsReportConfigEO> getById(@RequestParam(name = "id") String id) {
|
||||
ParamsReportConfigEO paramsReportConfigEO = paramsReportConfigEOService.getById(id);
|
||||
return Result.OK(paramsReportConfigEO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user