提交代码
parent
c9743faf84
commit
feb864da4a
|
@ -62,7 +62,7 @@ public class ProjectTrainController extends BaseController {
|
|||
* @return
|
||||
*/
|
||||
@PostMapping("/addTrain")
|
||||
@Log(title = "专项培训", businessType = BusinessType.INSERT)
|
||||
@Log(title = "教育培训", businessType = BusinessType.INSERT)
|
||||
public AjaxResult addTrain(@RequestBody WorkTrain workTrain){
|
||||
return success(workTrainService.insertWorkTrain(workTrain));
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ public class ProjectTrainController extends BaseController {
|
|||
/**
|
||||
* 删除专项培训
|
||||
*/
|
||||
@Log(title = "专项培训", businessType = BusinessType.DELETE)
|
||||
@Log(title = "教育培训", businessType = BusinessType.DELETE)
|
||||
@GetMapping("/removeTrain")
|
||||
public AjaxResult removeTrain(@RequestParam Long id)
|
||||
{
|
||||
|
|
|
@ -350,7 +350,7 @@ public class ProjectViewController extends BaseBuildNodeController{
|
|||
tempCell.setCellStyle(headerStyle);
|
||||
|
||||
tempCell = tempRow.createCell(17);
|
||||
tempCell.setCellValue("专项培训");
|
||||
tempCell.setCellValue("教育培训");
|
||||
tempCell.setCellStyle(headerStyle);
|
||||
|
||||
tempCell = tempRow.createCell(18);
|
||||
|
@ -392,7 +392,7 @@ public class ProjectViewController extends BaseBuildNodeController{
|
|||
tempCell.setCellStyle(headerStyle);
|
||||
|
||||
tempCell = tempRow.createCell(27);
|
||||
tempCell.setCellValue("延迟摄影");
|
||||
tempCell.setCellValue("项目全景");
|
||||
tempCell.setCellStyle(headerStyle);
|
||||
|
||||
tempCell = tempRow.createCell(28);
|
||||
|
|
|
@ -40,7 +40,7 @@ public class ProjectViewExport implements Serializable {
|
|||
@Excel(name = "应急演练", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
private String yjyl;
|
||||
|
||||
@Excel(name = "专项培训", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
@Excel(name = "教育培训", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
private String zxpx;
|
||||
|
||||
@Excel(name = "质量隐患-甲方经理", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
|
|
|
@ -25,7 +25,7 @@ public class ProjectViewJlExport implements Serializable {
|
|||
@Excel(name = "应急演练", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
private String yjyl;
|
||||
|
||||
@Excel(name = "专项培训", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
@Excel(name = "教育培训", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
private String zxpx;
|
||||
|
||||
@Excel(name = "质量隐患-监理单位", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||
|
|
|
@ -22,7 +22,7 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
|
|||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 项目延时摄影Controller
|
||||
* 项目项目全景Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-15
|
||||
|
@ -35,7 +35,7 @@ public class SurProjectPhotographyController extends BaseController
|
|||
private ISurProjectPhotographyService surProjectPhotographyService;
|
||||
|
||||
/**
|
||||
* 查询项目延时摄影列表
|
||||
* 查询项目项目全景列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('video:prjphotography:list')")
|
||||
@GetMapping("/list")
|
||||
|
@ -47,20 +47,20 @@ public class SurProjectPhotographyController extends BaseController
|
|||
}
|
||||
|
||||
/**
|
||||
* 导出项目延时摄影列表
|
||||
* 导出项目项目全景列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('video:prjphotography:export')")
|
||||
@Log(title = "项目延时摄影", businessType = BusinessType.EXPORT)
|
||||
@Log(title = "项目全景", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SurProjectPhotography surProjectPhotography)
|
||||
{
|
||||
List<SurProjectPhotography> list = surProjectPhotographyService.selectSurProjectPhotographyList(surProjectPhotography);
|
||||
ExcelUtil<SurProjectPhotography> util = new ExcelUtil<SurProjectPhotography>(SurProjectPhotography.class);
|
||||
util.exportExcel(response, list, "项目延时摄影数据");
|
||||
util.exportExcel(response, list, "项目全景数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取项目延时摄影详细信息
|
||||
* 获取项目项目全景详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('video:prjphotography:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
|
@ -70,10 +70,10 @@ public class SurProjectPhotographyController extends BaseController
|
|||
}
|
||||
|
||||
/**
|
||||
* 新增项目延时摄影
|
||||
* 新增项目项目全景
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('video:prjphotography:add')")
|
||||
@Log(title = "项目延时摄影", businessType = BusinessType.INSERT)
|
||||
@Log(title = "项目项目全景", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody SurProjectPhotography surProjectPhotography)
|
||||
{
|
||||
|
@ -81,10 +81,10 @@ public class SurProjectPhotographyController extends BaseController
|
|||
}
|
||||
|
||||
/**
|
||||
* 修改项目延时摄影
|
||||
* 修改项目项目全景
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('video:prjphotography:edit')")
|
||||
@Log(title = "项目延时摄影", businessType = BusinessType.UPDATE)
|
||||
@Log(title = "项目项目全景", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody SurProjectPhotography surProjectPhotography)
|
||||
{
|
||||
|
@ -92,10 +92,10 @@ public class SurProjectPhotographyController extends BaseController
|
|||
}
|
||||
|
||||
/**
|
||||
* 删除项目延时摄影
|
||||
* 删除项目项目全景
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('video:prjphotography:remove')")
|
||||
@Log(title = "项目延时摄影", businessType = BusinessType.DELETE)
|
||||
@Log(title = "项目项目全景", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue