zhuo
2025-04-23 234b0ac195934b34c06045b2d2ef0f10e239dd8e
cnas-require/src/main/java/com/ruoyi/require/controller/InternalWastesController.java
@@ -20,7 +20,7 @@
 * 安全内务三废登记 前端控制器
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @author
 * @since 2024-11-19 06:39:27
 */
@Api(tags = "安全内务三废登记")
@@ -33,14 +33,13 @@
    /**
     * 安全内务三废处理分页查询
     * @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));
    }
@@ -69,7 +68,7 @@
     * @return
     */
    @ApiOperation(value = "安全内务三废处理删除")
    @GetMapping("/delInternalWastes")
    @DeleteMapping("/delInternalWastes")
    public Result delInternalWastes(Integer wastesId){
        return Result.success(internalWastesService.delInternalWastes(wastesId));
    }