Xiajijian
2025-10-14 dc0b17d8d9b6f2c17165cd394dbd74e304422a5c
ard-admin/src/main/java/com/ard/web/controller/data/ArdModelManagementController.java
@@ -3,8 +3,8 @@
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ard.data.domain.ArdModelManagement;
import com.ard.data.service.IArdModelManagementService;
import com.ard.system.domain.data.ArdModelManagement;
import com.ard.system.service.data.IArdModelManagementService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -32,7 +32,7 @@
 */
@Api(tags = "模型管理接口")
@RestController
@RequestMapping("/data/management")
@RequestMapping("/data/model")
public class ArdModelManagementController extends BaseController {
    @Autowired
@@ -42,7 +42,7 @@
     * 查询模型管理列表
     */
    @ApiOperation("查询模型管理列表")
    @PreAuthorize("@ss.hasPermi('system:management:list')")
    @PreAuthorize("@ss.hasPermi('system:model:list')")
    @GetMapping("/list")
    public TableDataInfo list(ArdModelManagement ardModelManagement) {
        startPage();
@@ -54,7 +54,7 @@
     * 导出模型管理列表
     */
    @ApiOperation("导出模型管理列表")
    @PreAuthorize("@ss.hasPermi('system:management:export')")
    @PreAuthorize("@ss.hasPermi('system:model:export')")
    @Log(title = "模型管理", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, ArdModelManagement ardModelManagement) {
@@ -67,7 +67,7 @@
     * 获取模型管理详细信息
     */
    @ApiOperation("获取模型管理详细信息")
    @PreAuthorize("@ss.hasPermi('system:management:query')")
    @PreAuthorize("@ss.hasPermi('system:model:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") String id) {
        return success(ardModelManagementService.selectArdModelManagementById(id));
@@ -77,7 +77,7 @@
     * 新增模型管理
     */
    @ApiOperation("新增模型管理")
    @PreAuthorize("@ss.hasPermi('system:management:add')")
    @PreAuthorize("@ss.hasPermi('system:model:add')")
    @Log(title = "模型管理", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody ArdModelManagement ardModelManagement) {
@@ -88,7 +88,7 @@
     * 修改模型管理
     */
    @ApiOperation("修改模型管理")
    @PreAuthorize("@ss.hasPermi('system:management:edit')")
    @PreAuthorize("@ss.hasPermi('system:model:edit')")
    @Log(title = "模型管理", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody ArdModelManagement ardModelManagement) {
@@ -99,7 +99,7 @@
     * 删除模型管理
     */
    @ApiOperation("删除模型管理")
    @PreAuthorize("@ss.hasPermi('system:management:remove')")
    @PreAuthorize("@ss.hasPermi('system:model:remove')")
    @Log(title = "模型管理", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable String[] ids) {