| | |
| | | * 安全内务三废登记 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-11-19 06:39:27 |
| | | */ |
| | | @Api(tags = "安全内务三废登记") |
| | |
| | | |
| | | /** |
| | | * 安全内务三废处理分页查询 |
| | | * @param data |
| | | * @param page |
| | | * @param internalWastes |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "安全内务三废处理分页查询") |
| | | @PostMapping("/pageInternalWastes") |
| | | public Result<IPage<InternalWastesDto>> pageInternalWastes(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalWastes internalWastes = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalWastes.class); |
| | | @GetMapping("/pageInternalWastes") |
| | | public Result<IPage<InternalWastesDto>> pageInternalWastes(Page page,InternalWastes internalWastes) throws Exception { |
| | | return Result.success(internalWastesService.pageInternalWastes(page, internalWastes)); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "安全内务三废处理删除") |
| | | @GetMapping("/delInternalWastes") |
| | | @DeleteMapping("/delInternalWastes") |
| | | public Result delInternalWastes(Integer wastesId){ |
| | | return Result.success(internalWastesService.delInternalWastes(wastesId)); |
| | | } |