重构CodeController以提升代码整洁度

移除未使用的导入和方法,优化代码结构,提升可维护性。
This commit is contained in:
lijiaqi 2024-09-11 14:02:30 +08:00
parent 3de7fa4e84
commit dbb08b4d9b
1 changed files with 2 additions and 7 deletions

View File

@ -4,15 +4,10 @@ package cn.workde.module.drone.coding.controller;
import cn.workde.core.constant.GrapeConst;
import cn.workde.module.drone.coding.service.CodeService;
import cn.workde.module.upms.controller._BaseController;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cn.workde.module.drone.coding.entity.Code;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
import java.io.Serializable;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 无人机编码表(Code)表控制层