| | |
| | | |
| | | /** |
| | | * 客户满意度调查列表 |
| | | * @param |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "客户满意度调查列表") |
| | | @PostMapping("/pageClientSatisfaction") |
| | | @GetMapping("/pageClientSatisfaction") |
| | | public Result<IPage<ClientSatisfaction>> pageClientSatisfaction(Page page,ClientSatisfaction clientSatisfaction) throws Exception { |
| | | return Result.success(clientSatisfactionService.pageClientSatisfaction(page, clientSatisfaction)); |
| | | } |
| | |
| | | * 客户满意度调查修改 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "客户满意度调查新增") |
| | | @GetMapping("/delClientSatisfaction") |
| | | public Result updateClientSatisfaction(Integer clientSatisfactionId){ |
| | |
| | | * @param response |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "客户满意导出") |
| | | @GetMapping("/exportWordClientSatisfaction") |
| | | public Result exportWordClientSatisfaction(Integer clientSatisfactionId, HttpServletResponse response){ |
| | |
| | | * @param clientSatisfaction 要修改客户满意度的状态对象 |
| | | * @param userId 修改人id |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "确认客户满意度") |
| | | @GetMapping("/confirmClientSatisfaction") |
| | | public void confirmClientSatisfaction(ClientSatisfaction clientSatisfaction, Integer userId){ |
| | | @PostMapping("/confirmClientSatisfaction") |
| | | public void confirmClientSatisfaction(@RequestBody ClientSatisfaction clientSatisfaction, Integer userId){ |
| | | clientSatisfactionService.confirmClientSatisfaction(clientSatisfaction, userId); |
| | | } |
| | | |
| | |
| | | * @param file |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "新增户分析附件") |
| | | @PostMapping("/uploadAnalyseFile") |
| | | public Result<?> uploadAnalyseFile(MultipartFile file) { |
| | |
| | | * 查询户分析附件 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "查询户分析附件") |
| | | @PostMapping("/pageAnalyseFile") |
| | | public Result<IPage<ClientSatisfactionAnalyseFile>> pageAnalyseFile(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ClientSatisfactionAnalyseFile analyseFile = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ClientSatisfactionAnalyseFile.class); |
| | | @GetMapping("/pageAnalyseFile") |
| | | public Result<IPage<ClientSatisfactionAnalyseFile>> pageAnalyseFile(Page page, ClientSatisfactionAnalyseFile analyseFile) { |
| | | return Result.success(clientSatisfactionService.pageAnalyseFile(page, analyseFile)); |
| | | } |
| | | |
| | |
| | | * 删除户分析附件 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "删除户分析附件") |
| | | @GetMapping("/delAnalyseFile") |
| | | public Result delAnalyseFile(Integer analyseFileId){ |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "内审检查分页查询") |
| | | @PostMapping("/pageInternalCheck") |
| | | @GetMapping("/pageInternalCheck") |
| | | public Result<IPage<InternalCheckDto>> pageInternalCheck(Page page,InternalCheck internalCheck) throws Exception { |
| | | return Result.success(internalCheckService.pageInternalCheck(page, internalCheck)); |
| | | } |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "内审检查删除") |
| | | @GetMapping("/delInternalCheck") |
| | | @DeleteMapping("/delInternalCheck") |
| | | public Result delInternalCheck(Integer checkId){ |
| | | return Result.success(internalCheckService.delInternalCheck(checkId)); |
| | | } |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "查询内审管理纠正措施列表") |
| | | @PostMapping("/pageInternalCorrect") |
| | | public Result<IPage<InternalCorrect>> pageInternalCorrect(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalCorrect detailsCorrect = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalCorrect.class); |
| | | @GetMapping("/pageInternalCorrect") |
| | | public Result<IPage<InternalCorrect>> pageInternalCorrect(Page page, InternalCorrect detailsCorrect) { |
| | | return Result.success(internalCorrectService.pageInternalCorrect(page, detailsCorrect)); |
| | | } |
| | | |
| | |
| | | |
| | | /** |
| | | * 内审实施计划分页查询 |
| | | * @param |
| | | * @param |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "内审实施计划分页查询") |
| | | @PostMapping("/pageInternalImplement") |
| | | @GetMapping("/pageInternalImplement") |
| | | public Result<IPage<InternalImplementDto>> pageInternalImplement(Page page,InternalImplement internalImplement) throws Exception { |
| | | return Result.success(internalImplementService.pageInternalImplement(page, internalImplement)); |
| | | } |
| | |
| | | * 内审实施计划新增 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "内审实施计划新增") |
| | | @PostMapping("/addInternalImplement") |
| | | public Result addInternalImplement(@RequestBody InternalImplementDto internalImplement){ |
| | |
| | | * 内审实施计划修改 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "内审实施计划修改") |
| | | @PostMapping("/updateInternalImplement") |
| | | public Result updateInternalImplement(@RequestBody InternalImplementDto internalImplement){ |
| | |
| | | * 内审实施计划删除 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "内审实施计划删除") |
| | | @GetMapping("/delInternalImplement") |
| | | public Result delInternalImplement(Integer implementId){ |
| | |
| | | * 内审实施计划查看详情 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "内审实施计划查看详情") |
| | | @GetMapping("/getInternalImplementOne") |
| | | public Result<InternalImplementDto> getInternalImplementOne(Integer implementId){ |
| | |
| | | * 导出内审实施计划 |
| | | * @return |
| | | */ |
| | | |
| | | |
| | | @ApiOperation(value = "导出内审实施计划") |
| | | @GetMapping("/exportInternalImplement") |
| | | public void exportInternalImplement(Integer implementId, HttpServletResponse response){ |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "内审会议分页查询") |
| | | @PostMapping("/pageInternalMeeting") |
| | | @GetMapping("/pageInternalMeeting") |
| | | public Result<IPage<InternalMeetingDto>> pageInternalMeeting(Page page,InternalMeeting internalMeeting) throws Exception { |
| | | return Result.success(internalMeetingService.pageInternalMeeting(page, internalMeeting)); |
| | | } |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "内审年度计划分页查询") |
| | | @PostMapping("/pageInternalPlan") |
| | | @GetMapping("/pageInternalPlan") |
| | | public Result<IPage<InternalPlanDto>> pageInternalPlan(Page page,InternalPlan internalPlan) throws Exception { |
| | | return Result.success(internalPlanService.pageInternalPlan(page, internalPlan)); |
| | | } |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "内审报告分页查询") |
| | | @PostMapping("/pageInternalReport") |
| | | @GetMapping("/pageInternalReport") |
| | | public Result<IPage<InternalReport>> pageInternalReport(Page page,InternalReport internalReport) throws Exception { |
| | | return Result.success(internalReportService.pageInternalReport(page, internalReport)); |
| | | } |
| | |
| | | */ |
| | | |
| | | @ApiOperation(value = "内审报告删除") |
| | | @GetMapping("/delInternalReport") |
| | | @DeleteMapping("/delInternalReport") |
| | | public Result delInternalReport(Integer reportId){ |
| | | return Result.success(internalReportService.removeById(reportId)); |
| | | } |
| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "批准") |
| | | @GetMapping("/approvalOfControlPlanChecklist") |
| | | public Result<?> approvalOfControlPlanChecklist(Integer approve, Integer status){ |
| | | @PostMapping("/approvalOfControlPlanChecklist") |
| | | public Result<?> approvalOfControlPlanChecklist(@RequestBody Map<String, Integer> param){ |
| | | Integer approve = param.get("approve"); |
| | | Integer status= param.get("status"); |
| | | manageControlPlanListService.update(Wrappers.<ManageControlPlanList>lambdaUpdate() |
| | | .set(ManageControlPlanList::getApprove, approve) |
| | | .set(ManageControlPlanList::getApproveStatus, status) |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "审批") |
| | | @GetMapping("/riskAnalysisApprovalOfControlPlanChecklist") |
| | | public Result<?> riskAnalysisApprovalOfControlPlanChecklist(Integer approval, Integer status){ |
| | | @PostMapping("/riskAnalysisApprovalOfControlPlanChecklist") |
| | | public Result<?> riskAnalysisApprovalOfControlPlanChecklist(@RequestBody Map<String, Integer> param){ |
| | | Integer approval = param.get("approval"); |
| | | Integer status= param.get("status"); |
| | | manageControlPlanListService.update(Wrappers.<ManageControlPlanList>lambdaUpdate() |
| | | .set(ManageControlPlanList::getApproval, approval) |
| | | .set(ManageControlPlanList::getApprovalStatus, status) |
| | |
| | | |
| | | @ApiOperation(value = "新增") |
| | | @PostMapping("/analysisOfMajorRiskFactorsAdded") |
| | | public void analysisOfMajorRiskFactorsAdded(@RequestBody ManageControlPlanList manageControlPlanList) throws IOException { |
| | | public void analysisOfMajorRiskFactorsAdded(@RequestBody ManageControlPlanList manageControlPlanList) { |
| | | Integer userId = SecurityUtils.getUserId().intValue(); |
| | | manageControlPlanList.setEditor(userId); |
| | | manageControlPlanList.setEditorDate(LocalDateTime.now()); |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除") |
| | | @GetMapping("/deleteSignificantRiskFactorAnalysis") |
| | | public void deleteSignificantRiskFactorAnalysis(Integer id) throws IOException { |
| | | @DeleteMapping("/deleteSignificantRiskFactorAnalysis") |
| | | public void deleteSignificantRiskFactorAnalysis(Integer id) { |
| | | manageControlPlanListService.removeById(id); |
| | | } |
| | | |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | private ManageDocumentAlterService manageDocumentAlterService; |
| | | |
| | | @ApiOperation(value = "分页查询文件变更") |
| | | @PostMapping("/pageManageDocumentAlter") |
| | | @GetMapping("/pageManageDocumentAlter") |
| | | public Result pageManageDocumentAlter(Page page,ManageDocumentAlter manageDocumentAlter) throws Exception { |
| | | return Result.success(manageDocumentAlterService.pageManageDocumentAlter(page, manageDocumentAlter)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件变更") |
| | | @PostMapping("/delManageDocumentAlter") |
| | | @DeleteMapping("/delManageDocumentAlter") |
| | | public Result delManageDocumentAlter(Integer id){ |
| | | return Result.success(manageDocumentAlterService.delManageDocumentAlter(id)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "查看文件变更") |
| | | @PostMapping("/getManageDocumentAlter") |
| | | @GetMapping("/getManageDocumentAlter") |
| | | public Result getManageDocumentAlter(Integer id){ |
| | | return Result.success(manageDocumentAlterService.getManageDocumentAlter(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "新增文件变更") |
| | | @PostMapping("/addManageDocumentAlter") |
| | | public Result addManageDocumentAlter(ManageDocumentAlter manageDocumentAlter){ |
| | | public Result addManageDocumentAlter(@RequestBody ManageDocumentAlter manageDocumentAlter){ |
| | | return Result.success(manageDocumentAlterService.addManageDocumentAlter(manageDocumentAlter)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "编辑文件变更") |
| | | @PostMapping("/doManageDocumentAlter") |
| | | public Result doManageDocumentAlter(ManageDocumentAlter manageDocumentAlter){ |
| | | public Result doManageDocumentAlter(@RequestBody ManageDocumentAlter manageDocumentAlter){ |
| | | return Result.success(manageDocumentAlterService.doManageDocumentAlter(manageDocumentAlter)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "审核文件变更") |
| | | @PostMapping("/checkManageDocumentAlter") |
| | | public Result checkManageDocumentAlter(ManageDocumentAlter manageDocumentAlter){ |
| | | public Result checkManageDocumentAlter(@RequestBody ManageDocumentAlter manageDocumentAlter){ |
| | | return Result.success(manageDocumentAlterService.checkManageDocumentAlter(manageDocumentAlter)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "导出文件变更") |
| | | @PostMapping("/exportManageDocumentAlter") |
| | | @GetMapping("/exportManageDocumentAlter") |
| | | public void exportManageDocumentAlter(ManageDocumentAlter manageDocumentAlter,HttpServletResponse response) throws Exception { |
| | | manageDocumentAlterService.exportManageDocumentAlter(manageDocumentAlter,response); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | private ManageDocumentCancelService manageDocumentCancelService; |
| | | |
| | | @ApiOperation(value = "分页查询文件作废") |
| | | @PostMapping("/pageManageDocumentCancel") |
| | | @GetMapping("/pageManageDocumentCancel") |
| | | public Result pageManageDocumentCancel(Page page,ManageDocumentCancel manageDocumentCancel) throws Exception { |
| | | return Result.success(manageDocumentCancelService.pageManageDocumentCancel(page, manageDocumentCancel)); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "审核文件作废") |
| | | @PostMapping("/checkManageDocumentCancel") |
| | | public Result checkManageDocumentCancel(Integer id, String state) { |
| | | public Result checkManageDocumentCancel(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String state = (String) param.get("state"); |
| | | return Result.success(manageDocumentCancelService.checkManageDocumentCancel(id, state)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件作废") |
| | | @PostMapping("/delManageDocumentCancel") |
| | | @DeleteMapping("/delManageDocumentCancel") |
| | | public Result delManageDocumentCancel(Integer id) { |
| | | return Result.success(manageDocumentCancelService.delManageDocumentCancel(id)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "查看文件作废") |
| | | @PostMapping("/getManageDocumentCancel") |
| | | @GetMapping("/getManageDocumentCancel") |
| | | public Result getManageDocumentCancel(Integer id) { |
| | | return Result.success(manageDocumentCancelService.getManageDocumentCancel(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "导出文件作废") |
| | | @PostMapping("/exportManageDocumentCancel") |
| | | @GetMapping("/exportManageDocumentCancel") |
| | | public void exportManageDocumentCancel(ManageDocumentCancel manageDocumentCancel,HttpServletResponse response) throws Exception { |
| | | manageDocumentCancelService.exportManageDocumentCancel(manageDocumentCancel,response); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | private ManageDocumentControlledService manageDocumentControlledService; |
| | | |
| | | @ApiOperation(value = "分页查询文件受控") |
| | | @PostMapping("/pageManageDocumentControlled") |
| | | @GetMapping("/pageManageDocumentControlled") |
| | | public Result pageManageDocumentControlled(Page page,ManageDocumentControlled manageDocumentControlled) throws Exception { |
| | | return Result.success(manageDocumentControlledService.pageManageDocumentControlled(page, manageDocumentControlled)); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "查看文件受控") |
| | | @PostMapping("/getManageDocumentControlled") |
| | | @GetMapping("/getManageDocumentControlled") |
| | | public Result getManageDocumentControlled(Long id){ |
| | | return Result.success(manageDocumentControlledService.getManageDocumentControlled(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件受控") |
| | | @PostMapping("/delManageDocumentControlled") |
| | | @DeleteMapping("/delManageDocumentControlled") |
| | | public Result delManageDocumentControlled(Long id){ |
| | | return Result.success(manageDocumentControlledService.delManageDocumentControlled(id)); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "审核文件受控") |
| | | @PostMapping("/checkManageDocumentControlled") |
| | | public Result checkManageDocumentControlled(ManageDocumentControlled manageDocumentControlled){ |
| | | public Result checkManageDocumentControlled(@RequestBody ManageDocumentControlled manageDocumentControlled){ |
| | | return Result.success(manageDocumentControlledService.checkManageDocumentControlled(manageDocumentControlled)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "审核查看附件") |
| | | @PostMapping("/checkManageDocumentControlledPdf") |
| | | @GetMapping("/checkManageDocumentControlledPdf") |
| | | public void checkManageDocumentControlledPdf(Long id, HttpServletResponse response)throws Exception { |
| | | manageDocumentControlledService.checkManageDocumentControlledPdf(id,response); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | private ManageDocumentIssueRecycleService manageDocumentIssueRecycleService; |
| | | |
| | | @ApiOperation(value = "分页查询文件发放回收") |
| | | @PostMapping("/pageManageDocumentIssueRecycle") |
| | | @GetMapping("/pageManageDocumentIssueRecycle") |
| | | public Result pageManageDocumentIssueRecycle(Page page,ManageDocumentIssueRecycleDto manageDocumentIssueRecycleDto) throws Exception { |
| | | return Result.success(manageDocumentIssueRecycleService.pageManageDocumentIssueRecycle(page, manageDocumentIssueRecycleDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "新增文件发放回收") |
| | | @PostMapping("/addManageDocumentIssueRecycle") |
| | | public Result addManageDocumentIssueRecycle(ManageDocumentIssueRecycle manageDocumentIssueRecycle){ |
| | | public Result addManageDocumentIssueRecycle(@RequestBody ManageDocumentIssueRecycle manageDocumentIssueRecycle){ |
| | | return Result.success(manageDocumentIssueRecycleService.addManageDocumentIssueRecycle(manageDocumentIssueRecycle)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件发放回收") |
| | | @PostMapping("/delManageDocumentIssueRecycle") |
| | | @DeleteMapping("/delManageDocumentIssueRecycle") |
| | | public Result delManageDocumentIssueRecycle(Long id){ |
| | | return Result.success(manageDocumentIssueRecycleService.delManageDocumentIssueRecycle(id)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "查看文件发放回收") |
| | | @PostMapping("/getManageDocumentIssueRecycle") |
| | | @GetMapping("/getManageDocumentIssueRecycle") |
| | | public Result getManageDocumentIssueRecycle(Long id){ |
| | | return Result.success(manageDocumentIssueRecycleService.getManageDocumentIssueRecycle(id)); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "编辑文件发放回收") |
| | | @PostMapping("/doManageDocumentIssueRecycle") |
| | | public Result doManageDocumentIssueRecycle(ManageDocumentIssueRecycle manageDocumentIssueRecycle){ |
| | | public Result doManageDocumentIssueRecycle(@RequestBody ManageDocumentIssueRecycle manageDocumentIssueRecycle){ |
| | | return Result.success(manageDocumentIssueRecycleService.doManageDocumentIssueRecycle(manageDocumentIssueRecycle)); |
| | | } |
| | | |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private ManageDocumentListService manageDocumentListService; |
| | | |
| | | @ApiOperation(value = "分页查询文件清单") |
| | | @PostMapping("/pageManageDocumentList") |
| | | @GetMapping("/pageManageDocumentList") |
| | | public Result pageManageDocumentList(Page page,ManageDocumentList manageDocumentList) throws Exception { |
| | | return Result.success(manageDocumentListService.pageManageDocumentList(page, manageDocumentList)); |
| | | } |
| | |
| | | return Result.success(manageDocumentListService.updateById(manageDocumentList)); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑文件清单") |
| | | @PostMapping("/delManageDocumentList") |
| | | @ApiOperation(value = "删除文件清单") |
| | | @DeleteMapping("/delManageDocumentList") |
| | | public Result delManageDocumentList(Integer id) { |
| | | return Result.success(manageDocumentListService.removeById(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑会议记录") |
| | | @PutMapping("/modifyMeeting") |
| | | @PostMapping("/modifyMeeting") |
| | | public Result modifyMeeting(@RequestBody ManageMeetingDto manageMeetingDto){ |
| | | return Result.success(manageMeetingService.modifyMeeting(manageMeetingDto)); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "下载会议记录") |
| | | @PostMapping("/exportMeeting") |
| | | @GetMapping("/exportMeeting") |
| | | public void exportMeeting(Integer id, HttpServletResponse response){ |
| | | manageMeetingService.exportMeeting(id,response); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "新增会议记录参会人员") |
| | | @PostMapping("/add") |
| | | public Result addParticipants(List<ManageMeetingParticipants> list){ |
| | | public Result addParticipants(@RequestBody List<ManageMeetingParticipants> list){ |
| | | manageMeetingParticipantsService.saveBatch(list); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除会议记录参会人员") |
| | | @DeleteMapping("/delete") |
| | | public Result deleteParticipants(List<Integer> ids){ |
| | | public Result deleteParticipants(@RequestBody List<Integer> ids){ |
| | | manageMeetingParticipantsService.removeByIds(ids); |
| | | return Result.success(); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | private ManageRecordAuditService manageRecordAuditService; |
| | | |
| | | @ApiOperation(value = "分页查询文件修订申请审批记录") |
| | | @PostMapping("/pageManageRecordAudit") |
| | | @GetMapping("/pageManageRecordAudit") |
| | | public Result pageManageRecordAudit(Page page,ManageRecordAudit manageRecordAudit) throws Exception { |
| | | return Result.success(manageRecordAuditService.pageManageRecordAudit(page, manageRecordAudit)); |
| | | } |
| | | |
| | | @ApiOperation(value = "新增文件修订申请审批记录") |
| | | @PostMapping("/addManageRecordAudit") |
| | | public Result addManageRecordAudit( ManageRecordAudit manageRecordAudit){ |
| | | public Result addManageRecordAudit(@RequestBody ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.addManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "编辑文件修订申请审批记录") |
| | | @PostMapping("/doManageRecordAudit") |
| | | public Result doManageRecordAudit(ManageRecordAudit manageRecordAudit){ |
| | | public Result doManageRecordAudit(@RequestBody ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.doManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件修订申请审批记录") |
| | | @PostMapping("/delManageRecordAudit") |
| | | @DeleteMapping("/delManageRecordAudit") |
| | | public Result delManageRecordAudit(Integer id){ |
| | | return Result.success(manageRecordAuditService.removeById(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准文件修订申请审批记录") |
| | | @PostMapping("/ratifyManageRecordAudit") |
| | | public Result ratifyManageRecordAudit(Integer id){ |
| | | public Result ratifyManageRecordAudit(@RequestBody Map<String, Integer> param){ |
| | | Integer id = param.get("id"); |
| | | return Result.success(manageRecordAuditService.ratifyManageRecordAudit(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "申请部门主管意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit1") |
| | | public void manageRecordAudit1(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "原制定部门意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit2") |
| | | public void manageRecordAudit2(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "原审核部门意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit3") |
| | | public void manageRecordAudit3(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "导出文件修订申请审批记录") |
| | | @PostMapping("/exportOutManageRecordAudit") |
| | | public Result exportOutManageRecordAudit(ManageRecordAudit manageRecordAudit, HttpServletResponse response) throws Exception { |
| | | @GetMapping("/exportOutManageRecordAudit") |
| | | public Result exportOutManageRecordAudit(ManageRecordAudit manageRecordAudit, HttpServletResponse response) { |
| | | return Result.success(manageRecordAuditService.exportOutManageRecordAudit(manageRecordAudit,response)); |
| | | } |
| | | |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private ManageRecordCancelService manageRecordCancelService; |
| | | |
| | | @ApiOperation(value = "分页查询作废文件销毁记录") |
| | | @PostMapping("/pageManageRecordCancel") |
| | | @GetMapping("/pageManageRecordCancel") |
| | | public Result pageManageRecordCancel(Page page,ManageRecordCancel manageRecordCancel) throws Exception { |
| | | return Result.success(manageRecordCancelService.pageManageRecordCancel(page, manageRecordCancel)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除作废文件销毁记录") |
| | | @PostMapping("/delManageRecordCancel") |
| | | @DeleteMapping("/delManageRecordCancel") |
| | | public Result delManageRecordCancel(Integer id){ |
| | | return Result.success(manageRecordCancelService.removeById(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准作废文件销毁记录") |
| | | @PostMapping("/ratifyManageRecordCancel") |
| | | public Result ratifyManageRecordCancel(Integer id,String ratifyState){ |
| | | public Result ratifyManageRecordCancel(@RequestBody Map<String, Object> param){ |
| | | Integer id = (Integer) param.get("id"); |
| | | String ratifyState = (String) param.get("ratifyState"); |
| | | return Result.success(manageRecordCancelService.ratifyManageRecordCancel(id,ratifyState)); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出作废文件销毁记录") |
| | | @PostMapping("/exportOutManageRecordCancel") |
| | | @GetMapping("/exportOutManageRecordCancel") |
| | | public Result exportOutManageRecordCancel(ManageRecordCancel manageRecordCancel, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordCancelService.exportOutManageRecordCancel(manageRecordCancel,response)); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private ManageRecordCheckService manageRecordCheckService; |
| | | |
| | | @ApiOperation(value = "分页查询文件审批记录") |
| | | @PostMapping("/pageManageRecordCheck") |
| | | @GetMapping("/pageManageRecordCheck") |
| | | public Result pageManageRecordCheck(Page page,ManageRecordCheck manageRecordCheck) throws Exception { |
| | | return Result.success(manageRecordCheckService.pageManageRecordCheck(page, manageRecordCheck)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件审批记录") |
| | | @PostMapping("/delManageRecordCheck") |
| | | @DeleteMapping("/delManageRecordCheck") |
| | | public Result delManageRecordCheck(Integer id) { |
| | | return Result.success(manageRecordCheckService.removeById(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "审核文件审批记录") |
| | | @PostMapping("/checkManageRecordCheck") |
| | | public Result checkManageRecordCheck(Integer id,String checkState) { |
| | | public Result checkManageRecordCheck(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String checkState = (String) param.get("checkState"); |
| | | return Result.success(manageRecordCheckService.checkManageRecordCheck(id,checkState)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准文件审批记录") |
| | | @PostMapping("/ratifyManageRecordCheck") |
| | | public Result ratifyManageRecordCheck(Integer id,String ratifyState) { |
| | | public Result ratifyManageRecordCheck(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String ratifyState = (String) param.get("ratifyState"); |
| | | return Result.success(manageRecordCheckService.ratifyManageRecordCheck(id,ratifyState)); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出文件审批记录") |
| | | @PostMapping("/exportOutManageRecordCheck") |
| | | @GetMapping("/exportOutManageRecordCheck") |
| | | public Result exportOutManageRecordCheck(ManageRecordCheck manageRecordCheck, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordCheckService.exportOutManageRecordCheck(manageRecordCheck,response)); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private ManageRecordIntervalsService manageRecordIntervalsService; |
| | | |
| | | @ApiOperation(value = "分页查询文件定期审查记录") |
| | | @PostMapping("/pageManageRecordIntervals") |
| | | @GetMapping("/pageManageRecordIntervals") |
| | | public Result pageManageRecordIntervals(Page page,ManageRecordIntervals manageRecordIntervals) throws Exception { |
| | | return Result.success(manageRecordIntervalsService.pageManageRecordIntervals(page, manageRecordIntervals)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件定期审查记录") |
| | | @PostMapping("/delManageRecordIntervals") |
| | | @DeleteMapping("/delManageRecordIntervals") |
| | | public Result delManageRecordIntervals(Integer id) { |
| | | return Result.success(manageRecordIntervalsService.delManageRecordIntervals(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出文件定期审查记录") |
| | | @PostMapping("/exportOutManageRecordIntervals") |
| | | @GetMapping("/exportOutManageRecordIntervals") |
| | | public Result exportOutManageRecordIntervals(ManageRecordIntervals manageRecordIntervals, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordIntervalsService.exportOutManageRecordIntervals(manageRecordIntervals,response)); |
| | | } |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | |
| | | private ManageRecordIntervalsTotalService manageRecordIntervalsTotalService; |
| | | |
| | | @ApiOperation(value = "查询文件定期审查记录历史列表") |
| | | @PostMapping("/pageManageRecordIntervalsTotal") |
| | | @GetMapping("/pageManageRecordIntervalsTotal") |
| | | public Result pageManageRecordIntervalsTotal(Page page,ManageRecordIntervalsTotal manageRecordIntervalsTotal) throws Exception { |
| | | return Result.success(manageRecordIntervalsTotalService.pageManageRecordIntervalsTotal(page, manageRecordIntervalsTotal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "提交文件定期审查记录历史列表") |
| | | @PostMapping("/submitManageRecordIntervalsTotal") |
| | | public Result submitManageRecordIntervalsTotal(Integer id) { |
| | | public Result submitManageRecordIntervalsTotal(@RequestBody Map<String, Integer> param) { |
| | | Integer id = param.get("id"); |
| | | return Result.success(manageRecordIntervalsTotalService.submitManageRecordIntervalsTotal(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准文件定期审查记录历史列表") |
| | | @PostMapping("/ratifyManageRecordIntervalsTotal") |
| | | public Result ratifyManageRecordIntervalsTotal(Integer id, String ratifyState) { |
| | | public Result ratifyManageRecordIntervalsTotal(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String ratifyState = (String) param.get("ratifyState"); |
| | | return Result.success(manageRecordIntervalsTotalService.ratifyManageRecordIntervalsTotal(id, ratifyState)); |
| | | } |
| | | |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private ManageRecordIssueRecycleService manageRecordIssueRecycleService; |
| | | |
| | | @ApiOperation(value = "分页查询所有文件的发放与回收记录") |
| | | @PostMapping("/pageManageRecordIssueRecycle") |
| | | @GetMapping("/pageManageRecordIssueRecycle") |
| | | public Result pageManageRecordIssueRecycle(Page page,ManageRecordIssueRecycle manageRecordIssueRecycle) throws Exception { |
| | | return Result.success(manageRecordIssueRecycleService.pageManageRecordIssueRecycle(page, manageRecordIssueRecycle)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除所有文件的发放与回收记录") |
| | | @PostMapping("/delManageRecordIssueRecycle") |
| | | @DeleteMapping("/delManageRecordIssueRecycle") |
| | | public Result delManageRecordIssueRecycle(Integer id){ |
| | | return Result.success(manageRecordIssueRecycleService.removeById(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "导出所有文件的发放与回收记录") |
| | | @PostMapping("/exportOutManageRecordIssueRecycle") |
| | | public Result exportOutManageRecordIssueRecycle(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | | ManageRecordIssueRecycle manageRecordIssueRecycle = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordIssueRecycle.class); |
| | | @GetMapping("/exportOutManageRecordIssueRecycle") |
| | | public Result exportOutManageRecordIssueRecycle(ManageRecordIssueRecycle manageRecordIssueRecycle, HttpServletResponse response) { |
| | | return Result.success(manageRecordIssueRecycleService.exportOutManageRecordIssueRecycle(manageRecordIssueRecycle,response)); |
| | | } |
| | | |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | |
| | | private ManageRecordTotalService manageRecordTotalService; |
| | | |
| | | @ApiOperation(value = "查询外来文件确认记录历史列表") |
| | | @PostMapping("/pageManageRecordTotal") |
| | | public Result pageManageRecordTotal(Page page,ManageRecordTotal manageRecordTotal) throws Exception { |
| | | @GetMapping("/pageManageRecordTotal") |
| | | public Result pageManageRecordTotal(Page page, ManageRecordTotal manageRecordTotal) throws Exception { |
| | | return Result.success(manageRecordTotalService.pageManageRecordTotal(page, manageRecordTotal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "提交外来文件确认记录历史列表") |
| | | @PostMapping("/submitManageRecordTotal") |
| | | public Result submitManageRecordTotal(Integer id) { |
| | | public Result submitManageRecordTotal(@RequestBody Map<String, Integer> param) { |
| | | Integer id = param.get("id"); |
| | | return Result.success(manageRecordTotalService.submitManageRecordTotal(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准外来文件确认记录历史列表") |
| | | @PostMapping("/ratifyManageRecordTotal") |
| | | public Result ratifyManageRecordTotal(Integer id, String ratifyState) { |
| | | public Result ratifyManageRecordTotal(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String ratifyState = (String) param.get("ratifyState"); |
| | | return Result.success(manageRecordTotalService.ratifyManageRecordTotal(id, ratifyState)); |
| | | } |
| | | |
| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "查询外来文件确认记录详情") |
| | | @PostMapping("/pageManageRecordVerify") |
| | | @GetMapping("/pageManageRecordVerify") |
| | | public Result pageManageRecordVerify(Page page,ManageRecordVerify manageRecordVerify) throws Exception { |
| | | return Result.success(manageRecordVerifyService.pageManageRecordVerify(page, manageRecordVerify)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除外来文件确认记录") |
| | | @PostMapping("/delManageRecordVerify") |
| | | @DeleteMapping("/delManageRecordVerify") |
| | | public Result delManageRecordVerify(Integer id) { |
| | | return Result.success(manageRecordVerifyService.delManageRecordVerify(id)); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "查询评审计划") |
| | | @GetMapping("/getPageReviewProgram") |
| | | public Result<IPage<ManageReviewProgram>> getPageReviewProgram(Page page, String startTime,String endTime, String judgingLocation) throws Exception { |
| | | public Result<IPage<ManageReviewProgram>> getPageReviewProgram(Page page, String startTime,String endTime, String judgingLocation) { |
| | | IPage<ManageReviewProgram> ipage = manageReviewProgramService.page(page,startTime,endTime,judgingLocation); |
| | | return Result.success(ipage); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "下载评审计划") |
| | | @PostMapping("/exportReviewProgram") |
| | | @GetMapping("/exportReviewProgram") |
| | | public void exportReviewProgram(Integer id, HttpServletResponse response){ |
| | | manageReviewProgramService.exportReviewProgram(id,response); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "下载管理评审报告") |
| | | @PostMapping("/exportReviewReport") |
| | | @GetMapping("/exportReviewReport") |
| | | public void exportReviewReport(Integer id , HttpServletResponse response){ |
| | | manageReviewReportService.exportReviewReport(id,response); |
| | | } |
| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @RequestMapping("/manageRiskAssessmentResults") |
| | | public class ManageRiskAssessmentResultsController { |
| | | |
| | | @Autowired |
| | | |
| | | |
| | | @Resource |
| | | private ManageRiskAssessmentResultsService manageRiskAssessmentResultsService; |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "批准") |
| | | @GetMapping("/hazardIdentificationAndRiskApproval") |
| | | public Result<?> hazardIdentificationAndRiskApproval(Integer approve, Integer status) { |
| | | @PostMapping("/hazardIdentificationAndRiskApproval") |
| | | public Result<?> hazardIdentificationAndRiskApproval(@RequestBody Map<String, Integer> param) { |
| | | Integer approve = param.get("approve"); |
| | | Integer status = param.get("status"); |
| | | manageRiskAssessmentResultsService.update(Wrappers.<ManageRiskAssessmentResults>lambdaUpdate() |
| | | .set(ManageRiskAssessmentResults::getApprove, approve) |
| | | .set(ManageRiskAssessmentResults::getApproveStatus, status) |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "审批") |
| | | @GetMapping("/dangerousRiskApproval") |
| | | public Result<?> dangerousRiskApproval(Integer approval, Integer status) { |
| | | @PostMapping("/dangerousRiskApproval") |
| | | public Result<?> dangerousRiskApproval(@RequestBody Map<String, Integer> param) { |
| | | Integer approval = param.get("approval"); |
| | | Integer status = param.get("status"); |
| | | manageRiskAssessmentResultsService.update(Wrappers.<ManageRiskAssessmentResults>lambdaUpdate() |
| | | .set(ManageRiskAssessmentResults::getApproval, approval) |
| | | .set(ManageRiskAssessmentResults::getApprovalStatus, status) |
| | |
| | | @GetMapping(value = "/{menuId}") |
| | | public AjaxResult getInfo(@PathVariable Long menuId) |
| | | { |
| | | return success(menuService.selectMenuById(menuId)); |
| | | SysMenu sysMenu = menuService.selectMenuById(menuId); |
| | | return success(sysMenu); |
| | | } |
| | | |
| | | /** |
| | |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("remark", getRemark()) |
| | | .append("isRersonalButton", geIsRersonalButton()) |
| | | .toString(); |
| | | } |
| | | } |