| | |
| | | |
| | | <dependencies> |
| | | |
| | | <!-- 核心模块--> |
| | | <dependency> |
| | | <groupId>com.ruoyi</groupId> |
| | | <artifactId>ruoyi-framework</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- 系统模块--> |
| | | <dependency> |
| | | <groupId>com.ruoyi</groupId> |
| | | <artifactId>ruoyi-system</artifactId> |
| | | </dependency> |
| | | |
| | | <!--业务模块--> |
| | | <dependency> |
| | | <groupId>com.ruoyi</groupId> |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.mapper.ClientSatisfactionAnalyseFileMapper; |
| | | import com.ruoyi.manage.pojo.ClientSatisfaction; |
| | | import com.ruoyi.manage.pojo.ClientSatisfactionAnalyseFile; |
| | | import com.ruoyi.manage.service.ClientSatisfactionService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 客户满意度调查列表 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | @ApiOperation(value = "客户满意度调查列表") |
| | | @PostMapping("/pageClientSatisfaction") |
| | | public Result<IPage<ClientSatisfaction>> pageClientSatisfaction(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ClientSatisfaction clientSatisfaction = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ClientSatisfaction.class); |
| | | public Result<IPage<ClientSatisfaction>> pageClientSatisfaction(Page page,ClientSatisfaction clientSatisfaction) throws Exception { |
| | | return Result.success(clientSatisfactionService.pageClientSatisfaction(page, clientSatisfaction)); |
| | | } |
| | | |
| | |
| | | * 客户满意度调查新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | @ApiOperation(value = "客户满意度调查新增") |
| | | @PostMapping("/addClientSatisfaction") |
| | | public Result addClientSatisfaction(@RequestBody ClientSatisfaction clientSatisfaction){ |
| | |
| | | * 客户满意度调查修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | @ApiOperation(value = "客户满意度调查新增") |
| | | @PostMapping("/updateClientSatisfaction") |
| | | public Result updateClientSatisfaction(@RequestBody ClientSatisfaction clientSatisfaction){ |
| | |
| | | * 客户满意度调查修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "客户满意度调查新增") |
| | | @GetMapping("/delClientSatisfaction") |
| | | public Result updateClientSatisfaction(Integer clientSatisfactionId){ |
| | |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "客户满意导出") |
| | | @GetMapping("/exportWordClientSatisfaction") |
| | | public Result exportWordClientSatisfaction(Integer clientSatisfactionId, HttpServletResponse response){ |
| | |
| | | * @param clientSatisfaction 要修改客户满意度的状态对象 |
| | | * @param userId 修改人id |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "确认客户满意度") |
| | | @GetMapping("/confirmClientSatisfaction") |
| | | public void confirmClientSatisfaction(ClientSatisfaction clientSatisfaction, Integer userId){ |
| | |
| | | * @param file |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "新增户分析附件") |
| | | @PostMapping("/uploadAnalyseFile") |
| | | public Result<?> uploadAnalyseFile(MultipartFile file) { |
| | |
| | | * 查询户分析附件 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查询户分析附件") |
| | | @PostMapping("/pageAnalyseFile") |
| | | public Result<IPage<ClientSatisfactionAnalyseFile>> pageAnalyseFile(@RequestBody Map<String, Object> data) throws Exception { |
| | |
| | | * 删除户分析附件 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "删除户分析附件") |
| | | @GetMapping("/delAnalyseFile") |
| | | public Result delAnalyseFile(Integer analyseFileId){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.dto.InternalCheckDto; |
| | | import com.ruoyi.manage.pojo.InternalCheck; |
| | | import com.ruoyi.manage.service.InternalCheckService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 内审检查分页查询 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审检查分页查询") |
| | | @PostMapping("/pageInternalCheck") |
| | | public Result<IPage<InternalCheckDto>> pageInternalCheck(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalCheck internalCheck = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalCheck.class); |
| | | public Result<IPage<InternalCheckDto>> pageInternalCheck(Page page,InternalCheck internalCheck) throws Exception { |
| | | return Result.success(internalCheckService.pageInternalCheck(page, internalCheck)); |
| | | } |
| | | |
| | |
| | | * 内审检查新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审检查新增") |
| | | @PostMapping("/addInternalCheck") |
| | | public Result addInternalCheck(@RequestBody InternalCheckDto internalCheck){ |
| | |
| | | * 内审检查修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审检查修改") |
| | | @PostMapping("/updateInternalCheck") |
| | | public Result updateInternalCheck(@RequestBody InternalCheckDto internalCheck){ |
| | |
| | | * 内审检查删除 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审检查删除") |
| | | @GetMapping("/delInternalCheck") |
| | | public Result delInternalCheck(Integer checkId){ |
| | |
| | | * 内审检查查看详情 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审检查查看详情") |
| | | @GetMapping("/getInternalCheckOne") |
| | | public Result<InternalCheckDto> getInternalCheckOne(Integer checkId){ |
| | |
| | | * 内审检查批准 |
| | | * @return |
| | | */ |
| | | @ValueClassify("内审检查") |
| | | @ApiOperation(value = "内审检查批准") |
| | | @PostMapping("/ratifyInternalCheck") |
| | | public Result ratifyInternalCheck(@RequestBody InternalCheckDto internalCheck){ |
| | |
| | | * 导出内审检查 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出内审检查") |
| | | @GetMapping("/exportInternalCheck") |
| | | public void exportInternalCheck(Integer checkId, HttpServletResponse response){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.mapper.InternalCorrectFileMapper; |
| | | import com.ruoyi.manage.pojo.InternalCorrect; |
| | | import com.ruoyi.manage.pojo.InternalCorrectFile; |
| | | import com.ruoyi.manage.service.InternalCorrectService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | * 新增内审管理纠正处理信息 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "新增内审管理纠正处理") |
| | | @PostMapping("/addInternalCorrect") |
| | | public Result addInternalCorrect(@RequestBody InternalCorrect internalCorrect){ |
| | |
| | | * 查询内审管理纠正处理 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查询内审管理纠正处理") |
| | | @GetMapping("/getInternalCorrect") |
| | | public Result<InternalCorrect> getInternalCorrect(Integer correctId){ |
| | |
| | | * 查询内审管理纠正措施列表 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查询内审管理纠正措施列表") |
| | | @PostMapping("/pageInternalCorrect") |
| | | public Result<IPage<InternalCorrect>> pageInternalCorrect(@RequestBody Map<String, Object> data) throws Exception { |
| | |
| | | * @param file |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "新增内审管理纠正措施附件") |
| | | @PostMapping("/uploadInternalCorrectFile") |
| | | public Result<?> uploadInternalCorrectFile(Integer correctId, MultipartFile file) { |
| | |
| | | * 查询内审管理纠正措施附件 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查询内审管理纠正措施附件") |
| | | @GetMapping("/getInternalCorrectFileList") |
| | | public Result<List<InternalCorrectFile>> getInternalCorrectFileList(Integer correctId){ |
| | |
| | | * 删除内审管理纠正措施附件 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "删除内审管理纠正措施附件") |
| | | @GetMapping("/delInternalCorrectFile") |
| | | public Result delInternalCorrectFile(Integer correctFileId){ |
| | |
| | | * 导出纠正措施 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出纠正措施") |
| | | @GetMapping("/exportInternalCorrect") |
| | | public void exportInternalCorrect(Integer correctId, HttpServletResponse response){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | |
| | | import com.ruoyi.manage.dto.InternalImplementDto; |
| | | import com.ruoyi.manage.pojo.InternalImplement; |
| | | import com.ruoyi.manage.service.InternalImplementService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 内审实施计划分页查询 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审实施计划分页查询") |
| | | @PostMapping("/pageInternalImplement") |
| | | public Result<IPage<InternalImplementDto>> pageInternalImplement(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalImplement internalImplement = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalImplement.class); |
| | | public Result<IPage<InternalImplementDto>> pageInternalImplement(Page page,InternalImplement internalImplement) throws Exception { |
| | | return Result.success(internalImplementService.pageInternalImplement(page, internalImplement)); |
| | | } |
| | | |
| | |
| | | * 内审实施计划新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审实施计划新增") |
| | | @PostMapping("/addInternalImplement") |
| | | public Result addInternalImplement(@RequestBody InternalImplementDto internalImplement){ |
| | |
| | | * 内审实施计划修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审实施计划修改") |
| | | @PostMapping("/updateInternalImplement") |
| | | public Result updateInternalImplement(@RequestBody InternalImplementDto internalImplement){ |
| | |
| | | * 内审实施计划删除 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审实施计划删除") |
| | | @GetMapping("/delInternalImplement") |
| | | public Result delInternalImplement(Integer implementId){ |
| | |
| | | * 内审实施计划查看详情 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审实施计划查看详情") |
| | | @GetMapping("/getInternalImplementOne") |
| | | public Result<InternalImplementDto> getInternalImplementOne(Integer implementId){ |
| | |
| | | * 内审实施计划批准 |
| | | * @return |
| | | */ |
| | | @ValueClassify("内审实施计划") |
| | | @ApiOperation(value = "内审实施计划批准") |
| | | @PostMapping("/ratifyInternalImplement") |
| | | public Result ratifyInternalImplement(@RequestBody InternalImplementDto internalImplement){ |
| | |
| | | * 导出内审实施计划 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出内审实施计划") |
| | | @GetMapping("/exportInternalImplement") |
| | | public void exportInternalImplement(Integer implementId, HttpServletResponse response){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.dto.InternalMeetingDto; |
| | | import com.ruoyi.manage.pojo.InternalMeeting; |
| | | import com.ruoyi.manage.service.InternalMeetingService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 内审会议分页查询 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议分页查询") |
| | | @PostMapping("/pageInternalMeeting") |
| | | public Result<IPage<InternalMeetingDto>> pageInternalMeeting(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalMeeting internalMeeting = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalMeeting.class); |
| | | public Result<IPage<InternalMeetingDto>> pageInternalMeeting(Page page,InternalMeeting internalMeeting) throws Exception { |
| | | return Result.success(internalMeetingService.pageInternalMeeting(page, internalMeeting)); |
| | | } |
| | | |
| | |
| | | * 内审会议新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议新增") |
| | | @PostMapping("/addInternalMeeting") |
| | | public Result addInternalMeeting(@RequestBody InternalMeetingDto internalMeeting){ |
| | |
| | | * 内审会议修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议修改") |
| | | @PostMapping("/updateInternalMeeting") |
| | | public Result updateInternalMeeting(@RequestBody InternalMeetingDto internalMeeting){ |
| | |
| | | * 内审会议删除 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议删除") |
| | | @GetMapping("/delInternalMeeting") |
| | | public Result delInternalMeeting(Integer meetingId){ |
| | |
| | | * 内审会议查看详情 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议查看详情") |
| | | @GetMapping("/getInternalMeetingOne") |
| | | public Result<InternalMeetingDto> getInternalMeetingOne(Integer meetingId){ |
| | |
| | | * 导出内审会议 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出内审会议") |
| | | @GetMapping("/exportInternalMeeting") |
| | | public void exportInternalMeeting(Integer meetingId, HttpServletResponse response){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.dto.InternalPlanDto; |
| | | import com.ruoyi.manage.pojo.InternalPlan; |
| | | import com.ruoyi.manage.service.InternalPlanService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 内审年度计划分页查询 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审年度计划分页查询") |
| | | @PostMapping("/pageInternalPlan") |
| | | public Result<IPage<InternalPlanDto>> pageInternalPlan(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalPlan internalPlan = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalPlan.class); |
| | | public Result<IPage<InternalPlanDto>> pageInternalPlan(Page page,InternalPlan internalPlan) throws Exception { |
| | | return Result.success(internalPlanService.pageInternalPlan(page, internalPlan)); |
| | | } |
| | | |
| | |
| | | * 内审年度计划新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审年度计划新增") |
| | | @PostMapping("/addInternalPlan") |
| | | public Result addInternalPlan(@RequestBody InternalPlanDto internalPlan){ |
| | |
| | | * 内审年度计划修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审年度计划修改") |
| | | @PostMapping("/updateInternalPlan") |
| | | public Result updateInternalPlan(@RequestBody InternalPlanDto internalPlan){ |
| | |
| | | * 内审年度计划删除 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审年度计划删除") |
| | | @GetMapping("/delInternalPlan") |
| | | public Result delInternalPlan(Integer planId){ |
| | |
| | | * 内审年度计划查看详情 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审年度计划查看详情") |
| | | @GetMapping("/getInternalPlanOne") |
| | | public Result<InternalPlanDto> getInternalPlanOne(Integer planId){ |
| | |
| | | * 内审年度计划审核 |
| | | * @return |
| | | */ |
| | | @ValueClassify("内审年度计划") |
| | | @ApiOperation(value = "内审年度计划审核") |
| | | @PostMapping("/examineInternalPlan") |
| | | public Result examineInternalPlan(@RequestBody InternalPlanDto internalPlanDto){ |
| | |
| | | * 内审年度计划批准 |
| | | * @return |
| | | */ |
| | | @ValueClassify("内审年度计划") |
| | | @ApiOperation(value = "内审实施计划批准") |
| | | @PostMapping("/ratifyInternalPlan") |
| | | public Result ratifyInternalPlan(@RequestBody InternalPlanDto internalPlanDto){ |
| | |
| | | * 导出内审年度计划 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出内审年度计划") |
| | | @GetMapping("/exportInternalPlan") |
| | | public void exportInternalPlan(Integer planId, HttpServletResponse response){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.InternalReport; |
| | | import com.ruoyi.manage.service.InternalReportService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 内审报告分页查询 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审报告分页查询") |
| | | @PostMapping("/pageInternalReport") |
| | | public Result<IPage<InternalReport>> pageInternalReport(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalReport internalReport = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalReport.class); |
| | | public Result<IPage<InternalReport>> pageInternalReport(Page page,InternalReport internalReport) throws Exception { |
| | | return Result.success(internalReportService.pageInternalReport(page, internalReport)); |
| | | } |
| | | |
| | |
| | | * 内审报告新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审报告新增") |
| | | @PostMapping("/addInternalReport") |
| | | public Result addInternalReport(@RequestBody InternalReport internalReport){ |
| | |
| | | * 内审报告修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审报告修改") |
| | | @PostMapping("/updateInternalReport") |
| | | public Result updateInternalReport(@RequestBody InternalReport internalReport){ |
| | |
| | | * 内审报告删除 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审报告删除") |
| | | @GetMapping("/delInternalReport") |
| | | public Result delInternalReport(Integer reportId){ |
| | |
| | | * 内审报告查看详情 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审报告查看详情") |
| | | @GetMapping("/getInternalReportOne") |
| | | public Result<InternalReport> getInternalReportOne(Integer reportId){ |
| | |
| | | * 内审检查审核 |
| | | * @return |
| | | */ |
| | | @ValueClassify("内审报告") |
| | | @ApiOperation(value = "内审检查审核") |
| | | @PostMapping("/examineInternalReport") |
| | | public Result examineInternalReport(@RequestBody InternalReport internalReport){ |
| | |
| | | * 内审报告质量负责人填写 |
| | | * @return |
| | | */ |
| | | @ValueClassify("内审报告") |
| | | @ApiOperation(value = "内审报告质量负责人填写") |
| | | @PostMapping("/qualityInternalReport") |
| | | public Result qualityInternalReport(@RequestBody InternalReport internalReport){ |
| | |
| | | * 导出内审报告 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出内审报告") |
| | | @GetMapping("/exportInternalReport") |
| | | public void exportInternalReport(Integer reportId, HttpServletResponse response){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.alibaba.excel.EasyExcel; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.alibaba.excel.read.listener.PageReadListener; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.pojo.ManageControlPlanList; |
| | | import com.ruoyi.manage.service.ManageControlPlanListService; |
| | | import com.ruoyi.manage.utils.MyUtil; |
| | | import com.ruoyi.manage.vo.ManageControlPlanListVo; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.poi.ss.formula.functions.T; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | |
| | | @Resource |
| | | private ManageControlPlanListService manageControlPlanListService; |
| | | |
| | | @Autowired |
| | | |
| | | |
| | | @ValueClassify(value = "重大风险因素分析及控制计划清单") |
| | | |
| | | @ApiOperation(value = "分页查询") |
| | | @GetMapping("/getPageList") |
| | | public Result<IPage<ManageControlPlanListVo>> getPageList(Page page){ |
| | | IPage<ManageControlPlanListVo> ipage = manageControlPlanListService.getPageList(page); |
| | | return Result.success(ipage); |
| | | public Result<IPage<ManageControlPlanListVo>> getPageList(Page page) { |
| | | return Result.success(manageControlPlanListService.getPageList(page)); |
| | | } |
| | | |
| | | @ValueClassify(value = "重大风险因素分析及控制计划清单") |
| | | @ApiOperation(value = "批准") |
| | | @GetMapping("/approvalOfControlPlanChecklist") |
| | | public Result<?> approvalOfControlPlanChecklist(Integer approve, Integer status){ |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "重大风险因素分析及控制计划清单") |
| | | @ApiOperation(value = "审批") |
| | | @GetMapping("/riskAnalysisApprovalOfControlPlanChecklist") |
| | | public Result<?> riskAnalysisApprovalOfControlPlanChecklist(Integer approval, Integer status){ |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "重大风险因素分析及控制计划清单") |
| | | @ApiOperation(value = "导入") |
| | | @PostMapping("/importControlPlanList") |
| | | public void importControlPlanList(MultipartFile file) throws IOException { |
| | | boolean excelFile = MyUtil.isExcelFile(file); |
| | | boolean excelFile = isExcelFile(file); |
| | | if (!excelFile) { |
| | | throw new ErrorException("请导入excel文件!"); |
| | | } |
| | |
| | | })).sheet().doRead(); |
| | | } |
| | | |
| | | @ValueClassify(value = "重大风险因素分析及控制计划清单") |
| | | @ApiOperation(value = "新增") |
| | | @PostMapping("/analysisOfMajorRiskFactorsAdded") |
| | | public void analysisOfMajorRiskFactorsAdded(@RequestBody ManageControlPlanList manageControlPlanList) throws IOException { |
| | |
| | | manageControlPlanListService.saveOrUpdate(manageControlPlanList); |
| | | } |
| | | |
| | | @ValueClassify(value = "重大风险因素分析及控制计划清单") |
| | | @ApiOperation(value = "删除") |
| | | @GetMapping("/deleteSignificantRiskFactorAnalysis") |
| | | public void deleteSignificantRiskFactorAnalysis(Integer id) throws IOException { |
| | |
| | | * |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "重大风险因素分析及控制计划清单") |
| | | @GetMapping("/exportSignificantRiskFactors") |
| | | public void exportSignificantRiskFactors(HttpServletResponse response){ |
| | | manageControlPlanListService.exportPersonTraining(response); |
| | | } |
| | | |
| | | public static boolean isExcelFile(MultipartFile file) { |
| | | if (file.isEmpty()) { |
| | | return false; |
| | | } |
| | | String originalFilename = file.getOriginalFilename(); |
| | | if (originalFilename == null) { |
| | | return false; |
| | | } |
| | | String[] parts = originalFilename.split("\\."); |
| | | if (parts.length == 0) { |
| | | return false; |
| | | } |
| | | String fileExtension = parts[parts.length - 1].toLowerCase(); |
| | | return fileExtension.equals("xls") || fileExtension.equals("xlsx"); |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageDocumentAlter; |
| | | import com.ruoyi.manage.service.ManageDocumentAlterService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-11 11:04:01 |
| | | */ |
| | | @Api(tags = "管理体系文件的控制") |
| | | @RestController |
| | | @RequestMapping("/manageDocumentAlter") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageDocumentAlterController { |
| | | |
| | | @Resource |
| | | private ManageDocumentAlterService manageDocumentAlterService; |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "分页查询文件变更") |
| | | @PostMapping("/pageManageDocumentAlter") |
| | | public Result pageManageDocumentAlter(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageDocumentAlter manageDocumentAlter = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentAlter.class); |
| | | public Result pageManageDocumentAlter(Page page,ManageDocumentAlter manageDocumentAlter) throws Exception { |
| | | return Result.success(manageDocumentAlterService.pageManageDocumentAlter(page, manageDocumentAlter)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "删除文件变更") |
| | | @PostMapping("/delManageDocumentAlter") |
| | | public Result delManageDocumentAlter(Integer id){ |
| | | return Result.success(manageDocumentAlterService.delManageDocumentAlter(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查看文件变更") |
| | | @PostMapping("/getManageDocumentAlter") |
| | | public Result getManageDocumentAlter(Integer id){ |
| | | return Result.success(manageDocumentAlterService.getManageDocumentAlter(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "新增文件变更") |
| | | @PostMapping("/addManageDocumentAlter") |
| | | public Result addManageDocumentAlter(ManageDocumentAlter manageDocumentAlter){ |
| | | return Result.success(manageDocumentAlterService.addManageDocumentAlter(manageDocumentAlter)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件变更") |
| | | @PostMapping("/doManageDocumentAlter") |
| | | public Result doManageDocumentAlter(ManageDocumentAlter manageDocumentAlter){ |
| | | return Result.success(manageDocumentAlterService.doManageDocumentAlter(manageDocumentAlter)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "审核文件变更") |
| | | @PostMapping("/checkManageDocumentAlter") |
| | | public Result checkManageDocumentAlter(ManageDocumentAlter manageDocumentAlter){ |
| | | return Result.success(manageDocumentAlterService.checkManageDocumentAlter(manageDocumentAlter)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "审核查看附件") |
| | | @PostMapping("/checkManageDocumentAlterPdf") |
| | | public void checkManageDocumentAlterPdf(Long id, HttpServletResponse response)throws Exception { |
| | | manageDocumentAlterService.checkManageDocumentAlterPdf(id,response); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "导出文件变更") |
| | | @PostMapping("/exportManageDocumentAlter") |
| | | public void exportManageDocumentAlter(@RequestBody Map<String, Object> data,HttpServletResponse response) throws Exception { |
| | | ManageDocumentAlter manageDocumentAlter = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentAlter.class); |
| | | public void exportManageDocumentAlter(ManageDocumentAlter manageDocumentAlter,HttpServletResponse response) throws Exception { |
| | | manageDocumentAlterService.exportManageDocumentAlter(manageDocumentAlter,response); |
| | | } |
| | | |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageDocumentCancel; |
| | | import com.ruoyi.manage.service.ManageDocumentCancelService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-09 02:37:35 |
| | | */ |
| | | @Api(tags = "管理体系文件的控制") |
| | | @RestController |
| | | @RequestMapping("/manageDocumentCancel") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageDocumentCancelController { |
| | | |
| | | @Resource |
| | | private ManageDocumentCancelService manageDocumentCancelService; |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "分页查询文件作废") |
| | | @PostMapping("/pageManageDocumentCancel") |
| | | public Result pageManageDocumentCancel(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageDocumentCancel manageDocumentCancel = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentCancel.class); |
| | | public Result pageManageDocumentCancel(Page page,ManageDocumentCancel manageDocumentCancel) throws Exception { |
| | | return Result.success(manageDocumentCancelService.pageManageDocumentCancel(page, manageDocumentCancel)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "新增文件作废") |
| | | @PostMapping("/addManageDocumentCancel") |
| | | public Result addManageDocumentCancel(@RequestBody ManageDocumentCancel manageDocumentCancel) { |
| | | return Result.success(manageDocumentCancelService.addManageDocumentCancel(manageDocumentCancel)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "审核文件作废") |
| | | @PostMapping("/checkManageDocumentCancel") |
| | | public Result checkManageDocumentCancel(Integer id, String state) { |
| | | return Result.success(manageDocumentCancelService.checkManageDocumentCancel(id, state)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "删除文件作废") |
| | | @PostMapping("/delManageDocumentCancel") |
| | | public Result delManageDocumentCancel(Integer id) { |
| | | return Result.success(manageDocumentCancelService.delManageDocumentCancel(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查看文件作废") |
| | | @PostMapping("/getManageDocumentCancel") |
| | | public Result getManageDocumentCancel(Integer id) { |
| | | return Result.success(manageDocumentCancelService.getManageDocumentCancel(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件作废") |
| | | @PostMapping("/doManageDocumentCancel") |
| | | public Result doManageDocumentCancel(@RequestBody ManageDocumentCancel manageDocumentCancel) { |
| | | return Result.success(manageDocumentCancelService.doManageDocumentCancel(manageDocumentCancel)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "导出文件作废") |
| | | @PostMapping("/exportManageDocumentCancel") |
| | | public void exportManageDocumentCancel(@RequestBody Map<String, Object> data,HttpServletResponse response) throws Exception { |
| | | ManageDocumentCancel manageDocumentCancel = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentCancel.class); |
| | | public void exportManageDocumentCancel(ManageDocumentCancel manageDocumentCancel,HttpServletResponse response) throws Exception { |
| | | manageDocumentCancelService.exportManageDocumentCancel(manageDocumentCancel,response); |
| | | } |
| | | |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageDocumentControlled; |
| | | import com.ruoyi.manage.service.ManageDocumentControlledService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-08 02:54:44 |
| | | */ |
| | | @Api(tags = "管理体系文件的控制") |
| | | @RestController |
| | | @RequestMapping("/manageDocumentControlled") |
| | | @CustomClazzName(name = "体系管理要求",index = 10) |
| | | public class ManageDocumentControlledController { |
| | | |
| | | @Resource |
| | | private ManageDocumentControlledService manageDocumentControlledService; |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "分页查询文件受控") |
| | | @PostMapping("/pageManageDocumentControlled") |
| | | public Result pageManageDocumentControlled(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageDocumentControlled manageDocumentControlled = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentControlled.class); |
| | | public Result pageManageDocumentControlled(Page page,ManageDocumentControlled manageDocumentControlled) throws Exception { |
| | | return Result.success(manageDocumentControlledService.pageManageDocumentControlled(page, manageDocumentControlled)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "新增文件受控") |
| | | @PostMapping("/addManageDocumentControlled") |
| | | public Result addManageDocumentControlled(ManageDocumentControlled manageDocumentControlled){ |
| | | return Result.success(manageDocumentControlledService.addManageDocumentControlled(manageDocumentControlled)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查看文件受控") |
| | | @PostMapping("/getManageDocumentControlled") |
| | | public Result getManageDocumentControlled(Long id){ |
| | | return Result.success(manageDocumentControlledService.getManageDocumentControlled(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件受控") |
| | | @PostMapping("/doManageDocumentControlled") |
| | | public Result doManageDocumentControlled(ManageDocumentControlled manageDocumentControlled){ |
| | | return Result.success(manageDocumentControlledService.doManageDocumentControlled(manageDocumentControlled)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "删除文件受控") |
| | | @PostMapping("/delManageDocumentControlled") |
| | | public Result delManageDocumentControlled(Long id){ |
| | | return Result.success(manageDocumentControlledService.delManageDocumentControlled(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "审核文件受控") |
| | | @PostMapping("/checkManageDocumentControlled") |
| | | public Result checkManageDocumentControlled(ManageDocumentControlled manageDocumentControlled){ |
| | | return Result.success(manageDocumentControlledService.checkManageDocumentControlled(manageDocumentControlled)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "审核查看附件") |
| | | @PostMapping("/checkManageDocumentControlledPdf") |
| | | public void checkManageDocumentControlledPdf(Long id, HttpServletResponse response)throws Exception { |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.dto.ManageDocumentIssueRecycleDto; |
| | | import com.ruoyi.manage.pojo.ManageDocumentIssueRecycle; |
| | | import com.ruoyi.manage.service.ManageDocumentIssueRecycleService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-09 09:18:24 |
| | | */ |
| | | @Api(tags = "管理体系文件的控制") |
| | | @RestController |
| | | @RequestMapping("/manageDocumentIssueRecycle") |
| | | @CustomClazzName(name = "体系管理要求",index = 10) |
| | | public class ManageDocumentIssueRecycleController { |
| | | |
| | | @Resource |
| | | private ManageDocumentIssueRecycleService manageDocumentIssueRecycleService; |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "分页查询文件发放回收") |
| | | @PostMapping("/pageManageDocumentIssueRecycle") |
| | | public Result pageManageDocumentIssueRecycle(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageDocumentIssueRecycleDto manageDocumentIssueRecycleDto = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentIssueRecycleDto.class); |
| | | public Result pageManageDocumentIssueRecycle(Page page,ManageDocumentIssueRecycleDto manageDocumentIssueRecycleDto) throws Exception { |
| | | return Result.success(manageDocumentIssueRecycleService.pageManageDocumentIssueRecycle(page, manageDocumentIssueRecycleDto)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "新增文件发放回收") |
| | | @PostMapping("/addManageDocumentIssueRecycle") |
| | | public Result addManageDocumentIssueRecycle(ManageDocumentIssueRecycle manageDocumentIssueRecycle){ |
| | | return Result.success(manageDocumentIssueRecycleService.addManageDocumentIssueRecycle(manageDocumentIssueRecycle)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "删除文件发放回收") |
| | | @PostMapping("/delManageDocumentIssueRecycle") |
| | | public Result delManageDocumentIssueRecycle(Long id){ |
| | | return Result.success(manageDocumentIssueRecycleService.delManageDocumentIssueRecycle(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查看文件发放回收") |
| | | @PostMapping("/getManageDocumentIssueRecycle") |
| | | public Result getManageDocumentIssueRecycle(Long id){ |
| | | return Result.success(manageDocumentIssueRecycleService.getManageDocumentIssueRecycle(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件发放回收") |
| | | @PostMapping("/doManageDocumentIssueRecycle") |
| | | public Result doManageDocumentIssueRecycle(ManageDocumentIssueRecycle manageDocumentIssueRecycle){ |
| | | return Result.success(manageDocumentIssueRecycleService.doManageDocumentIssueRecycle(manageDocumentIssueRecycle)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "审核文件发放回收") |
| | | @PostMapping("/checkManageDocumentIssueRecycle") |
| | | public Result checkManageDocumentIssueRecycle(Integer id,String documentState){ |
| | | return Result.success(manageDocumentIssueRecycleService.checkManageDocumentIssueRecycle(id,documentState)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "导出文件发放回收") |
| | | @PostMapping("/exportManageDocumentIssueRecycle") |
| | | public void exportManageDocumentIssueRecycle(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | | ManageDocumentIssueRecycleDto manageDocumentIssueRecycleDto = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentIssueRecycleDto.class); |
| | | public void exportManageDocumentIssueRecycle(ManageDocumentIssueRecycleDto manageDocumentIssueRecycleDto, HttpServletResponse response) throws Exception { |
| | | manageDocumentIssueRecycleService.exportManageDocumentIssueRecycle(manageDocumentIssueRecycleDto,response); |
| | | } |
| | | |
| | |
| | | |
| | | import com.alibaba.excel.EasyExcel; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.excel.ManageDocumentListListener; |
| | | import com.ruoyi.manage.pojo.ManageDocumentList; |
| | | import com.ruoyi.manage.service.ManageDocumentListService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-08 11:08:11 |
| | | */ |
| | | @Api(tags = "管理体系文件的控制") |
| | | @RestController |
| | | @RequestMapping("/manageDocumentList") |
| | | @CustomClazzName(name = "体系管理要求",index = 10) |
| | | public class ManageDocumentListController { |
| | | |
| | | @Resource |
| | | private ManageDocumentListService manageDocumentListService; |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "分页查询文件清单") |
| | | @PostMapping("/pageManageDocumentList") |
| | | public Result pageManageDocumentList(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageDocumentList manageDocumentList = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageDocumentList.class); |
| | | public Result pageManageDocumentList(Page page,ManageDocumentList manageDocumentList) throws Exception { |
| | | return Result.success(manageDocumentListService.pageManageDocumentList(page, manageDocumentList)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "编辑文件清单") |
| | | @PostMapping("/doManageDocumentList") |
| | | public Result doManageDocumentList(@RequestBody ManageDocumentList manageDocumentList) { |
| | | return Result.success(manageDocumentListService.updateById(manageDocumentList)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "编辑文件清单") |
| | | @PostMapping("/delManageDocumentList") |
| | | public Result delManageDocumentList(Integer id) { |
| | | return Result.success(manageDocumentListService.removeById(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "上传附件-文件清单") |
| | | @PostMapping("/uploadFileManageDocumentList") |
| | | public Result uploadFileManageDocumentList(Integer id, MultipartFile file) { |
| | | return Result.success(manageDocumentListService.uploadFile(id,file)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理体系文件的控制") |
| | | @ApiOperation(value = "导入文件清单列表") |
| | | @PostMapping("/exportManageDocumentList") |
| | | public Result exportManageDocumentList(MultipartFile file) { |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.manage.dto.ManageMeetingDto; |
| | | import com.ruoyi.manage.service.ManageMeetingService; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @Resource |
| | | private ManageMeetingService manageMeetingService; |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "管理评审会议记录查询") |
| | | @GetMapping("/getPageMeeting") |
| | | public Result<IPage<ManageMeetingDto>> getPageMeeting(Page page, String startTime, String endTime, String place) throws Exception { |
| | |
| | | return Result.success(ipage); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "新增会议记录") |
| | | @PostMapping("/addMeeting") |
| | | public Result addMeeting(@RequestBody ManageMeetingDto dto){ |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "编辑会议记录") |
| | | @PutMapping("/modifyMeeting") |
| | | public Result modifyMeeting(@RequestBody ManageMeetingDto manageMeetingDto){ |
| | | return Result.success(manageMeetingService.modifyMeeting(manageMeetingDto)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "删除会议记录") |
| | | @DeleteMapping("/deleteMeeting") |
| | | public Result deleteMeeting(Integer id){ |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "下载会议记录") |
| | | @PostMapping("/exportMeeting") |
| | | public void exportMeeting(Integer id, HttpServletResponse response){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.manage.pojo.ManageMeetingParticipants; |
| | | import com.ruoyi.manage.service.ManageMeetingParticipantsService; |
| | | import com.ruoyi.manage.vo.MeetingParticipantsDetailsVo; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | private ManageMeetingParticipantsService manageMeetingParticipantsService; |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审会议记录参会人员") |
| | | @ApiOperation(value = "查询会议记录参会人员") |
| | | @GetMapping("/getParticipants") |
| | | public Result<MeetingParticipantsDetailsVo> getParticipants(Integer id){ |
| | | return Result.success(manageMeetingParticipantsService.getParticipants(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录参会人员") |
| | | @ApiOperation(value = "新增会议记录参会人员") |
| | | @PostMapping("/add") |
| | | public Result addParticipants(List<ManageMeetingParticipants> list){ |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录参会人员") |
| | | @ApiOperation(value = "删除会议记录参会人员") |
| | | @DeleteMapping("/delete") |
| | | public Result deleteParticipants(List<Integer> ids){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordAudit; |
| | | import com.ruoyi.manage.service.ManageRecordAuditService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-14 10:29:18 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordAudit") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordAuditController { |
| | | |
| | | @Resource |
| | | private ManageRecordAuditService manageRecordAuditService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "分页查询文件修订申请审批记录") |
| | | @PostMapping("/pageManageRecordAudit") |
| | | public Result pageManageRecordAudit(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordAudit manageRecordAudit = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordAudit.class); |
| | | public Result pageManageRecordAudit(Page page,ManageRecordAudit manageRecordAudit) throws Exception { |
| | | return Result.success(manageRecordAuditService.pageManageRecordAudit(page, manageRecordAudit)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "新增文件修订申请审批记录") |
| | | @PostMapping("/addManageRecordAudit") |
| | | public Result addManageRecordAudit( ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.addManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件修订申请审批记录") |
| | | @PostMapping("/doManageRecordAudit") |
| | | public Result doManageRecordAudit(ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.doManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "删除文件修订申请审批记录") |
| | | @PostMapping("/delManageRecordAudit") |
| | | public Result delManageRecordAudit(Integer id){ |
| | | return Result.success(manageRecordAuditService.removeById(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "批准文件修订申请审批记录") |
| | | @PostMapping("/ratifyManageRecordAudit") |
| | | public Result ratifyManageRecordAudit(Integer id){ |
| | | return Result.success(manageRecordAuditService.ratifyManageRecordAudit(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "申请部门主管意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit1") |
| | | public void manageRecordAudit1(){ |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "原制定部门意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit2") |
| | | public void manageRecordAudit2(){ |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "原审核部门意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit3") |
| | | public void manageRecordAudit3(){ |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导出文件修订申请审批记录") |
| | | @PostMapping("/exportOutManageRecordAudit") |
| | | public Result exportOutManageRecordAudit(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | | ManageRecordAudit manageRecordAudit = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordAudit.class); |
| | | public Result exportOutManageRecordAudit(ManageRecordAudit manageRecordAudit, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordAuditService.exportOutManageRecordAudit(manageRecordAudit,response)); |
| | | } |
| | | |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordCancel; |
| | | import com.ruoyi.manage.service.ManageRecordCancelService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-13 01:27:22 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordCancel") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordCancelController { |
| | | |
| | | @Resource |
| | | private ManageRecordCancelService manageRecordCancelService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "分页查询作废文件销毁记录") |
| | | @PostMapping("/pageManageRecordCancel") |
| | | public Result pageManageRecordCancel(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordCancel manageRecordCancel = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordCancel.class); |
| | | public Result pageManageRecordCancel(Page page,ManageRecordCancel manageRecordCancel) throws Exception { |
| | | return Result.success(manageRecordCancelService.pageManageRecordCancel(page, manageRecordCancel)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "新增作废文件销毁记录") |
| | | @PostMapping("/addManageRecordCancel") |
| | | public Result addManageRecordCancel(@RequestBody ManageRecordCancel manageRecordCancel){ |
| | |
| | | return Result.success(manageRecordCancelService.save(manageRecordCancel)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑作废文件销毁记录") |
| | | @PostMapping("/doManageRecordCancel") |
| | | public Result doManageRecordCancel(@RequestBody ManageRecordCancel manageRecordCancel){ |
| | | return Result.success(manageRecordCancelService.updateById(manageRecordCancel)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "删除作废文件销毁记录") |
| | | @PostMapping("/delManageRecordCancel") |
| | | public Result delManageRecordCancel(Integer id){ |
| | | return Result.success(manageRecordCancelService.removeById(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "批准作废文件销毁记录") |
| | | @PostMapping("/ratifyManageRecordCancel") |
| | | public Result ratifyManageRecordCancel(Integer id,String ratifyState){ |
| | | return Result.success(manageRecordCancelService.ratifyManageRecordCancel(id,ratifyState)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导出作废文件销毁记录") |
| | | @PostMapping("/exportOutManageRecordCancel") |
| | | public Result exportOutManageRecordCancel(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | | ManageRecordCancel manageRecordCancel = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordCancel.class); |
| | | public Result exportOutManageRecordCancel(ManageRecordCancel manageRecordCancel, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordCancelService.exportOutManageRecordCancel(manageRecordCancel,response)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导入作废文件销毁记录") |
| | | @PostMapping("/exportInManageRecordCancel") |
| | | public Result exportInManageRecordCancel(MultipartFile file){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordCheck; |
| | | import com.ruoyi.manage.service.ManageRecordCheckService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-12 02:31:36 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordCheck") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordCheckController { |
| | | |
| | | @Resource |
| | | private ManageRecordCheckService manageRecordCheckService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "分页查询文件审批记录") |
| | | @PostMapping("/pageManageRecordCheck") |
| | | public Result pageManageRecordCheck(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordCheck manageRecordCheck = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordCheck.class); |
| | | public Result pageManageRecordCheck(Page page,ManageRecordCheck manageRecordCheck) throws Exception { |
| | | return Result.success(manageRecordCheckService.pageManageRecordCheck(page, manageRecordCheck)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "新增文件审批记录") |
| | | @PostMapping("/addManageRecordCheck") |
| | | public Result addManageRecordCheck(@RequestBody ManageRecordCheck manageRecordCheck) { |
| | | return Result.success(manageRecordCheckService.save(manageRecordCheck)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件审批记录") |
| | | @PostMapping("/doManageRecordCheck") |
| | | public Result doManageRecordCheck(@RequestBody ManageRecordCheck manageRecordCheck) { |
| | | return Result.success(manageRecordCheckService.updateById(manageRecordCheck)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "删除文件审批记录") |
| | | @PostMapping("/delManageRecordCheck") |
| | | public Result delManageRecordCheck(Integer id) { |
| | | return Result.success(manageRecordCheckService.removeById(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "审核文件审批记录") |
| | | @PostMapping("/checkManageRecordCheck") |
| | | public Result checkManageRecordCheck(Integer id,String checkState) { |
| | | return Result.success(manageRecordCheckService.checkManageRecordCheck(id,checkState)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "批准文件审批记录") |
| | | @PostMapping("/ratifyManageRecordCheck") |
| | | public Result ratifyManageRecordCheck(Integer id,String ratifyState) { |
| | | return Result.success(manageRecordCheckService.ratifyManageRecordCheck(id,ratifyState)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导出文件审批记录") |
| | | @PostMapping("/exportOutManageRecordCheck") |
| | | public Result exportOutManageRecordCheck(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | | ManageRecordCheck manageRecordCheck = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordCheck.class); |
| | | public Result exportOutManageRecordCheck(ManageRecordCheck manageRecordCheck, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordCheckService.exportOutManageRecordCheck(manageRecordCheck,response)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导入文件审批记录") |
| | | @PostMapping("/exportInManageRecordCheck") |
| | | public Result exportInManageRecordCheck(MultipartFile file){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervals; |
| | | import com.ruoyi.manage.service.ManageRecordIntervalsService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-13 10:54:31 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordIntervals") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordIntervalsController { |
| | | |
| | | @Resource |
| | | private ManageRecordIntervalsService manageRecordIntervalsService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "分页查询文件定期审查记录") |
| | | @PostMapping("/pageManageRecordIntervals") |
| | | public Result pageManageRecordIntervals(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordIntervals manageRecordIntervals = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordIntervals.class); |
| | | public Result pageManageRecordIntervals(Page page,ManageRecordIntervals manageRecordIntervals) throws Exception { |
| | | return Result.success(manageRecordIntervalsService.pageManageRecordIntervals(page, manageRecordIntervals)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "新增文件定期审查记录") |
| | | @PostMapping("/addManageRecordIntervals") |
| | | public Result addManageRecordIntervals(@RequestBody ManageRecordIntervals manageRecordIntervals) { |
| | | return Result.success(manageRecordIntervalsService.addManageRecordIntervals(manageRecordIntervals)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑文件定期审查记录") |
| | | @PostMapping("/doManageRecordIntervals") |
| | | public Result doManageRecordIntervals(@RequestBody ManageRecordIntervals manageRecordIntervals) { |
| | | return Result.success(manageRecordIntervalsService.updateById(manageRecordIntervals)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "删除文件定期审查记录") |
| | | @PostMapping("/delManageRecordIntervals") |
| | | public Result delManageRecordIntervals(Integer id) { |
| | | return Result.success(manageRecordIntervalsService.delManageRecordIntervals(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导出文件定期审查记录") |
| | | @PostMapping("/exportOutManageRecordIntervals") |
| | | public Result exportOutManageRecordIntervals(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | | ManageRecordIntervals manageRecordIntervals = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordIntervals.class); |
| | | public Result exportOutManageRecordIntervals(ManageRecordIntervals manageRecordIntervals, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordIntervalsService.exportOutManageRecordIntervals(manageRecordIntervals,response)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导入文件定期审查记录") |
| | | @PostMapping("/exportInManageRecordIntervals") |
| | | public Result exportInManageRecordIntervals(MultipartFile file){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervalsTotal; |
| | | import com.ruoyi.manage.service.ManageRecordIntervalsTotalService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-15 01:12:11 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordIntervalsTotal") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordIntervalsTotalController { |
| | | |
| | | @Resource |
| | | private ManageRecordIntervalsTotalService manageRecordIntervalsTotalService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "查询文件定期审查记录历史列表") |
| | | @PostMapping("/pageManageRecordIntervalsTotal") |
| | | public Result pageManageRecordIntervalsTotal(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordIntervalsTotal manageRecordIntervalsTotal = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordIntervalsTotal.class); |
| | | public Result pageManageRecordIntervalsTotal(Page page,ManageRecordIntervalsTotal manageRecordIntervalsTotal) throws Exception { |
| | | return Result.success(manageRecordIntervalsTotalService.pageManageRecordIntervalsTotal(page, manageRecordIntervalsTotal)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "提交文件定期审查记录历史列表") |
| | | @PostMapping("/submitManageRecordIntervalsTotal") |
| | | public Result submitManageRecordIntervalsTotal(Integer id) { |
| | | return Result.success(manageRecordIntervalsTotalService.submitManageRecordIntervalsTotal(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "批准文件定期审查记录历史列表") |
| | | @PostMapping("/ratifyManageRecordIntervalsTotal") |
| | | public Result ratifyManageRecordIntervalsTotal(Integer id, String ratifyState) { |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordIssueRecycle; |
| | | import com.ruoyi.manage.service.ManageRecordIssueRecycleService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-13 09:11:05 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordIssueRecycle") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordIssueRecycleController { |
| | | |
| | | @Resource |
| | | private ManageRecordIssueRecycleService manageRecordIssueRecycleService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "分页查询所有文件的发放与回收记录") |
| | | @PostMapping("/pageManageRecordIssueRecycle") |
| | | public Result pageManageRecordIssueRecycle(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordIssueRecycle manageRecordIssueRecycle = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordIssueRecycle.class); |
| | | public Result pageManageRecordIssueRecycle(Page page,ManageRecordIssueRecycle manageRecordIssueRecycle) throws Exception { |
| | | return Result.success(manageRecordIssueRecycleService.pageManageRecordIssueRecycle(page, manageRecordIssueRecycle)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "删除所有文件的发放与回收记录") |
| | | @PostMapping("/delManageRecordIssueRecycle") |
| | | public Result delManageRecordIssueRecycle(Integer id){ |
| | | return Result.success(manageRecordIssueRecycleService.removeById(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "新增所有文件的发放与回收记录") |
| | | @PostMapping("/addManageRecordIssueRecycle") |
| | | public Result addManageRecordIssueRecycle(@RequestBody ManageRecordIssueRecycle manageRecordIssueRecycle){ |
| | | return Result.success(manageRecordIssueRecycleService.addManageRecordIssueRecycle(manageRecordIssueRecycle)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "编辑所有文件的发放与回收记录") |
| | | @PostMapping("/doManageRecordIssueRecycle") |
| | | public Result doManageRecordIssueRecycle(@RequestBody ManageRecordIssueRecycle manageRecordIssueRecycle){ |
| | | return Result.success(manageRecordIssueRecycleService.doManageRecordIssueRecycle(manageRecordIssueRecycle)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导出所有文件的发放与回收记录") |
| | | @PostMapping("/exportOutManageRecordIssueRecycle") |
| | | public Result exportOutManageRecordIssueRecycle(@RequestBody Map<String, Object> data, HttpServletResponse response) throws Exception { |
| | |
| | | return Result.success(manageRecordIssueRecycleService.exportOutManageRecordIssueRecycle(manageRecordIssueRecycle,response)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导入所有文件的发放与回收记录") |
| | | @PostMapping("/exportInManageRecordIssueRecycle") |
| | | public Result exportInManageRecordIssueRecycle(MultipartFile file){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordTotal; |
| | | import com.ruoyi.manage.service.ManageRecordTotalService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-12 10:30:08 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordTotal") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordTotalController { |
| | | |
| | | @Resource |
| | | private ManageRecordTotalService manageRecordTotalService; |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "查询外来文件确认记录历史列表") |
| | | @PostMapping("/pageManageRecordTotal") |
| | | public Result pageManageRecordTotal(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordTotal manageRecordTotal = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordTotal.class); |
| | | public Result pageManageRecordTotal(Page page,ManageRecordTotal manageRecordTotal) throws Exception { |
| | | return Result.success(manageRecordTotalService.pageManageRecordTotal(page, manageRecordTotal)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "提交外来文件确认记录历史列表") |
| | | @PostMapping("/submitManageRecordTotal") |
| | | public Result submitManageRecordTotal(Integer id) { |
| | | return Result.success(manageRecordTotalService.submitManageRecordTotal(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "批准外来文件确认记录历史列表") |
| | | @PostMapping("/ratifyManageRecordTotal") |
| | | public Result ratifyManageRecordTotal(Integer id, String ratifyState) { |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.CustomClazzName; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordVerify; |
| | | import com.ruoyi.manage.service.ManageRecordVerifyService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | 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; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-12 10:29:44 |
| | | */ |
| | | @Api(tags = "记录的控制") |
| | | @RestController |
| | | @RequestMapping("/manageRecordVerify") |
| | | @CustomClazzName(name = "体系管理要求", index = 10) |
| | | public class ManageRecordVerifyController { |
| | | |
| | | @Resource |
| | | private ManageRecordVerifyService manageRecordVerifyService; |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "查询外来文件确认记录详情") |
| | | @PostMapping("/pageManageRecordVerify") |
| | | public Result pageManageRecordVerify(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | ManageRecordVerify manageRecordVerify = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), ManageRecordVerify.class); |
| | | public Result pageManageRecordVerify(Page page,ManageRecordVerify manageRecordVerify) throws Exception { |
| | | return Result.success(manageRecordVerifyService.pageManageRecordVerify(page, manageRecordVerify)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "新增外来文件确认记录") |
| | | @PostMapping("/addManageRecordVerify") |
| | | public Result addManageRecordVerify(@RequestBody ManageRecordVerify manageRecordVerify) { |
| | | return Result.success(manageRecordVerifyService.addManageRecordVerify(manageRecordVerify)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "删除外来文件确认记录") |
| | | @PostMapping("/delManageRecordVerify") |
| | | public Result delManageRecordVerify(Integer id) { |
| | | return Result.success(manageRecordVerifyService.delManageRecordVerify(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "修改外来文件确认记录") |
| | | @PostMapping("/doManageRecordVerify") |
| | | public Result doManageRecordVerify(@RequestBody ManageRecordVerify manageRecordVerify) { |
| | | return Result.success(manageRecordVerifyService.updateById(manageRecordVerify)); |
| | | } |
| | | |
| | | @ValueClassify(value = "记录的控制") |
| | | @ApiOperation(value = "导入外来文件确认记录") |
| | | @PostMapping("/exportManageRecordVerify") |
| | | public Result exportManageRecordVerify(MultipartFile file) { |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.manage.pojo.ManageReviewProgram; |
| | | import com.ruoyi.manage.service.ManageReviewProgramService; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | private ManageReviewProgramService manageReviewProgramService; |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "查询评审计划") |
| | | @GetMapping("/getPageReviewProgram") |
| | | public Result<IPage<ManageReviewProgram>> getPageReviewProgram(Page page, String startTime,String endTime, String judgingLocation) throws Exception { |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "新增评审计划") |
| | | @PostMapping("/addReviewProgram") |
| | | public Result addReviewProgram(@RequestBody ManageReviewProgram manageReviewProgram){ |
| | | return Result.success(manageReviewProgramService.addReviewProgram(manageReviewProgram)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "编辑评审计划") |
| | | @PutMapping("/modifyReviewProgram") |
| | | public Result modifyReviewProgram(@RequestBody ManageReviewProgram manageReviewProgram){ |
| | | return Result.success(manageReviewProgramService.updateById(manageReviewProgram)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "删除评审计划") |
| | | @DeleteMapping("/deleteReviewProgram") |
| | | public Result deleteReviewProgram( Integer id){ |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "下载评审计划") |
| | | @PostMapping("/exportReviewProgram") |
| | | public void exportReviewProgram(Integer id, HttpServletResponse response){ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.manage.service.ManageReviewProgramFileService; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2024-11-09 04:15:47 |
| | | */ |
| | | @Api(tags = "管理评审计划文件") |
| | | @RestController |
| | | @RequestMapping("/manageReviewProgramFile") |
| | | public class ManageReviewProgramFileController { |
| | |
| | | @Resource |
| | | private ManageReviewProgramFileService manageReviewProgramFileService; |
| | | |
| | | @ValueClassify(value = "管理评审计划文件") |
| | | @ApiOperation(value = "查询评审计划文件") |
| | | @GetMapping("/selectReviewProgramFile") |
| | | public Result selectReviewProgramFile(Integer id){ |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划文件") |
| | | @ApiOperation(value = "新增评审计划文件") |
| | | @PostMapping("/addReviewProgramFile") |
| | | public Result addReviewProgramFile(MultipartFile file,Integer id){ |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.manage.pojo.ManageReviewReport; |
| | | import com.ruoyi.manage.service.ManageReviewReportService; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @Resource |
| | | private ManageReviewReportService manageReviewReportService; |
| | | |
| | | @ValueClassify(value = "管理评审报告") |
| | | @ApiOperation(value = "查询管理评审报告") |
| | | @GetMapping("/getPageReviewReport") |
| | | public Result<IPage<ManageReviewReport>> getPageReviewReport(Page page, String startTime, String endTime, String place) { |
| | |
| | | return Result.success(ipage); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审报告") |
| | | @ApiOperation(value = "新增管理评审报告") |
| | | @PostMapping("/addReviewReport") |
| | | public Result addReviewReport(@RequestBody ManageReviewReport manageReviewReport){ |
| | | return Result.success(manageReviewReportService.save(manageReviewReport)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审报告") |
| | | @ApiOperation(value = "编辑管理评审报告") |
| | | @PutMapping("/modifyReviewReport") |
| | | public Result modifyReviewReport(@RequestBody ManageReviewReport manageReviewReport){ |
| | | return Result.success(manageReviewReportService.updateById(manageReviewReport)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审报告") |
| | | @ApiOperation(value = "删除管理评审报告") |
| | | @DeleteMapping("/deleteReviewReport") |
| | | public Result deleteReviewReport(Integer id){ |
| | | return Result.success(manageReviewReportService.removeById(id)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审报告") |
| | | @ApiOperation(value = "下载管理评审报告") |
| | | @PostMapping("/exportReviewReport") |
| | | public void exportReviewReport(Integer id , HttpServletResponse response){ |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.pojo.ManageRiskAssessmentResults; |
| | | import com.ruoyi.manage.service.ManageRiskAssessmentResultsService; |
| | | import com.ruoyi.manage.utils.MyUtil; |
| | | import com.ruoyi.manage.vo.ManageRiskAssessmentResultsVo; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | public class ManageRiskAssessmentResultsController { |
| | | |
| | | @Autowired |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private ManageRiskAssessmentResultsService manageRiskAssessmentResultsService; |
| | | |
| | | @ValueClassify(value = "危险因素辨识与风险评价结果一览") |
| | | @ApiOperation(value = "分页查询") |
| | | @GetMapping("/getPageResults") |
| | | public Result<IPage<ManageRiskAssessmentResultsVo>> getPageResults(Page page) { |
| | |
| | | return Result.success(ipage); |
| | | } |
| | | |
| | | @ValueClassify(value = "危险因素辨识与风险评价结果一览") |
| | | @ApiOperation(value = "批准") |
| | | @GetMapping("/hazardIdentificationAndRiskApproval") |
| | | public Result<?> hazardIdentificationAndRiskApproval(Integer approve, Integer status) { |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "危险因素辨识与风险评价结果一览") |
| | | @ApiOperation(value = "审批") |
| | | @GetMapping("/dangerousRiskApproval") |
| | | public Result<?> dangerousRiskApproval(Integer approval, Integer status) { |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "危险因素辨识与风险评价结果一览") |
| | | @ApiOperation(value = "导入") |
| | | @PostMapping("/riskAssessmentImport") |
| | | public void riskAssessmentImport(MultipartFile file) throws IOException { |
| | | boolean excelFile = MyUtil.isExcelFile(file); |
| | | boolean excelFile = isExcelFile(file); |
| | | if (!excelFile) { |
| | | throw new ErrorException("请导入excel文件!"); |
| | | } |
| | |
| | | })).extraRead(CellExtraTypeEnum.MERGE).sheet().doRead(); |
| | | } |
| | | |
| | | @ValueClassify(value = "危险因素辨识与风险评价结果一览") |
| | | @ApiOperation(value = "新增") |
| | | @PostMapping("/addNewRiskFactors") |
| | | public void addNewRiskFactors(@RequestBody ManageRiskAssessmentResults manageRiskAssessmentResults) { |
| | |
| | | manageRiskAssessmentResultsService.saveOrUpdate(manageRiskAssessmentResults); |
| | | } |
| | | |
| | | @ValueClassify(value = "危险因素辨识与风险评价结果一览") |
| | | @ApiOperation(value = "删除") |
| | | @GetMapping("/removeRiskFactors") |
| | | public void removeRiskFactors(Integer id) { |
| | | manageRiskAssessmentResultsService.removeById(id); |
| | | } |
| | | |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出危险因素辨识与风险评价结果一览") |
| | | @GetMapping("/exportHazardFactorIdentification") |
| | | public void exportPersonTraining(HttpServletResponse response){ |
| | | manageRiskAssessmentResultsService.exportPersonTraining(response); |
| | | } |
| | | |
| | | public static boolean isExcelFile(MultipartFile file) { |
| | | if (file.isEmpty()) { |
| | | return false; |
| | | } |
| | | String originalFilename = file.getOriginalFilename(); |
| | | if (originalFilename == null) { |
| | | return false; |
| | | } |
| | | String[] parts = originalFilename.split("\\."); |
| | | if (parts.length == 0) { |
| | | return false; |
| | | } |
| | | String fileExtension = parts[parts.length - 1].toLowerCase(); |
| | | return fileExtension.equals("xls") || fileExtension.equals("xlsx"); |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordAudit; |
| | |
| | | */ |
| | | public interface ManageRecordAuditService extends IService<ManageRecordAudit> { |
| | | |
| | | Map<String,Object> pageManageRecordAudit(Page page, ManageRecordAudit manageRecordAudit); |
| | | IPage<ManageRecordAudit> pageManageRecordAudit(Page page, ManageRecordAudit manageRecordAudit); |
| | | |
| | | int addManageRecordAudit(ManageRecordAudit manageRecordAudit); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordCancel; |
| | |
| | | */ |
| | | public interface ManageRecordCancelService extends IService<ManageRecordCancel> { |
| | | |
| | | Map<String,Object> pageManageRecordCancel(Page page, ManageRecordCancel manageRecordCancel); |
| | | IPage<ManageRecordCancel> pageManageRecordCancel(Page page, ManageRecordCancel manageRecordCancel); |
| | | |
| | | int ratifyManageRecordCancel(Integer id, String ratifyState); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordCheck; |
| | |
| | | */ |
| | | public interface ManageRecordCheckService extends IService<ManageRecordCheck> { |
| | | |
| | | Map<String,Object> pageManageRecordCheck(Page page, ManageRecordCheck manageRecordCheck); |
| | | IPage<ManageRecordCheck> pageManageRecordCheck(Page page, ManageRecordCheck manageRecordCheck); |
| | | |
| | | int checkManageRecordCheck(Integer id, String checkState); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervals; |
| | |
| | | */ |
| | | public interface ManageRecordIntervalsService extends IService<ManageRecordIntervals> { |
| | | |
| | | Map<String,Object> pageManageRecordIntervals(Page page, ManageRecordIntervals manageRecordIntervals); |
| | | IPage<ManageRecordIntervals> pageManageRecordIntervals(Page page, ManageRecordIntervals manageRecordIntervals); |
| | | |
| | | String exportOutManageRecordIntervals(ManageRecordIntervals manageRecordIntervals, HttpServletResponse response); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervalsTotal; |
| | |
| | | */ |
| | | public interface ManageRecordIntervalsTotalService extends IService<ManageRecordIntervalsTotal> { |
| | | |
| | | Map<String,Object> pageManageRecordIntervalsTotal(Page page, ManageRecordIntervalsTotal manageRecordIntervalsTotal); |
| | | IPage<ManageRecordIntervalsTotal> pageManageRecordIntervalsTotal(Page page, ManageRecordIntervalsTotal manageRecordIntervalsTotal); |
| | | |
| | | int submitManageRecordIntervalsTotal(Integer id); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordIssueRecycle; |
| | |
| | | */ |
| | | public interface ManageRecordIssueRecycleService extends IService<ManageRecordIssueRecycle> { |
| | | |
| | | Map<String,Object> pageManageRecordIssueRecycle(Page page, ManageRecordIssueRecycle manageRecordIssueRecycle); |
| | | IPage<ManageRecordIssueRecycle> pageManageRecordIssueRecycle(Page page, ManageRecordIssueRecycle manageRecordIssueRecycle); |
| | | |
| | | String exportOutManageRecordIssueRecycle(ManageRecordIssueRecycle manageRecordIssueRecycle, HttpServletResponse response); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordTotal; |
| | |
| | | */ |
| | | public interface ManageRecordTotalService extends IService<ManageRecordTotal> { |
| | | |
| | | Map<String,Object> pageManageRecordTotal(Page page, ManageRecordTotal manageRecordTotal); |
| | | IPage<ManageRecordTotal> pageManageRecordTotal(Page page, ManageRecordTotal manageRecordTotal); |
| | | |
| | | int submitManageRecordTotal(Integer id); |
| | | |
| | |
| | | package com.ruoyi.manage.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.manage.pojo.ManageRecordVerify; |
| | |
| | | */ |
| | | public interface ManageRecordVerifyService extends IService<ManageRecordVerify> { |
| | | |
| | | Map<String,Object> pageManageRecordVerify(Page page, ManageRecordVerify manageRecordVerify); |
| | | IPage<ManageRecordVerify> pageManageRecordVerify(Page page, ManageRecordVerify manageRecordVerify); |
| | | |
| | | int addManageRecordVerify(ManageRecordVerify manageRecordVerify); |
| | | |
| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordAuditMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageRecordAudit; |
| | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.openxml4j.util.ZipSecureFile; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordAudit(Page page, ManageRecordAudit manageRecordAudit) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordAudit.class)); |
| | | public IPage<ManageRecordAudit> pageManageRecordAudit(Page page, ManageRecordAudit manageRecordAudit) { |
| | | |
| | | IPage<ManageRecordAudit> manageRecordAuditIPage = manageRecordAuditMapper.pageManageRecordAudit(page, QueryWrappers.queryWrappers(manageRecordAudit)); |
| | | for (ManageRecordAudit record : manageRecordAuditIPage.getRecords()) { |
| | | String limsName = userMapper.selectUserDepartmentLimsName(record.getCreateUser()); |
| | | record.setCreateUserDepart(limsName); |
| | | } |
| | | map.put("body", manageRecordAuditIPage); |
| | | return map; |
| | | return manageRecordAuditIPage; |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import cn.hutool.core.lang.UUID; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.deepoove.poi.XWPFTemplate; |
| | | import com.deepoove.poi.config.Configure; |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordCancelMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageRecordCancel; |
| | | |
| | | import com.ruoyi.manage.service.ManageRecordCancelService; |
| | | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | @Resource |
| | | private ManageRecordCancelMapper manageRecordCancelMapper; |
| | | |
| | | |
| | | |
| | | |
| | | @Value("${wordUrl}") |
| | | private String wordUrl; |
| | |
| | | private UserMapper userMapper; |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordCancel(Page page, ManageRecordCancel manageRecordCancel) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordCancel.class)); |
| | | map.put("body", manageRecordCancelMapper.pageManageRecordCancel(page, QueryWrappers.queryWrappers(manageRecordCancel))); |
| | | return map; |
| | | public IPage<ManageRecordCancel> pageManageRecordCancel(Page page, ManageRecordCancel manageRecordCancel) { |
| | | return manageRecordCancelMapper.pageManageRecordCancel(page, QueryWrappers.queryWrappers(manageRecordCancel)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import cn.hutool.core.lang.UUID; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordCheckMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageRecordCheck; |
| | | |
| | | import com.ruoyi.manage.service.ManageRecordCheckService; |
| | | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | @Resource |
| | | private UserMapper userMapper; |
| | | |
| | | |
| | | |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordCheck(Page page, ManageRecordCheck manageRecordCheck) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordCheck.class)); |
| | | map.put("body", manageRecordCheckMapper.pageManageRecordCheck(page, QueryWrappers.queryWrappers(manageRecordCheck))); |
| | | return map; |
| | | public IPage<ManageRecordCheck> pageManageRecordCheck(Page page, ManageRecordCheck manageRecordCheck) { |
| | | return manageRecordCheckMapper.pageManageRecordCheck(page, QueryWrappers.queryWrappers(manageRecordCheck)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import cn.hutool.core.lang.UUID; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordIntervalsMapper; |
| | | import com.ruoyi.manage.mapper.ManageRecordIntervalsTotalMapper; |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervals; |
| | |
| | | |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.openxml4j.util.ZipSecureFile; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | private String wordUrl; |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordIntervals(Page page, ManageRecordIntervals manageRecordIntervals) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordIntervals.class)); |
| | | map.put("body", manageRecordIntervalsMapper.pageManageRecordIntervals(page, QueryWrappers.queryWrappers(manageRecordIntervals))); |
| | | return map; |
| | | public IPage<ManageRecordIntervals> pageManageRecordIntervals(Page page, ManageRecordIntervals manageRecordIntervals) { |
| | | return manageRecordIntervalsMapper.pageManageRecordIntervals(page, QueryWrappers.queryWrappers(manageRecordIntervals)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import cn.hutool.core.lang.UUID; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordIntervalsMapper; |
| | | import com.ruoyi.manage.mapper.ManageRecordIntervalsTotalMapper; |
| | | |
| | |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervalsTotal; |
| | | import com.ruoyi.manage.service.ManageRecordIntervalsTotalService; |
| | | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.openxml4j.util.ZipSecureFile; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | @Value("${wordUrl}") |
| | | private String wordUrl; |
| | | |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private UserMapper userMapper; |
| | |
| | | private ManageRecordIntervalsMapper manageRecordIntervalsMapper; |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordIntervalsTotal(Page page, ManageRecordIntervalsTotal manageRecordIntervalsTotal) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordIntervalsTotal.class)); |
| | | map.put("body", manageRecordIntervalsTotalMapper.pageManageRecordIntervalsTotal(page, QueryWrappers.queryWrappers(manageRecordIntervalsTotal))); |
| | | return map; |
| | | public IPage<ManageRecordIntervalsTotal> pageManageRecordIntervalsTotal(Page page, ManageRecordIntervalsTotal manageRecordIntervalsTotal) { |
| | | return manageRecordIntervalsTotalMapper.pageManageRecordIntervalsTotal(page, QueryWrappers.queryWrappers(manageRecordIntervalsTotal)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import cn.hutool.core.lang.UUID; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordIssueRecycleMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageRecordIssueRecycle; |
| | | |
| | | import com.ruoyi.manage.service.ManageRecordIssueRecycleService; |
| | | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.openxml4j.util.ZipSecureFile; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | private UserMapper userMapper; |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordIssueRecycle(Page page, ManageRecordIssueRecycle manageRecordIssueRecycle) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordIssueRecycle.class)); |
| | | map.put("body", manageRecordIssueRecycleMapper.pageManageRecordIssueRecycle(page, QueryWrappers.queryWrappers(manageRecordIssueRecycle))); |
| | | return map; |
| | | public IPage<ManageRecordIssueRecycle> pageManageRecordIssueRecycle(Page page, ManageRecordIssueRecycle manageRecordIssueRecycle) { |
| | | return manageRecordIssueRecycleMapper.pageManageRecordIssueRecycle(page, QueryWrappers.queryWrappers(manageRecordIssueRecycle)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import cn.hutool.core.lang.UUID; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordTotalMapper; |
| | | import com.ruoyi.manage.mapper.ManageRecordVerifyMapper; |
| | | |
| | |
| | | |
| | | import com.ruoyi.manage.service.ManageRecordTotalService; |
| | | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | @Value("${wordUrl}") |
| | | private String wordUrl; |
| | | |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private UserMapper userMapper; |
| | |
| | | private ManageRecordVerifyMapper manageRecordVerifyMapper; |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordTotal(Page page, ManageRecordTotal manageRecordTotal) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordTotal.class)); |
| | | map.put("body", manageRecordTotalMapper.pageProcessTotaldeal(page, QueryWrappers.queryWrappers(manageRecordTotal))); |
| | | return map; |
| | | public IPage<ManageRecordTotal> pageManageRecordTotal(Page page, ManageRecordTotal manageRecordTotal) { |
| | | return manageRecordTotalMapper.pageProcessTotaldeal(page, QueryWrappers.queryWrappers(manageRecordTotal)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | package com.ruoyi.manage.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordTotalMapper; |
| | | import com.ruoyi.manage.mapper.ManageRecordVerifyMapper; |
| | | import com.ruoyi.manage.pojo.ManageRecordTotal; |
| | |
| | | private ManageRecordTotalMapper manageRecordTotalMapper; |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordVerify(Page page, ManageRecordVerify manageRecordVerify) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordVerify.class)); |
| | | public IPage<ManageRecordVerify> pageManageRecordVerify(Page page, ManageRecordVerify manageRecordVerify) { |
| | | if (ObjectUtils.isEmpty(manageRecordVerify.getManageRecordTotalId())) { |
| | | //获取当前年份 |
| | | LocalDate currentDate = LocalDate.now(); |
| | |
| | | ManageRecordTotal manageRecordTotal = manageRecordTotalMapper.selectOne(Wrappers.<ManageRecordTotal>lambdaQuery().eq(ManageRecordTotal::getYear, currentMonth)); |
| | | manageRecordVerify.setManageRecordTotalId(manageRecordTotal.getId()); |
| | | } |
| | | map.put("body", manageRecordVerifyMapper.pageManageRecordVerify(page, QueryWrappers.queryWrappers(manageRecordVerify))); |
| | | return map; |
| | | return manageRecordVerifyMapper.pageManageRecordVerify(page, QueryWrappers.queryWrappers(manageRecordVerify)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | import com.deepoove.poi.config.Configure; |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | import com.deepoove.poi.data.FilePictureRenderData; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageReviewProgramMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageReviewProgram; |
| | | |
| | | import com.ruoyi.manage.service.ManageReviewProgramService; |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.InputStream; |
| | |
| | | @Value("${file.path}") |
| | | private String imgUrl; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | import com.deepoove.poi.config.Configure; |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | import com.deepoove.poi.data.FilePictureRenderData; |
| | | |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageReviewReportMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageReviewReport; |
| | | |
| | | import com.ruoyi.manage.service.ManageReviewReportService; |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.InputStream; |
| | |
| | | import com.deepoove.poi.XWPFTemplate; |
| | | import com.deepoove.poi.config.Configure; |
| | | import com.deepoove.poi.data.Pictures; |
| | | |
| | | import com.ruoyi.common.utils.DateImageUtil; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.inspect.util.HackLoopTableRenderPolicy; |
| | | import com.ruoyi.manage.mapper.ManageRiskAssessmentResultsMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageRiskAssessmentResults; |
| | | import com.ruoyi.manage.service.ManageRiskAssessmentResultsService; |
| | | |
| | | |
| | | import com.ruoyi.manage.vo.ManageRiskAssessmentResultsVo; |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.InputStream; |
| | | import java.io.OutputStream; |