|
|
@ -118,6 +118,18 @@ public class CheckReportController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 详情
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RequiresPermissions("system:check:detail")
|
|
|
|
|
|
|
|
@GetMapping("/detail/{checkId}")
|
|
|
|
|
|
|
|
public String detail(@PathVariable("checkId") String checkId, ModelMap mmap) {
|
|
|
|
|
|
|
|
TdCheckReportDTO tdCheckReportDTO = checkReportManager.getTdCheckReportDTO(checkId);
|
|
|
|
|
|
|
|
mmap.put("tdCheckReportDTO", tdCheckReportDTO);
|
|
|
|
|
|
|
|
return prefix + "/detail";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 详情
|
|
|
|
* 详情
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -142,9 +154,9 @@ public class CheckReportController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 自查
|
|
|
|
* 自查
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("system:check:selfcheck")
|
|
|
|
@RequiresPermissions("system:check:selfCheck")
|
|
|
|
@GetMapping("/selfcheck/{checkId}")
|
|
|
|
@GetMapping("/selfCheck/{checkId}")
|
|
|
|
public String selfcheck(@PathVariable("checkId") String checkId, ModelMap mmap) {
|
|
|
|
public String selfCheck(@PathVariable("checkId") String checkId, ModelMap mmap) {
|
|
|
|
TdCheckReportDTO tdCheckReportDTO = checkReportManager.getTdCheckReportDTO(checkId);
|
|
|
|
TdCheckReportDTO tdCheckReportDTO = checkReportManager.getTdCheckReportDTO(checkId);
|
|
|
|
mmap.put("tdCheckReportDTO", tdCheckReportDTO);
|
|
|
|
mmap.put("tdCheckReportDTO", tdCheckReportDTO);
|
|
|
|
return prefix + "/selfcheck";
|
|
|
|
return prefix + "/selfcheck";
|
|
|
@ -154,11 +166,11 @@ public class CheckReportController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 保存自查结果
|
|
|
|
* 保存自查结果
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("system:check:selfcheck")
|
|
|
|
@RequiresPermissions("system:check:selfCheck")
|
|
|
|
@Log(title = "检查报告管理", businessType = BusinessType.CHECK)
|
|
|
|
@Log(title = "检查报告管理", businessType = BusinessType.CHECK)
|
|
|
|
@PostMapping("/selfcheckSave")
|
|
|
|
@PostMapping("/selfCheckSave")
|
|
|
|
@ResponseBody
|
|
|
|
@ResponseBody
|
|
|
|
public AjaxResult selfcheckSave(@RequestBody TdCheckReportDTO checkReportDTO) {
|
|
|
|
public AjaxResult selfCheckSave(@RequestBody TdCheckReportDTO checkReportDTO) {
|
|
|
|
return toAjax(checkReportManager.saveOrUpdate(checkReportDTO));
|
|
|
|
return toAjax(checkReportManager.saveOrUpdate(checkReportDTO));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|