Ver Fonte

模型管理相关

ZhuDeKang há 6 meses atrás
pai
commit
f26f4c015a
29 ficheiros alterados com 3005 adições e 0 exclusões
  1. 106 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelAclController.java
  2. 106 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelCatetoryController.java
  3. 106 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelFileController.java
  4. 106 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelInfoController.java
  5. 106 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelParamsController.java
  6. 85 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelAcl.java
  7. 107 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelCatetory.java
  8. 148 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelFile.java
  9. 463 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelInfo.java
  10. 207 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelParams.java
  11. 67 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelAclMapper.java
  12. 67 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelCatetoryMapper.java
  13. 67 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelFileMapper.java
  14. 67 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelInfoMapper.java
  15. 67 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelParamsMapper.java
  16. 62 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelAclService.java
  17. 62 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelCatetoryService.java
  18. 62 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelFileService.java
  19. 62 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelInfoService.java
  20. 62 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelParamsService.java
  21. 94 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelAclServiceImpl.java
  22. 94 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelCatetoryServiceImpl.java
  23. 94 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelFileServiceImpl.java
  24. 94 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelInfoServiceImpl.java
  25. 94 0
      ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelParamsServiceImpl.java
  26. 67 0
      ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelAclMapper.xml
  27. 78 0
      ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelCatetoryMapper.xml
  28. 93 0
      ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelFileMapper.xml
  29. 112 0
      ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelParamsMapper.xml

+ 106 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelAclController.java

@@ -0,0 +1,106 @@
+package com.ruoyi.interfaces.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.ruoyi.interfaces.service.IMdModelAclService;
+import com.ruoyi.interfaces.domain.MdModelAcl;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 模型访问控制Controller
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@RestController
+@RequestMapping("/model/acl")
+public class MdModelAclController extends BaseController
+{
+    @Autowired
+    private IMdModelAclService mdModelAclService;
+
+    /**
+     * 查询模型访问控制列表
+     */
+    @ApiOperation("查询模型访问控制列表")
+    @GetMapping("/list")
+    public TableDataInfo list(MdModelAcl mdModelAcl)
+    {
+        startPage();
+        List<MdModelAcl> list = mdModelAclService.selectMdModelAclList(mdModelAcl);
+        return getDataTable(list);
+    }
+
+    /**
+     * 新增模型访问控制
+     */
+    @ApiOperation("新增模型访问控制")
+    @Log(title = "模型访问控制", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody MdModelAcl mdModelAcl)
+    {
+        return toAjax(mdModelAclService.insertMdModelAcl(mdModelAcl));
+    }
+
+    /**
+     * 导出模型访问控制列表
+     */
+    @ApiOperation("导出模型访问控制列表")
+    @Log(title = "模型访问控制", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, MdModelAcl mdModelAcl)
+    {
+        List<MdModelAcl> list = mdModelAclService.selectMdModelAclList(mdModelAcl);
+        ExcelUtil<MdModelAcl> util = new ExcelUtil<MdModelAcl>(MdModelAcl.class);
+        util.exportExcel(response, list, "模型访问控制数据");
+    }
+
+    /**
+     * 获取模型访问控制详细信息
+     */
+    @ApiOperation("获取模型访问控制详细信息")
+    @GetMapping(value = "/{aclid}")
+    public AjaxResult getInfo(@PathVariable("aclid") String aclid)
+    {
+        return success(mdModelAclService.selectMdModelAclByAclid(aclid));
+    }
+
+    /**
+     * 修改模型访问控制
+     */
+    @ApiOperation("修改模型访问控制")
+    @Log(title = "模型访问控制", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody MdModelAcl mdModelAcl)
+    {
+        return toAjax(mdModelAclService.updateMdModelAcl(mdModelAcl));
+    }
+
+    /**
+     * 删除模型访问控制
+     */
+    @ApiOperation("删除模型访问控制")
+    @Log(title = "模型访问控制", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{aclids}")
+    public AjaxResult remove(@PathVariable String[] aclids)
+    {
+        return toAjax(mdModelAclService.deleteMdModelAclByAclids(aclids));
+    }
+}

+ 106 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelCatetoryController.java

@@ -0,0 +1,106 @@
+package com.ruoyi.interfaces.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.ruoyi.interfaces.domain.MdModelCatetory;
+import com.ruoyi.interfaces.service.IMdModelCatetoryService;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 模型目录Controller
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@RestController
+@RequestMapping("/model/catetory")
+public class MdModelCatetoryController extends BaseController
+{
+    @Autowired
+    private IMdModelCatetoryService mdModelCatetoryService;
+
+    /**
+     * 查询模型目录列表
+     */
+    @ApiOperation("查询模型目录列表")
+    @GetMapping("/list")
+    public TableDataInfo list(MdModelCatetory mdModelCatetory)
+    {
+        startPage();
+        List<MdModelCatetory> list = mdModelCatetoryService.selectMdModelCatetoryList(mdModelCatetory);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出模型目录列表
+     */
+    @ApiOperation("导出模型目录列表")
+    @Log(title = "模型目录", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, MdModelCatetory mdModelCatetory)
+    {
+        List<MdModelCatetory> list = mdModelCatetoryService.selectMdModelCatetoryList(mdModelCatetory);
+        ExcelUtil<MdModelCatetory> util = new ExcelUtil<MdModelCatetory>(MdModelCatetory.class);
+        util.exportExcel(response, list, "模型目录数据");
+    }
+
+    /**
+     * 获取模型目录详细信息
+     */
+    @ApiOperation("获取模型目录详细信息")
+    @GetMapping(value = "/{cateid}")
+    public AjaxResult getInfo(@PathVariable("cateid") String cateid)
+    {
+        return success(mdModelCatetoryService.selectMdModelCatetoryByCateid(cateid));
+    }
+
+    /**
+     * 新增模型目录
+     */
+    @ApiOperation("新增模型目录")
+    @Log(title = "模型目录", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody MdModelCatetory mdModelCatetory)
+    {
+        return toAjax(mdModelCatetoryService.insertMdModelCatetory(mdModelCatetory));
+    }
+
+    /**
+     * 修改模型目录
+     */
+    @ApiOperation("修改模型目录")
+    @Log(title = "模型目录", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody MdModelCatetory mdModelCatetory)
+    {
+        return toAjax(mdModelCatetoryService.updateMdModelCatetory(mdModelCatetory));
+    }
+
+    /**
+     * 删除模型目录
+     */
+    @ApiOperation("删除模型目录")
+    @Log(title = "模型目录", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{cateids}")
+    public AjaxResult remove(@PathVariable String[] cateids)
+    {
+        return toAjax(mdModelCatetoryService.deleteMdModelCatetoryByCateids(cateids));
+    }
+}

+ 106 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelFileController.java

@@ -0,0 +1,106 @@
+package com.ruoyi.interfaces.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.ruoyi.interfaces.domain.MdModelFile;
+import com.ruoyi.interfaces.service.IMdModelFileService;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 模型文件信息Controller
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@RestController
+@RequestMapping("/model/file")
+public class MdModelFileController extends BaseController
+{
+    @Autowired
+    private IMdModelFileService mdModelFileService;
+
+    /**
+     * 查询模型文件信息列表
+     */
+    @ApiOperation("查询模型文件信息列表")
+    @GetMapping("/list")
+    public TableDataInfo list(MdModelFile mdModelFile)
+    {
+        startPage();
+        List<MdModelFile> list = mdModelFileService.selectMdModelFileList(mdModelFile);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出模型文件信息列表
+     */
+    @ApiOperation("导出模型文件信息列表")
+    @Log(title = "模型文件信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, MdModelFile mdModelFile)
+    {
+        List<MdModelFile> list = mdModelFileService.selectMdModelFileList(mdModelFile);
+        ExcelUtil<MdModelFile> util = new ExcelUtil<MdModelFile>(MdModelFile.class);
+        util.exportExcel(response, list, "模型文件信息数据");
+    }
+
+    /**
+     * 获取模型文件信息详细信息
+     */
+    @ApiOperation("获取模型文件信息详细信息")
+    @GetMapping(value = "/{fileid}")
+    public AjaxResult getInfo(@PathVariable("fileid") String fileid)
+    {
+        return success(mdModelFileService.selectMdModelFileByFileid(fileid));
+    }
+
+    /**
+     * 新增模型文件信息
+     */
+    @ApiOperation("新增模型文件信息")
+    @Log(title = "模型文件信息", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody MdModelFile mdModelFile)
+    {
+        return toAjax(mdModelFileService.insertMdModelFile(mdModelFile));
+    }
+
+    /**
+     * 修改模型文件信息
+     */
+    @ApiOperation("修改模型文件信息")
+    @Log(title = "模型文件信息", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody MdModelFile mdModelFile)
+    {
+        return toAjax(mdModelFileService.updateMdModelFile(mdModelFile));
+    }
+
+    /**
+     * 删除模型文件信息
+     */
+    @ApiOperation("删除模型文件信息")
+    @Log(title = "模型文件信息", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{fileids}")
+    public AjaxResult remove(@PathVariable String[] fileids)
+    {
+        return toAjax(mdModelFileService.deleteMdModelFileByFileids(fileids));
+    }
+}

+ 106 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelInfoController.java

@@ -0,0 +1,106 @@
+package com.ruoyi.interfaces.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.ruoyi.interfaces.domain.MdModelInfo;
+import com.ruoyi.interfaces.service.IMdModelInfoService;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 模型信息Controller
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@RestController
+@RequestMapping("/model/info")
+public class MdModelInfoController extends BaseController
+{
+    @Autowired
+    private IMdModelInfoService mdModelInfoService;
+
+    /**
+     * 查询模型信息列表
+     */
+    @ApiOperation("查询模型信息列表")
+    @GetMapping("/list")
+    public TableDataInfo list(MdModelInfo mdModelInfo)
+    {
+        startPage();
+        List<MdModelInfo> list = mdModelInfoService.selectMdModelInfoList(mdModelInfo);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出模型信息列表
+     */
+    @ApiOperation("导出模型信息列表")
+    @Log(title = "模型信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, MdModelInfo mdModelInfo)
+    {
+        List<MdModelInfo> list = mdModelInfoService.selectMdModelInfoList(mdModelInfo);
+        ExcelUtil<MdModelInfo> util = new ExcelUtil<MdModelInfo>(MdModelInfo.class);
+        util.exportExcel(response, list, "模型信息数据");
+    }
+
+    /**
+     * 获取模型信息详细信息
+     */
+    @ApiOperation("获取模型信息详细信息")
+    @GetMapping(value = "/{mdid}")
+    public AjaxResult getInfo(@PathVariable("mdid") String mdid)
+    {
+        return success(mdModelInfoService.selectMdModelInfoByMdid(mdid));
+    }
+
+    /**
+     * 新增模型信息
+     */
+    @ApiOperation("新增模型信息")
+    @Log(title = "模型信息", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody MdModelInfo mdModelInfo)
+    {
+        return toAjax(mdModelInfoService.insertMdModelInfo(mdModelInfo));
+    }
+
+    /**
+     * 修改模型信息
+     */
+    @ApiOperation("修改模型信息")
+    @Log(title = "模型信息", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody MdModelInfo mdModelInfo)
+    {
+        return toAjax(mdModelInfoService.updateMdModelInfo(mdModelInfo));
+    }
+
+    /**
+     * 删除模型信息
+     */
+    @ApiOperation("删除模型信息")
+    @Log(title = "模型信息", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{mdids}")
+    public AjaxResult remove(@PathVariable String[] mdids)
+    {
+        return toAjax(mdModelInfoService.deleteMdModelInfoByMdids(mdids));
+    }
+}

+ 106 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/controller/MdModelParamsController.java

@@ -0,0 +1,106 @@
+package com.ruoyi.interfaces.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+
+import com.ruoyi.interfaces.domain.MdModelParams;
+import com.ruoyi.interfaces.service.IMdModelParamsService;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 模型参数信息Controller
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@RestController
+@RequestMapping("/model/params")
+public class MdModelParamsController extends BaseController
+{
+    @Autowired
+    private IMdModelParamsService mdModelParamsService;
+
+    /**
+     * 查询模型参数信息列表
+     */
+    @ApiOperation("查询模型参数信息列表")
+    @GetMapping("/list")
+    public TableDataInfo list(MdModelParams mdModelParams)
+    {
+        startPage();
+        List<MdModelParams> list = mdModelParamsService.selectMdModelParamsList(mdModelParams);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出模型参数信息列表
+     */
+    @ApiOperation("导出模型参数信息列表")
+    @Log(title = "模型参数信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, MdModelParams mdModelParams)
+    {
+        List<MdModelParams> list = mdModelParamsService.selectMdModelParamsList(mdModelParams);
+        ExcelUtil<MdModelParams> util = new ExcelUtil<MdModelParams>(MdModelParams.class);
+        util.exportExcel(response, list, "模型参数信息数据");
+    }
+
+    /**
+     * 获取模型参数信息详细信息
+     */
+    @ApiOperation("获取模型参数信息详细信息")
+    @GetMapping(value = "/{parId}")
+    public AjaxResult getInfo(@PathVariable("parId") String parId)
+    {
+        return success(mdModelParamsService.selectMdModelParamsByParId(parId));
+    }
+
+    /**
+     * 新增模型参数信息
+     */
+    @ApiOperation("新增模型参数信息")
+    @Log(title = "模型参数信息", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody MdModelParams mdModelParams)
+    {
+        return toAjax(mdModelParamsService.insertMdModelParams(mdModelParams));
+    }
+
+    /**
+     * 修改模型参数信息
+     */
+    @ApiOperation("修改模型参数信息")
+    @Log(title = "模型参数信息", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody MdModelParams mdModelParams)
+    {
+        return toAjax(mdModelParamsService.updateMdModelParams(mdModelParams));
+    }
+
+    /**
+     * 删除模型参数信息
+     */
+    @ApiOperation("删除模型参数信息")
+    @Log(title = "模型参数信息", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{parIds}")
+    public AjaxResult remove(@PathVariable String[] parIds)
+    {
+        return toAjax(mdModelParamsService.deleteMdModelParamsByParIds(parIds));
+    }
+}

+ 85 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelAcl.java

@@ -0,0 +1,85 @@
+package com.ruoyi.interfaces.domain;
+
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 模型访问控制对象 md_model_acl
+ *
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public class MdModelAcl extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 模型标签代码
+     */
+    @ApiModelProperty("模型标签代码")
+    private String aclid;
+
+    /**
+     * 模型ID
+     */
+    @ApiModelProperty("模型ID")
+    private String mdid;
+
+    /**
+     * 权限代码
+     */
+    @ApiModelProperty("权限代码")
+    @Excel(name = "权限代码")
+    private String permission;
+
+    /**
+     * 用户ID
+     */
+    @ApiModelProperty("用户ID")
+    @Excel(name = "用户ID")
+    private String userid;
+
+    public void setAclid(String aclid) {
+        this.aclid = aclid;
+    }
+
+    public String getAclid() {
+        return aclid;
+    }
+
+    public void setMdid(String mdid) {
+        this.mdid = mdid;
+    }
+
+    public String getMdid() {
+        return mdid;
+    }
+
+    public void setPermission(String permission) {
+        this.permission = permission;
+    }
+
+    public String getPermission() {
+        return permission;
+    }
+
+    public void setUserid(String userid) {
+        this.userid = userid;
+    }
+
+    public String getUserid() {
+        return userid;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+                .append("aclid", getAclid())
+                .append("mdid", getMdid())
+                .append("permission", getPermission())
+                .append("userid", getUserid())
+                .toString();
+    }
+}

+ 107 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelCatetory.java

@@ -0,0 +1,107 @@
+package com.ruoyi.interfaces.domain;
+
+import java.util.Date;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 模型目录对象 md_model_catetory
+ *
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public class MdModelCatetory extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 目录标识
+     */
+    @ApiModelProperty("目录标识")
+    private String cateid;
+
+    /**
+     * 目录名称
+     */
+    @ApiModelProperty("目录名称")
+    @Excel(name = "目录名称")
+    private String name;
+
+    /**
+     * 目录说明
+     */
+    @ApiModelProperty("目录说明")
+    @Excel(name = "目录说明")
+    private String intro;
+
+    /**
+     * 开发者用户编号
+     */
+    @ApiModelProperty("开发者用户编号")
+    @Excel(name = "开发者用户编号")
+    private Long userId;
+
+    /**
+     * 编辑时间
+     */
+    @ApiModelProperty("编辑时间")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date modifyBy;
+
+    public void setCateid(String cateid) {
+        this.cateid = cateid;
+    }
+
+    public String getCateid() {
+        return cateid;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setIntro(String intro) {
+        this.intro = intro;
+    }
+
+    public String getIntro() {
+        return intro;
+    }
+
+    public void setUserId(Long userId) {
+        this.userId = userId;
+    }
+
+    public Long getUserId() {
+        return userId;
+    }
+
+    public void setModifyBy(Date modifyBy) {
+        this.modifyBy = modifyBy;
+    }
+
+    public Date getModifyBy() {
+        return modifyBy;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+                .append("cateid", getCateid())
+                .append("name", getName())
+                .append("intro", getIntro())
+                .append("userId", getUserId())
+                .append("createBy", getCreateBy())
+                .append("modifyBy", getModifyBy())
+                .toString();
+    }
+}

+ 148 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelFile.java

@@ -0,0 +1,148 @@
+package com.ruoyi.interfaces.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 模型文件信息对象 md_model_file
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public class MdModelFile extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 文件ID */
+    @ApiModelProperty("文件ID")
+    private String fileid;
+
+    /** 模型标识 */
+    @ApiModelProperty("模型标识")
+    @Excel(name = "模型标识")
+    private String mdid;
+
+    /** 文件名称 */
+    @ApiModelProperty("文件名称")
+    @Excel(name = "文件名称")
+    private String filename;
+
+    /** 工作相对路径 */
+    @ApiModelProperty("工作相对路径")
+    @Excel(name = "工作相对路径")
+    private String relativePath;
+
+    /** 是否为主模块 */
+    @ApiModelProperty("是否为主模块")
+    @Excel(name = "是否为主模块")
+    private String isMainLibrary;
+
+    /** 是否为文档 */
+    @ApiModelProperty("是否为文档")
+    @Excel(name = "是否为文档")
+    private Integer isDocument;
+
+    /** 是否公开 */
+    @ApiModelProperty("是否公开")
+    @Excel(name = "是否公开")
+    private String signature;
+
+    /** 编辑时间 */
+    @ApiModelProperty("编辑时间")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date modifyBy;
+
+    public void setFileid(String fileid) 
+    {
+        this.fileid = fileid;
+    }
+
+    public String getFileid() 
+    {
+        return fileid;
+    }
+    public void setMdid(String mdid) 
+    {
+        this.mdid = mdid;
+    }
+
+    public String getMdid() 
+    {
+        return mdid;
+    }
+    public void setFilename(String filename) 
+    {
+        this.filename = filename;
+    }
+
+    public String getFilename() 
+    {
+        return filename;
+    }
+    public void setRelativePath(String relativePath) 
+    {
+        this.relativePath = relativePath;
+    }
+
+    public String getRelativePath() 
+    {
+        return relativePath;
+    }
+    public void setIsMainLibrary(String isMainLibrary) 
+    {
+        this.isMainLibrary = isMainLibrary;
+    }
+
+    public String getIsMainLibrary() 
+    {
+        return isMainLibrary;
+    }
+    public void setIsDocument(Integer isDocument) 
+    {
+        this.isDocument = isDocument;
+    }
+
+    public Integer getIsDocument() 
+    {
+        return isDocument;
+    }
+    public void setSignature(String signature) 
+    {
+        this.signature = signature;
+    }
+
+    public String getSignature() 
+    {
+        return signature;
+    }
+    public void setModifyBy(Date modifyBy) 
+    {
+        this.modifyBy = modifyBy;
+    }
+
+    public Date getModifyBy() 
+    {
+        return modifyBy;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("fileid", getFileid())
+            .append("mdid", getMdid())
+            .append("filename", getFilename())
+            .append("relativePath", getRelativePath())
+            .append("isMainLibrary", getIsMainLibrary())
+            .append("isDocument", getIsDocument())
+            .append("signature", getSignature())
+            .append("createBy", getCreateBy())
+            .append("modifyBy", getModifyBy())
+            .toString();
+    }
+}

+ 463 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelInfo.java

@@ -0,0 +1,463 @@
+package com.ruoyi.interfaces.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 模型信息对象 md_model_info
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public class MdModelInfo extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 模型标识 */
+    @ApiModelProperty("模型标识")
+    private String mdid;
+
+    /** 模型名称 */
+    @ApiModelProperty("模型名称")
+    @Excel(name = "模型名称")
+    private String name;
+
+    /** 模型英文名称 */
+    @ApiModelProperty("模型英文名称")
+    @Excel(name = "模型英文名称")
+    private String enname;
+
+    /** 目录标识 */
+    @ApiModelProperty("目录标识")
+    @Excel(name = "目录标识")
+    private String cateid;
+
+    /** 开发语言 */
+    @ApiModelProperty("开发语言")
+    @Excel(name = "开发语言")
+    private String devlang;
+
+    /** 模型版本号 */
+    @ApiModelProperty("模型版本号")
+    @Excel(name = "模型版本号")
+    private String version;
+
+    /** 模型介绍 */
+    @ApiModelProperty("模型介绍")
+    @Excel(name = "模型介绍")
+    private String intro;
+
+    /** 模型类型,1集总式 2分布式 3水力学 */
+    @ApiModelProperty("模型类型")
+    @Excel(name = "模型类型,1集总式 2分布式 3水力学")
+    private String type;
+
+    /** 模型标签 */
+    @ApiModelProperty("模型标签")
+    @Excel(name = "模型标签")
+    private String tags;
+
+    /** 开发者用户编号 */
+    @ApiModelProperty("开发者用户编号")
+    @Excel(name = "开发者用户编号")
+    private Long author;
+
+    /** 是否发布 */
+    @ApiModelProperty("是否发布")
+    @Excel(name = "是否发布")
+    private Integer isPublic;
+
+    /** 是否审核 */
+    @ApiModelProperty("是否审核")
+    @Excel(name = "是否审核")
+    private Integer isApproved;
+
+    /** 模型状态 */
+    @ApiModelProperty("模型状态")
+    @Excel(name = "模型状态")
+    private Integer status;
+
+    /** 模型类名 */
+    @ApiModelProperty("模型类名")
+    @Excel(name = "模型类名")
+    private String className;
+
+    /** 模型提供单位 */
+    @ApiModelProperty("模型提供单位")
+    @Excel(name = "模型提供单位")
+    private String mdUnit;
+
+    /** 模型单位联系方式 */
+    @ApiModelProperty("模型单位联系方式")
+    @Excel(name = "模型单位联系方式")
+    private String mdContact;
+
+    /** 开发单位 */
+    @ApiModelProperty("开发单位")
+    @Excel(name = "开发单位")
+    private String developer;
+
+    /** 是否启动消息服务 */
+    @ApiModelProperty("是否启动消息服务")
+    @Excel(name = "是否启动消息服务")
+    private Integer msgFlag;
+
+    /** 模型消息WebHook */
+    @ApiModelProperty("模型消息WebHook")
+    @Excel(name = "模型消息WebHook")
+    private String msgWebHook;
+
+    /** 模型CPU核心数 */
+    @ApiModelProperty("模型CPU核心数")
+    @Excel(name = "模型CPU核心数")
+    private Integer mdCPU;
+
+    /** 是否需要GPU */
+    @ApiModelProperty("是否需要GPU")
+    @Excel(name = "是否需要GPU")
+    private Integer mdGpu;
+
+    /** 模型运行平台 */
+    @ApiModelProperty("模型运行平台")
+    @Excel(name = "模型运行平台")
+    private String mdRunEnv;
+
+    /** 模型运行命令 */
+    @ApiModelProperty("模型运行命令")
+    @Excel(name = "模型运行命令")
+    private String mdRunCmd;
+
+    /** 模型输入输出文件名称 */
+    @ApiModelProperty("模型输入输出文件名称")
+    @Excel(name = "模型输入输出文件名称")
+    private String mdInOutName;
+
+    /** 模型输入输出文件英文名称 */
+    @ApiModelProperty("模型输入输出文件英文名称")
+    @Excel(name = "模型输入输出文件英文名称")
+    private String mdInOutNameEn;
+
+    /** 模型调用示例 */
+    @ApiModelProperty("模型调用示例")
+    @Excel(name = "模型调用示例")
+    private String mirrorImageEg;
+
+    /** 模型镜像地址/服务地址 */
+    @ApiModelProperty("模型镜像地址/服务地址")
+    @Excel(name = "模型镜像地址/服务地址")
+    private String mirrorImageUrl;
+
+    /** 模型对应文件描述表 */
+    @ApiModelProperty("模型对应文件描述表")
+    @Excel(name = "模型对应文件描述表")
+    private String mirrorImageDesc;
+
+    /** 编辑时间 */
+    @ApiModelProperty("编辑时间")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date modifyBy;
+
+    public void setMdid(String mdid) 
+    {
+        this.mdid = mdid;
+    }
+
+    public String getMdid() 
+    {
+        return mdid;
+    }
+    public void setName(String name) 
+    {
+        this.name = name;
+    }
+
+    public String getName() 
+    {
+        return name;
+    }
+    public void setEnname(String enname) 
+    {
+        this.enname = enname;
+    }
+
+    public String getEnname() 
+    {
+        return enname;
+    }
+    public void setCateid(String cateid) 
+    {
+        this.cateid = cateid;
+    }
+
+    public String getCateid() 
+    {
+        return cateid;
+    }
+    public void setDevlang(String devlang) 
+    {
+        this.devlang = devlang;
+    }
+
+    public String getDevlang() 
+    {
+        return devlang;
+    }
+    public void setVersion(String version) 
+    {
+        this.version = version;
+    }
+
+    public String getVersion() 
+    {
+        return version;
+    }
+    public void setIntro(String intro) 
+    {
+        this.intro = intro;
+    }
+
+    public String getIntro() 
+    {
+        return intro;
+    }
+    public void setType(String type) 
+    {
+        this.type = type;
+    }
+
+    public String getType() 
+    {
+        return type;
+    }
+    public void setTags(String tags) 
+    {
+        this.tags = tags;
+    }
+
+    public String getTags() 
+    {
+        return tags;
+    }
+    public void setAuthor(Long author) 
+    {
+        this.author = author;
+    }
+
+    public Long getAuthor() 
+    {
+        return author;
+    }
+    public void setIsPublic(Integer isPublic) 
+    {
+        this.isPublic = isPublic;
+    }
+
+    public Integer getIsPublic() 
+    {
+        return isPublic;
+    }
+    public void setIsApproved(Integer isApproved) 
+    {
+        this.isApproved = isApproved;
+    }
+
+    public Integer getIsApproved() 
+    {
+        return isApproved;
+    }
+    public void setStatus(Integer status) 
+    {
+        this.status = status;
+    }
+
+    public Integer getStatus() 
+    {
+        return status;
+    }
+    public void setClassName(String className) 
+    {
+        this.className = className;
+    }
+
+    public String getClassName() 
+    {
+        return className;
+    }
+    public void setMdUnit(String mdUnit) 
+    {
+        this.mdUnit = mdUnit;
+    }
+
+    public String getMdUnit() 
+    {
+        return mdUnit;
+    }
+    public void setMdContact(String mdContact) 
+    {
+        this.mdContact = mdContact;
+    }
+
+    public String getMdContact() 
+    {
+        return mdContact;
+    }
+    public void setDeveloper(String developer) 
+    {
+        this.developer = developer;
+    }
+
+    public String getDeveloper() 
+    {
+        return developer;
+    }
+    public void setMsgFlag(Integer msgFlag) 
+    {
+        this.msgFlag = msgFlag;
+    }
+
+    public Integer getMsgFlag() 
+    {
+        return msgFlag;
+    }
+    public void setMsgWebHook(String msgWebHook) 
+    {
+        this.msgWebHook = msgWebHook;
+    }
+
+    public String getMsgWebHook() 
+    {
+        return msgWebHook;
+    }
+    public void setMdCPU(Integer mdCPU) 
+    {
+        this.mdCPU = mdCPU;
+    }
+
+    public Integer getMdCPU() 
+    {
+        return mdCPU;
+    }
+    public void setMdGpu(Integer mdGpu) 
+    {
+        this.mdGpu = mdGpu;
+    }
+
+    public Integer getMdGpu() 
+    {
+        return mdGpu;
+    }
+    public void setMdRunEnv(String mdRunEnv) 
+    {
+        this.mdRunEnv = mdRunEnv;
+    }
+
+    public String getMdRunEnv() 
+    {
+        return mdRunEnv;
+    }
+    public void setMdRunCmd(String mdRunCmd) 
+    {
+        this.mdRunCmd = mdRunCmd;
+    }
+
+    public String getMdRunCmd() 
+    {
+        return mdRunCmd;
+    }
+    public void setMdInOutName(String mdInOutName) 
+    {
+        this.mdInOutName = mdInOutName;
+    }
+
+    public String getMdInOutName() 
+    {
+        return mdInOutName;
+    }
+    public void setMdInOutNameEn(String mdInOutNameEn) 
+    {
+        this.mdInOutNameEn = mdInOutNameEn;
+    }
+
+    public String getMdInOutNameEn() 
+    {
+        return mdInOutNameEn;
+    }
+    public void setMirrorImageEg(String mirrorImageEg) 
+    {
+        this.mirrorImageEg = mirrorImageEg;
+    }
+
+    public String getMirrorImageEg() 
+    {
+        return mirrorImageEg;
+    }
+    public void setMirrorImageUrl(String mirrorImageUrl) 
+    {
+        this.mirrorImageUrl = mirrorImageUrl;
+    }
+
+    public String getMirrorImageUrl() 
+    {
+        return mirrorImageUrl;
+    }
+    public void setMirrorImageDesc(String mirrorImageDesc) 
+    {
+        this.mirrorImageDesc = mirrorImageDesc;
+    }
+
+    public String getMirrorImageDesc() 
+    {
+        return mirrorImageDesc;
+    }
+    public void setModifyBy(Date modifyBy) 
+    {
+        this.modifyBy = modifyBy;
+    }
+
+    public Date getModifyBy() 
+    {
+        return modifyBy;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("mdid", getMdid())
+            .append("name", getName())
+            .append("enname", getEnname())
+            .append("cateid", getCateid())
+            .append("devlang", getDevlang())
+            .append("version", getVersion())
+            .append("intro", getIntro())
+            .append("type", getType())
+            .append("tags", getTags())
+            .append("author", getAuthor())
+            .append("isPublic", getIsPublic())
+            .append("isApproved", getIsApproved())
+            .append("status", getStatus())
+            .append("className", getClassName())
+            .append("mdUnit", getMdUnit())
+            .append("mdContact", getMdContact())
+            .append("developer", getDeveloper())
+            .append("msgFlag", getMsgFlag())
+            .append("msgWebHook", getMsgWebHook())
+            .append("mdCPU", getMdCPU())
+            .append("mdGpu", getMdGpu())
+            .append("mdRunEnv", getMdRunEnv())
+            .append("mdRunCmd", getMdRunCmd())
+            .append("mdInOutName", getMdInOutName())
+            .append("mdInOutNameEn", getMdInOutNameEn())
+            .append("mirrorImageEg", getMirrorImageEg())
+            .append("mirrorImageUrl", getMirrorImageUrl())
+            .append("mirrorImageDesc", getMirrorImageDesc())
+            .append("createBy", getCreateBy())
+            .append("modifyBy", getModifyBy())
+            .toString();
+    }
+}

+ 207 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/domain/MdModelParams.java

@@ -0,0 +1,207 @@
+package com.ruoyi.interfaces.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 模型参数信息对象 md_model_params
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public class MdModelParams extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 模型参数标识 */
+    @ApiModelProperty("模型参数标识")
+    private String parId;
+
+    /** 模型标识ID */
+    @ApiModelProperty("模型标识ID")
+    private String mdid;
+
+    /** 参数名称 */
+    @ApiModelProperty("参数名称")
+    @Excel(name = "参数名称")
+    private String parName;
+
+    /** 参数类型 */
+    @ApiModelProperty("参数类型")
+    @Excel(name = "参数类型")
+    private String parType;
+
+    /** 参数数据类型 */
+    @ApiModelProperty("参数数据类型")
+    @Excel(name = "参数数据类型")
+    private String parDataType;
+
+    /** 参数数据范围 */
+    @ApiModelProperty("参数数据范围")
+    @Excel(name = "参数数据范围")
+    private String parDataRange;
+
+    /** 模型参数单位 */
+    @ApiModelProperty("模型参数单位")
+    @Excel(name = "模型参数单位")
+    private String parDataUnit;
+
+    /** 模型参数权重 */
+    @ApiModelProperty("模型参数权重")
+    @Excel(name = "模型参数权重")
+    private String parDataWeight;
+
+    /** 参数文件路径 */
+    @ApiModelProperty("参数文件路径")
+    @Excel(name = "参数文件路径")
+    private String parFilePath;
+
+    /** 参数文件名称 */
+    @ApiModelProperty("参数文件名称")
+    @Excel(name = "参数文件名称")
+    private String parFileName;
+
+    /** 参数状态 */
+    @ApiModelProperty("参数状态")
+    @Excel(name = "参数状态")
+    private String parStatus;
+
+    /** 编辑时间 */
+    @ApiModelProperty("编辑时间")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date modifyBy;
+
+    public void setParId(String parId) 
+    {
+        this.parId = parId;
+    }
+
+    public String getParId() 
+    {
+        return parId;
+    }
+    public void setMdid(String mdid) 
+    {
+        this.mdid = mdid;
+    }
+
+    public String getMdid() 
+    {
+        return mdid;
+    }
+    public void setParName(String parName) 
+    {
+        this.parName = parName;
+    }
+
+    public String getParName() 
+    {
+        return parName;
+    }
+    public void setParType(String parType) 
+    {
+        this.parType = parType;
+    }
+
+    public String getParType() 
+    {
+        return parType;
+    }
+    public void setParDataType(String parDataType) 
+    {
+        this.parDataType = parDataType;
+    }
+
+    public String getParDataType() 
+    {
+        return parDataType;
+    }
+    public void setParDataRange(String parDataRange) 
+    {
+        this.parDataRange = parDataRange;
+    }
+
+    public String getParDataRange() 
+    {
+        return parDataRange;
+    }
+    public void setParDataUnit(String parDataUnit) 
+    {
+        this.parDataUnit = parDataUnit;
+    }
+
+    public String getParDataUnit() 
+    {
+        return parDataUnit;
+    }
+    public void setParDataWeight(String parDataWeight) 
+    {
+        this.parDataWeight = parDataWeight;
+    }
+
+    public String getParDataWeight() 
+    {
+        return parDataWeight;
+    }
+    public void setParFilePath(String parFilePath) 
+    {
+        this.parFilePath = parFilePath;
+    }
+
+    public String getParFilePath() 
+    {
+        return parFilePath;
+    }
+    public void setParFileName(String parFileName) 
+    {
+        this.parFileName = parFileName;
+    }
+
+    public String getParFileName() 
+    {
+        return parFileName;
+    }
+    public void setParStatus(String parStatus) 
+    {
+        this.parStatus = parStatus;
+    }
+
+    public String getParStatus() 
+    {
+        return parStatus;
+    }
+    public void setModifyBy(Date modifyBy) 
+    {
+        this.modifyBy = modifyBy;
+    }
+
+    public Date getModifyBy() 
+    {
+        return modifyBy;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("parId", getParId())
+            .append("mdid", getMdid())
+            .append("parName", getParName())
+            .append("parType", getParType())
+            .append("parDataType", getParDataType())
+            .append("parDataRange", getParDataRange())
+            .append("parDataUnit", getParDataUnit())
+            .append("parDataWeight", getParDataWeight())
+            .append("parFilePath", getParFilePath())
+            .append("parFileName", getParFileName())
+            .append("parStatus", getParStatus())
+            .append("createBy", getCreateBy())
+            .append("modifyBy", getModifyBy())
+            .toString();
+    }
+}

+ 67 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelAclMapper.java

@@ -0,0 +1,67 @@
+package com.ruoyi.interfaces.mapper;
+
+import com.ruoyi.common.annotation.DataSource;
+import com.ruoyi.common.enums.DataSourceType;
+import com.ruoyi.interfaces.domain.MdModelAcl;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 模型访问控制Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Mapper
+@DataSource(DataSourceType.SLAVE)
+public interface MdModelAclMapper 
+{
+    /**
+     * 查询模型访问控制
+     * 
+     * @param aclid 模型访问控制主键
+     * @return 模型访问控制
+     */
+    public MdModelAcl selectMdModelAclByAclid(String aclid);
+
+    /**
+     * 查询模型访问控制列表
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 模型访问控制集合
+     */
+    public List<MdModelAcl> selectMdModelAclList(MdModelAcl mdModelAcl);
+
+    /**
+     * 新增模型访问控制
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 结果
+     */
+    public int insertMdModelAcl(MdModelAcl mdModelAcl);
+
+    /**
+     * 修改模型访问控制
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 结果
+     */
+    public int updateMdModelAcl(MdModelAcl mdModelAcl);
+
+    /**
+     * 删除模型访问控制
+     * 
+     * @param aclid 模型访问控制主键
+     * @return 结果
+     */
+    public int deleteMdModelAclByAclid(String aclid);
+
+    /**
+     * 批量删除模型访问控制
+     * 
+     * @param aclids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteMdModelAclByAclids(String[] aclids);
+}

+ 67 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelCatetoryMapper.java

@@ -0,0 +1,67 @@
+package com.ruoyi.interfaces.mapper;
+
+import com.ruoyi.common.annotation.DataSource;
+import com.ruoyi.common.enums.DataSourceType;
+import com.ruoyi.interfaces.domain.MdModelCatetory;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 模型目录Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Mapper
+@DataSource(DataSourceType.SLAVE)
+public interface MdModelCatetoryMapper 
+{
+    /**
+     * 查询模型目录
+     * 
+     * @param cateid 模型目录主键
+     * @return 模型目录
+     */
+    public MdModelCatetory selectMdModelCatetoryByCateid(String cateid);
+
+    /**
+     * 查询模型目录列表
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 模型目录集合
+     */
+    public List<MdModelCatetory> selectMdModelCatetoryList(MdModelCatetory mdModelCatetory);
+
+    /**
+     * 新增模型目录
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 结果
+     */
+    public int insertMdModelCatetory(MdModelCatetory mdModelCatetory);
+
+    /**
+     * 修改模型目录
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 结果
+     */
+    public int updateMdModelCatetory(MdModelCatetory mdModelCatetory);
+
+    /**
+     * 删除模型目录
+     * 
+     * @param cateid 模型目录主键
+     * @return 结果
+     */
+    public int deleteMdModelCatetoryByCateid(String cateid);
+
+    /**
+     * 批量删除模型目录
+     * 
+     * @param cateids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteMdModelCatetoryByCateids(String[] cateids);
+}

+ 67 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelFileMapper.java

@@ -0,0 +1,67 @@
+package com.ruoyi.interfaces.mapper;
+
+import com.ruoyi.common.annotation.DataSource;
+import com.ruoyi.common.enums.DataSourceType;
+import com.ruoyi.interfaces.domain.MdModelFile;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 模型文件信息Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Mapper
+@DataSource(DataSourceType.SLAVE)
+public interface MdModelFileMapper 
+{
+    /**
+     * 查询模型文件信息
+     * 
+     * @param fileid 模型文件信息主键
+     * @return 模型文件信息
+     */
+    public MdModelFile selectMdModelFileByFileid(String fileid);
+
+    /**
+     * 查询模型文件信息列表
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 模型文件信息集合
+     */
+    public List<MdModelFile> selectMdModelFileList(MdModelFile mdModelFile);
+
+    /**
+     * 新增模型文件信息
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 结果
+     */
+    public int insertMdModelFile(MdModelFile mdModelFile);
+
+    /**
+     * 修改模型文件信息
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 结果
+     */
+    public int updateMdModelFile(MdModelFile mdModelFile);
+
+    /**
+     * 删除模型文件信息
+     * 
+     * @param fileid 模型文件信息主键
+     * @return 结果
+     */
+    public int deleteMdModelFileByFileid(String fileid);
+
+    /**
+     * 批量删除模型文件信息
+     * 
+     * @param fileids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteMdModelFileByFileids(String[] fileids);
+}

+ 67 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelInfoMapper.java

@@ -0,0 +1,67 @@
+package com.ruoyi.interfaces.mapper;
+
+import com.ruoyi.common.annotation.DataSource;
+import com.ruoyi.common.enums.DataSourceType;
+import com.ruoyi.interfaces.domain.MdModelInfo;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 模型信息Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Mapper
+@DataSource(DataSourceType.SLAVE)
+public interface MdModelInfoMapper 
+{
+    /**
+     * 查询模型信息
+     * 
+     * @param mdid 模型信息主键
+     * @return 模型信息
+     */
+    public MdModelInfo selectMdModelInfoByMdid(String mdid);
+
+    /**
+     * 查询模型信息列表
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 模型信息集合
+     */
+    public List<MdModelInfo> selectMdModelInfoList(MdModelInfo mdModelInfo);
+
+    /**
+     * 新增模型信息
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 结果
+     */
+    public int insertMdModelInfo(MdModelInfo mdModelInfo);
+
+    /**
+     * 修改模型信息
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 结果
+     */
+    public int updateMdModelInfo(MdModelInfo mdModelInfo);
+
+    /**
+     * 删除模型信息
+     * 
+     * @param mdid 模型信息主键
+     * @return 结果
+     */
+    public int deleteMdModelInfoByMdid(String mdid);
+
+    /**
+     * 批量删除模型信息
+     * 
+     * @param mdids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteMdModelInfoByMdids(String[] mdids);
+}

+ 67 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/mapper/MdModelParamsMapper.java

@@ -0,0 +1,67 @@
+package com.ruoyi.interfaces.mapper;
+
+import com.ruoyi.common.annotation.DataSource;
+import com.ruoyi.common.enums.DataSourceType;
+import com.ruoyi.interfaces.domain.MdModelParams;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+/**
+ * 模型参数信息Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Mapper
+@DataSource(DataSourceType.SLAVE)
+public interface MdModelParamsMapper 
+{
+    /**
+     * 查询模型参数信息
+     * 
+     * @param parId 模型参数信息主键
+     * @return 模型参数信息
+     */
+    public MdModelParams selectMdModelParamsByParId(String parId);
+
+    /**
+     * 查询模型参数信息列表
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 模型参数信息集合
+     */
+    public List<MdModelParams> selectMdModelParamsList(MdModelParams mdModelParams);
+
+    /**
+     * 新增模型参数信息
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 结果
+     */
+    public int insertMdModelParams(MdModelParams mdModelParams);
+
+    /**
+     * 修改模型参数信息
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 结果
+     */
+    public int updateMdModelParams(MdModelParams mdModelParams);
+
+    /**
+     * 删除模型参数信息
+     * 
+     * @param parId 模型参数信息主键
+     * @return 结果
+     */
+    public int deleteMdModelParamsByParId(String parId);
+
+    /**
+     * 批量删除模型参数信息
+     * 
+     * @param parIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteMdModelParamsByParIds(String[] parIds);
+}

+ 62 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelAclService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.interfaces.service;
+
+import com.ruoyi.interfaces.domain.MdModelAcl;
+
+import java.util.List;
+
+/**
+ * 模型访问控制Service接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public interface IMdModelAclService 
+{
+    /**
+     * 查询模型访问控制
+     * 
+     * @param aclid 模型访问控制主键
+     * @return 模型访问控制
+     */
+    public MdModelAcl selectMdModelAclByAclid(String aclid);
+
+    /**
+     * 查询模型访问控制列表
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 模型访问控制集合
+     */
+    public List<MdModelAcl> selectMdModelAclList(MdModelAcl mdModelAcl);
+
+    /**
+     * 新增模型访问控制
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 结果
+     */
+    public int insertMdModelAcl(MdModelAcl mdModelAcl);
+
+    /**
+     * 修改模型访问控制
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 结果
+     */
+    public int updateMdModelAcl(MdModelAcl mdModelAcl);
+
+    /**
+     * 批量删除模型访问控制
+     * 
+     * @param aclids 需要删除的模型访问控制主键集合
+     * @return 结果
+     */
+    public int deleteMdModelAclByAclids(String[] aclids);
+
+    /**
+     * 删除模型访问控制信息
+     * 
+     * @param aclid 模型访问控制主键
+     * @return 结果
+     */
+    public int deleteMdModelAclByAclid(String aclid);
+}

+ 62 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelCatetoryService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.interfaces.service;
+
+import com.ruoyi.interfaces.domain.MdModelCatetory;
+
+import java.util.List;
+
+/**
+ * 模型目录Service接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public interface IMdModelCatetoryService 
+{
+    /**
+     * 查询模型目录
+     * 
+     * @param cateid 模型目录主键
+     * @return 模型目录
+     */
+    public MdModelCatetory selectMdModelCatetoryByCateid(String cateid);
+
+    /**
+     * 查询模型目录列表
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 模型目录集合
+     */
+    public List<MdModelCatetory> selectMdModelCatetoryList(MdModelCatetory mdModelCatetory);
+
+    /**
+     * 新增模型目录
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 结果
+     */
+    public int insertMdModelCatetory(MdModelCatetory mdModelCatetory);
+
+    /**
+     * 修改模型目录
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 结果
+     */
+    public int updateMdModelCatetory(MdModelCatetory mdModelCatetory);
+
+    /**
+     * 批量删除模型目录
+     * 
+     * @param cateids 需要删除的模型目录主键集合
+     * @return 结果
+     */
+    public int deleteMdModelCatetoryByCateids(String[] cateids);
+
+    /**
+     * 删除模型目录信息
+     * 
+     * @param cateid 模型目录主键
+     * @return 结果
+     */
+    public int deleteMdModelCatetoryByCateid(String cateid);
+}

+ 62 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelFileService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.interfaces.service;
+
+import com.ruoyi.interfaces.domain.MdModelFile;
+
+import java.util.List;
+
+/**
+ * 模型文件信息Service接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public interface IMdModelFileService 
+{
+    /**
+     * 查询模型文件信息
+     * 
+     * @param fileid 模型文件信息主键
+     * @return 模型文件信息
+     */
+    public MdModelFile selectMdModelFileByFileid(String fileid);
+
+    /**
+     * 查询模型文件信息列表
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 模型文件信息集合
+     */
+    public List<MdModelFile> selectMdModelFileList(MdModelFile mdModelFile);
+
+    /**
+     * 新增模型文件信息
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 结果
+     */
+    public int insertMdModelFile(MdModelFile mdModelFile);
+
+    /**
+     * 修改模型文件信息
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 结果
+     */
+    public int updateMdModelFile(MdModelFile mdModelFile);
+
+    /**
+     * 批量删除模型文件信息
+     * 
+     * @param fileids 需要删除的模型文件信息主键集合
+     * @return 结果
+     */
+    public int deleteMdModelFileByFileids(String[] fileids);
+
+    /**
+     * 删除模型文件信息信息
+     * 
+     * @param fileid 模型文件信息主键
+     * @return 结果
+     */
+    public int deleteMdModelFileByFileid(String fileid);
+}

+ 62 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelInfoService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.interfaces.service;
+
+import com.ruoyi.interfaces.domain.MdModelInfo;
+
+import java.util.List;
+
+/**
+ * 模型信息Service接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public interface IMdModelInfoService 
+{
+    /**
+     * 查询模型信息
+     * 
+     * @param mdid 模型信息主键
+     * @return 模型信息
+     */
+    public MdModelInfo selectMdModelInfoByMdid(String mdid);
+
+    /**
+     * 查询模型信息列表
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 模型信息集合
+     */
+    public List<MdModelInfo> selectMdModelInfoList(MdModelInfo mdModelInfo);
+
+    /**
+     * 新增模型信息
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 结果
+     */
+    public int insertMdModelInfo(MdModelInfo mdModelInfo);
+
+    /**
+     * 修改模型信息
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 结果
+     */
+    public int updateMdModelInfo(MdModelInfo mdModelInfo);
+
+    /**
+     * 批量删除模型信息
+     * 
+     * @param mdids 需要删除的模型信息主键集合
+     * @return 结果
+     */
+    public int deleteMdModelInfoByMdids(String[] mdids);
+
+    /**
+     * 删除模型信息信息
+     * 
+     * @param mdid 模型信息主键
+     * @return 结果
+     */
+    public int deleteMdModelInfoByMdid(String mdid);
+}

+ 62 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/IMdModelParamsService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.interfaces.service;
+
+import com.ruoyi.interfaces.domain.MdModelParams;
+
+import java.util.List;
+
+/**
+ * 模型参数信息Service接口
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+public interface IMdModelParamsService 
+{
+    /**
+     * 查询模型参数信息
+     * 
+     * @param parId 模型参数信息主键
+     * @return 模型参数信息
+     */
+    public MdModelParams selectMdModelParamsByParId(String parId);
+
+    /**
+     * 查询模型参数信息列表
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 模型参数信息集合
+     */
+    public List<MdModelParams> selectMdModelParamsList(MdModelParams mdModelParams);
+
+    /**
+     * 新增模型参数信息
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 结果
+     */
+    public int insertMdModelParams(MdModelParams mdModelParams);
+
+    /**
+     * 修改模型参数信息
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 结果
+     */
+    public int updateMdModelParams(MdModelParams mdModelParams);
+
+    /**
+     * 批量删除模型参数信息
+     * 
+     * @param parIds 需要删除的模型参数信息主键集合
+     * @return 结果
+     */
+    public int deleteMdModelParamsByParIds(String[] parIds);
+
+    /**
+     * 删除模型参数信息信息
+     * 
+     * @param parId 模型参数信息主键
+     * @return 结果
+     */
+    public int deleteMdModelParamsByParId(String parId);
+}

+ 94 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelAclServiceImpl.java

@@ -0,0 +1,94 @@
+package com.ruoyi.interfaces.service.impl;
+
+import java.util.List;
+
+import com.ruoyi.interfaces.domain.MdModelAcl;
+import com.ruoyi.interfaces.mapper.MdModelAclMapper;
+import com.ruoyi.interfaces.service.IMdModelAclService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * 模型访问控制Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Service
+public class MdModelAclServiceImpl implements IMdModelAclService
+{
+    @Autowired
+    private MdModelAclMapper mdModelAclMapper;
+
+    /**
+     * 查询模型访问控制
+     * 
+     * @param aclid 模型访问控制主键
+     * @return 模型访问控制
+     */
+    @Override
+    public MdModelAcl selectMdModelAclByAclid(String aclid)
+    {
+        return mdModelAclMapper.selectMdModelAclByAclid(aclid);
+    }
+
+    /**
+     * 查询模型访问控制列表
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 模型访问控制
+     */
+    @Override
+    public List<MdModelAcl> selectMdModelAclList(MdModelAcl mdModelAcl)
+    {
+        return mdModelAclMapper.selectMdModelAclList(mdModelAcl);
+    }
+
+    /**
+     * 新增模型访问控制
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 结果
+     */
+    @Override
+    public int insertMdModelAcl(MdModelAcl mdModelAcl)
+    {
+        return mdModelAclMapper.insertMdModelAcl(mdModelAcl);
+    }
+
+    /**
+     * 修改模型访问控制
+     * 
+     * @param mdModelAcl 模型访问控制
+     * @return 结果
+     */
+    @Override
+    public int updateMdModelAcl(MdModelAcl mdModelAcl)
+    {
+        return mdModelAclMapper.updateMdModelAcl(mdModelAcl);
+    }
+
+    /**
+     * 批量删除模型访问控制
+     * 
+     * @param aclids 需要删除的模型访问控制主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelAclByAclids(String[] aclids)
+    {
+        return mdModelAclMapper.deleteMdModelAclByAclids(aclids);
+    }
+
+    /**
+     * 删除模型访问控制信息
+     * 
+     * @param aclid 模型访问控制主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelAclByAclid(String aclid)
+    {
+        return mdModelAclMapper.deleteMdModelAclByAclid(aclid);
+    }
+}

+ 94 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelCatetoryServiceImpl.java

@@ -0,0 +1,94 @@
+package com.ruoyi.interfaces.service.impl;
+
+import java.util.List;
+
+import com.ruoyi.interfaces.domain.MdModelCatetory;
+import com.ruoyi.interfaces.mapper.MdModelCatetoryMapper;
+import com.ruoyi.interfaces.service.IMdModelCatetoryService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * 模型目录Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Service
+public class MdModelCatetoryServiceImpl implements IMdModelCatetoryService
+{
+    @Autowired
+    private MdModelCatetoryMapper mdModelCatetoryMapper;
+
+    /**
+     * 查询模型目录
+     * 
+     * @param cateid 模型目录主键
+     * @return 模型目录
+     */
+    @Override
+    public MdModelCatetory selectMdModelCatetoryByCateid(String cateid)
+    {
+        return mdModelCatetoryMapper.selectMdModelCatetoryByCateid(cateid);
+    }
+
+    /**
+     * 查询模型目录列表
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 模型目录
+     */
+    @Override
+    public List<MdModelCatetory> selectMdModelCatetoryList(MdModelCatetory mdModelCatetory)
+    {
+        return mdModelCatetoryMapper.selectMdModelCatetoryList(mdModelCatetory);
+    }
+
+    /**
+     * 新增模型目录
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 结果
+     */
+    @Override
+    public int insertMdModelCatetory(MdModelCatetory mdModelCatetory)
+    {
+        return mdModelCatetoryMapper.insertMdModelCatetory(mdModelCatetory);
+    }
+
+    /**
+     * 修改模型目录
+     * 
+     * @param mdModelCatetory 模型目录
+     * @return 结果
+     */
+    @Override
+    public int updateMdModelCatetory(MdModelCatetory mdModelCatetory)
+    {
+        return mdModelCatetoryMapper.updateMdModelCatetory(mdModelCatetory);
+    }
+
+    /**
+     * 批量删除模型目录
+     * 
+     * @param cateids 需要删除的模型目录主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelCatetoryByCateids(String[] cateids)
+    {
+        return mdModelCatetoryMapper.deleteMdModelCatetoryByCateids(cateids);
+    }
+
+    /**
+     * 删除模型目录信息
+     * 
+     * @param cateid 模型目录主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelCatetoryByCateid(String cateid)
+    {
+        return mdModelCatetoryMapper.deleteMdModelCatetoryByCateid(cateid);
+    }
+}

+ 94 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelFileServiceImpl.java

@@ -0,0 +1,94 @@
+package com.ruoyi.interfaces.service.impl;
+
+import java.util.List;
+
+import com.ruoyi.interfaces.domain.MdModelFile;
+import com.ruoyi.interfaces.mapper.MdModelFileMapper;
+import com.ruoyi.interfaces.service.IMdModelFileService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * 模型文件信息Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Service
+public class MdModelFileServiceImpl implements IMdModelFileService
+{
+    @Autowired
+    private MdModelFileMapper mdModelFileMapper;
+
+    /**
+     * 查询模型文件信息
+     * 
+     * @param fileid 模型文件信息主键
+     * @return 模型文件信息
+     */
+    @Override
+    public MdModelFile selectMdModelFileByFileid(String fileid)
+    {
+        return mdModelFileMapper.selectMdModelFileByFileid(fileid);
+    }
+
+    /**
+     * 查询模型文件信息列表
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 模型文件信息
+     */
+    @Override
+    public List<MdModelFile> selectMdModelFileList(MdModelFile mdModelFile)
+    {
+        return mdModelFileMapper.selectMdModelFileList(mdModelFile);
+    }
+
+    /**
+     * 新增模型文件信息
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 结果
+     */
+    @Override
+    public int insertMdModelFile(MdModelFile mdModelFile)
+    {
+        return mdModelFileMapper.insertMdModelFile(mdModelFile);
+    }
+
+    /**
+     * 修改模型文件信息
+     * 
+     * @param mdModelFile 模型文件信息
+     * @return 结果
+     */
+    @Override
+    public int updateMdModelFile(MdModelFile mdModelFile)
+    {
+        return mdModelFileMapper.updateMdModelFile(mdModelFile);
+    }
+
+    /**
+     * 批量删除模型文件信息
+     * 
+     * @param fileids 需要删除的模型文件信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelFileByFileids(String[] fileids)
+    {
+        return mdModelFileMapper.deleteMdModelFileByFileids(fileids);
+    }
+
+    /**
+     * 删除模型文件信息信息
+     * 
+     * @param fileid 模型文件信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelFileByFileid(String fileid)
+    {
+        return mdModelFileMapper.deleteMdModelFileByFileid(fileid);
+    }
+}

+ 94 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelInfoServiceImpl.java

@@ -0,0 +1,94 @@
+package com.ruoyi.interfaces.service.impl;
+
+import java.util.List;
+
+import com.ruoyi.interfaces.domain.MdModelInfo;
+import com.ruoyi.interfaces.mapper.MdModelInfoMapper;
+import com.ruoyi.interfaces.service.IMdModelInfoService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * 模型信息Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Service
+public class MdModelInfoServiceImpl implements IMdModelInfoService
+{
+    @Autowired
+    private MdModelInfoMapper mdModelInfoMapper;
+
+    /**
+     * 查询模型信息
+     * 
+     * @param mdid 模型信息主键
+     * @return 模型信息
+     */
+    @Override
+    public MdModelInfo selectMdModelInfoByMdid(String mdid)
+    {
+        return mdModelInfoMapper.selectMdModelInfoByMdid(mdid);
+    }
+
+    /**
+     * 查询模型信息列表
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 模型信息
+     */
+    @Override
+    public List<MdModelInfo> selectMdModelInfoList(MdModelInfo mdModelInfo)
+    {
+        return mdModelInfoMapper.selectMdModelInfoList(mdModelInfo);
+    }
+
+    /**
+     * 新增模型信息
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 结果
+     */
+    @Override
+    public int insertMdModelInfo(MdModelInfo mdModelInfo)
+    {
+        return mdModelInfoMapper.insertMdModelInfo(mdModelInfo);
+    }
+
+    /**
+     * 修改模型信息
+     * 
+     * @param mdModelInfo 模型信息
+     * @return 结果
+     */
+    @Override
+    public int updateMdModelInfo(MdModelInfo mdModelInfo)
+    {
+        return mdModelInfoMapper.updateMdModelInfo(mdModelInfo);
+    }
+
+    /**
+     * 批量删除模型信息
+     * 
+     * @param mdids 需要删除的模型信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelInfoByMdids(String[] mdids)
+    {
+        return mdModelInfoMapper.deleteMdModelInfoByMdids(mdids);
+    }
+
+    /**
+     * 删除模型信息信息
+     * 
+     * @param mdid 模型信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelInfoByMdid(String mdid)
+    {
+        return mdModelInfoMapper.deleteMdModelInfoByMdid(mdid);
+    }
+}

+ 94 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdModelParamsServiceImpl.java

@@ -0,0 +1,94 @@
+package com.ruoyi.interfaces.service.impl;
+
+import java.util.List;
+
+import com.ruoyi.interfaces.domain.MdModelParams;
+import com.ruoyi.interfaces.mapper.MdModelParamsMapper;
+import com.ruoyi.interfaces.service.IMdModelParamsService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * 模型参数信息Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2025-07-15
+ */
+@Service
+public class MdModelParamsServiceImpl implements IMdModelParamsService
+{
+    @Autowired
+    private MdModelParamsMapper mdModelParamsMapper;
+
+    /**
+     * 查询模型参数信息
+     * 
+     * @param parId 模型参数信息主键
+     * @return 模型参数信息
+     */
+    @Override
+    public MdModelParams selectMdModelParamsByParId(String parId)
+    {
+        return mdModelParamsMapper.selectMdModelParamsByParId(parId);
+    }
+
+    /**
+     * 查询模型参数信息列表
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 模型参数信息
+     */
+    @Override
+    public List<MdModelParams> selectMdModelParamsList(MdModelParams mdModelParams)
+    {
+        return mdModelParamsMapper.selectMdModelParamsList(mdModelParams);
+    }
+
+    /**
+     * 新增模型参数信息
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 结果
+     */
+    @Override
+    public int insertMdModelParams(MdModelParams mdModelParams)
+    {
+        return mdModelParamsMapper.insertMdModelParams(mdModelParams);
+    }
+
+    /**
+     * 修改模型参数信息
+     * 
+     * @param mdModelParams 模型参数信息
+     * @return 结果
+     */
+    @Override
+    public int updateMdModelParams(MdModelParams mdModelParams)
+    {
+        return mdModelParamsMapper.updateMdModelParams(mdModelParams);
+    }
+
+    /**
+     * 批量删除模型参数信息
+     * 
+     * @param parIds 需要删除的模型参数信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelParamsByParIds(String[] parIds)
+    {
+        return mdModelParamsMapper.deleteMdModelParamsByParIds(parIds);
+    }
+
+    /**
+     * 删除模型参数信息信息
+     * 
+     * @param parId 模型参数信息主键
+     * @return 结果
+     */
+    @Override
+    public int deleteMdModelParamsByParId(String parId)
+    {
+        return mdModelParamsMapper.deleteMdModelParamsByParId(parId);
+    }
+}

+ 67 - 0
ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelAclMapper.xml

@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.interfaces.mapper.MdModelAclMapper">
+
+    <resultMap type="com.ruoyi.interfaces.domain.MdModelAcl" id="MdModelAclResult">
+        <result property="aclid"    column="aclid"    />
+        <result property="mdid"    column="mdid"    />
+        <result property="permission"    column="permission"    />
+        <result property="userid"    column="userid"    />
+    </resultMap>
+
+    <sql id="selectMdModelAclVo">
+        select aclid, mdid, permission, userid from md_model_acl
+    </sql>
+
+    <select id="selectMdModelAclList" parameterType="com.ruoyi.interfaces.domain.MdModelAcl" resultMap="MdModelAclResult">
+        <include refid="selectMdModelAclVo"/>
+        <where>
+            <if test="permission != null  and permission != ''"> and permission = #{permission}</if>
+            <if test="userid != null  and userid != ''"> and userid = #{userid}</if>
+        </where>
+    </select>
+
+    <select id="selectMdModelAclByAclid" parameterType="String" resultMap="MdModelAclResult">
+        <include refid="selectMdModelAclVo"/>
+        where aclid = #{aclid}
+    </select>
+
+    <insert id="insertMdModelAcl" parameterType="com.ruoyi.interfaces.domain.MdModelAcl">
+        insert into md_model_acl
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="aclid != null">aclid,</if>
+            <if test="mdid != null">mdid,</if>
+            <if test="permission != null">permission,</if>
+            <if test="userid != null">userid,</if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="aclid != null">#{aclid},</if>
+            <if test="mdid != null">#{mdid},</if>
+            <if test="permission != null">#{permission},</if>
+            <if test="userid != null">#{userid},</if>
+        </trim>
+    </insert>
+
+    <update id="updateMdModelAcl" parameterType="com.ruoyi.interfaces.domain.MdModelAcl">
+        update md_model_acl
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="mdid != null">mdid = #{mdid},</if>
+            <if test="permission != null">permission = #{permission},</if>
+            <if test="userid != null">userid = #{userid},</if>
+        </trim>
+        where aclid = #{aclid}
+    </update>
+
+    <delete id="deleteMdModelAclByAclid" parameterType="String">
+        delete from md_model_acl where aclid = #{aclid}
+    </delete>
+
+    <delete id="deleteMdModelAclByAclids" parameterType="String">
+        delete from md_model_acl where aclid in
+        <foreach item="aclid" collection="array" open="(" separator="," close=")">
+            #{aclid}
+        </foreach>
+    </delete>
+</mapper>

+ 78 - 0
ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelCatetoryMapper.xml

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.interfaces.mapper.MdModelCatetoryMapper">
+
+    <resultMap type="com.ruoyi.interfaces.domain.MdModelCatetory" id="MdModelCatetoryResult">
+        <result property="cateid"    column="cateid"    />
+        <result property="name"    column="name"    />
+        <result property="intro"    column="intro"    />
+        <result property="userId"    column="userId"    />
+        <result property="createBy"    column="createBy"    />
+        <result property="modifyBy"    column="modifyBy"    />
+    </resultMap>
+
+    <sql id="selectMdModelCatetoryVo">
+        select cateid, name, intro, userId, createBy, modifyBy from md_model_catetory
+    </sql>
+
+    <select id="selectMdModelCatetoryList" parameterType="com.ruoyi.interfaces.domain.MdModelCatetory" resultMap="MdModelCatetoryResult">
+        <include refid="selectMdModelCatetoryVo"/>
+        <where>
+            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
+            <if test="intro != null  and intro != ''"> and intro = #{intro}</if>
+            <if test="userId != null "> and userId = #{userId}</if>
+            <if test="createBy != null "> and createBy = #{createBy}</if>
+            <if test="modifyBy != null "> and modifyBy = #{modifyBy}</if>
+        </where>
+    </select>
+
+    <select id="selectMdModelCatetoryByCateid" parameterType="String" resultMap="MdModelCatetoryResult">
+        <include refid="selectMdModelCatetoryVo"/>
+        where cateid = #{cateid}
+    </select>
+
+    <insert id="insertMdModelCatetory" parameterType="com.ruoyi.interfaces.domain.MdModelCatetory">
+        insert into md_model_catetory
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="cateid != null">cateid,</if>
+            <if test="name != null">name,</if>
+            <if test="intro != null">intro,</if>
+            <if test="userId != null">userId,</if>
+            <if test="createBy != null">createBy,</if>
+            <if test="modifyBy != null">modifyBy,</if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="cateid != null">#{cateid},</if>
+            <if test="name != null">#{name},</if>
+            <if test="intro != null">#{intro},</if>
+            <if test="userId != null">#{userId},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="modifyBy != null">#{modifyBy},</if>
+        </trim>
+    </insert>
+
+    <update id="updateMdModelCatetory" parameterType="com.ruoyi.interfaces.domain.MdModelCatetory">
+        update md_model_catetory
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="name != null">name = #{name},</if>
+            <if test="intro != null">intro = #{intro},</if>
+            <if test="userId != null">userId = #{userId},</if>
+            <if test="createBy != null">createBy = #{createBy},</if>
+            <if test="modifyBy != null">modifyBy = #{modifyBy},</if>
+        </trim>
+        where cateid = #{cateid}
+    </update>
+
+    <delete id="deleteMdModelCatetoryByCateid" parameterType="String">
+        delete from md_model_catetory where cateid = #{cateid}
+    </delete>
+
+    <delete id="deleteMdModelCatetoryByCateids" parameterType="String">
+        delete from md_model_catetory where cateid in
+        <foreach item="cateid" collection="array" open="(" separator="," close=")">
+            #{cateid}
+        </foreach>
+    </delete>
+</mapper>

+ 93 - 0
ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelFileMapper.xml

@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.interfaces.mapper.MdModelFileMapper">
+
+    <resultMap type="com.ruoyi.interfaces.domain.MdModelFile" id="MdModelFileResult">
+        <result property="fileid"    column="fileid"    />
+        <result property="mdid"    column="mdid"    />
+        <result property="filename"    column="filename"    />
+        <result property="relativePath"    column="relativePath"    />
+        <result property="isMainLibrary"    column="isMainLibrary"    />
+        <result property="isDocument"    column="isDocument"    />
+        <result property="signature"    column="signature"    />
+        <result property="createBy"    column="createBy"    />
+        <result property="modifyBy"    column="modifyBy"    />
+    </resultMap>
+
+    <sql id="selectMdModelFileVo">
+        select fileid, mdid, filename, relativePath, isMainLibrary, isDocument, signature, createBy, modifyBy from md_model_file
+    </sql>
+
+    <select id="selectMdModelFileList" parameterType="com.ruoyi.interfaces.domain.MdModelFile" resultMap="MdModelFileResult">
+        <include refid="selectMdModelFileVo"/>
+        <where>
+            <if test="mdid != null  and mdid != ''"> and mdid = #{mdid}</if>
+            <if test="filename != null  and filename != ''"> and filename like concat('%', #{filename}, '%')</if>
+            <if test="relativePath != null  and relativePath != ''"> and relativePath = #{relativePath}</if>
+            <if test="isMainLibrary != null  and isMainLibrary != ''"> and isMainLibrary = #{isMainLibrary}</if>
+            <if test="isDocument != null "> and isDocument = #{isDocument}</if>
+            <if test="signature != null  and signature != ''"> and signature = #{signature}</if>
+            <if test="createBy != null "> and createBy = #{createBy}</if>
+            <if test="modifyBy != null "> and modifyBy = #{modifyBy}</if>
+        </where>
+    </select>
+
+    <select id="selectMdModelFileByFileid" parameterType="String" resultMap="MdModelFileResult">
+        <include refid="selectMdModelFileVo"/>
+        where fileid = #{fileid}
+    </select>
+
+    <insert id="insertMdModelFile" parameterType="com.ruoyi.interfaces.domain.MdModelFile">
+        insert into md_model_file
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="fileid != null">fileid,</if>
+            <if test="mdid != null">mdid,</if>
+            <if test="filename != null">filename,</if>
+            <if test="relativePath != null">relativePath,</if>
+            <if test="isMainLibrary != null">isMainLibrary,</if>
+            <if test="isDocument != null">isDocument,</if>
+            <if test="signature != null">signature,</if>
+            <if test="createBy != null">createBy,</if>
+            <if test="modifyBy != null">modifyBy,</if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="fileid != null">#{fileid},</if>
+            <if test="mdid != null">#{mdid},</if>
+            <if test="filename != null">#{filename},</if>
+            <if test="relativePath != null">#{relativePath},</if>
+            <if test="isMainLibrary != null">#{isMainLibrary},</if>
+            <if test="isDocument != null">#{isDocument},</if>
+            <if test="signature != null">#{signature},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="modifyBy != null">#{modifyBy},</if>
+        </trim>
+    </insert>
+
+    <update id="updateMdModelFile" parameterType="com.ruoyi.interfaces.domain.MdModelFile">
+        update md_model_file
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="mdid != null">mdid = #{mdid},</if>
+            <if test="filename != null">filename = #{filename},</if>
+            <if test="relativePath != null">relativePath = #{relativePath},</if>
+            <if test="isMainLibrary != null">isMainLibrary = #{isMainLibrary},</if>
+            <if test="isDocument != null">isDocument = #{isDocument},</if>
+            <if test="signature != null">signature = #{signature},</if>
+            <if test="createBy != null">createBy = #{createBy},</if>
+            <if test="modifyBy != null">modifyBy = #{modifyBy},</if>
+        </trim>
+        where fileid = #{fileid}
+    </update>
+
+    <delete id="deleteMdModelFileByFileid" parameterType="String">
+        delete from md_model_file where fileid = #{fileid}
+    </delete>
+
+    <delete id="deleteMdModelFileByFileids" parameterType="String">
+        delete from md_model_file where fileid in
+        <foreach item="fileid" collection="array" open="(" separator="," close=")">
+            #{fileid}
+        </foreach>
+    </delete>
+</mapper>

+ 112 - 0
ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelParamsMapper.xml

@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.interfaces.mapper.MdModelParamsMapper">
+
+    <resultMap type="com.ruoyi.interfaces.domain.MdModelParams" id="MdModelParamsResult">
+        <result property="parId"    column="parId"    />
+        <result property="mdid"    column="mdid"    />
+        <result property="parName"    column="parName"    />
+        <result property="parType"    column="parType"    />
+        <result property="parDataType"    column="parDataType"    />
+        <result property="parDataRange"    column="parDataRange"    />
+        <result property="parDataUnit"    column="parDataUnit"    />
+        <result property="parDataWeight"    column="parDataWeight"    />
+        <result property="parFilePath"    column="parFilePath"    />
+        <result property="parFileName"    column="parFileName"    />
+        <result property="parStatus"    column="parStatus"    />
+        <result property="createBy"    column="createBy"    />
+        <result property="modifyBy"    column="modifyBy"    />
+    </resultMap>
+
+    <sql id="selectMdModelParamsVo">
+        select parId, mdid, parName, parType, parDataType, parDataRange, parDataUnit, parDataWeight, parFilePath, parFileName, parStatus, createBy, modifyBy from md_model_params
+    </sql>
+
+    <select id="selectMdModelParamsList" parameterType="com.ruoyi.interfaces.domain.MdModelParams" resultMap="MdModelParamsResult">
+        <include refid="selectMdModelParamsVo"/>
+        <where>
+            <if test="parName != null  and parName != ''"> and parName like concat('%', #{parName}, '%')</if>
+            <if test="parType != null  and parType != ''"> and parType = #{parType}</if>
+            <if test="parDataType != null  and parDataType != ''"> and parDataType = #{parDataType}</if>
+            <if test="parDataRange != null  and parDataRange != ''"> and parDataRange = #{parDataRange}</if>
+            <if test="parDataUnit != null  and parDataUnit != ''"> and parDataUnit = #{parDataUnit}</if>
+            <if test="parDataWeight != null  and parDataWeight != ''"> and parDataWeight = #{parDataWeight}</if>
+            <if test="parFilePath != null  and parFilePath != ''"> and parFilePath = #{parFilePath}</if>
+            <if test="parFileName != null  and parFileName != ''"> and parFileName like concat('%', #{parFileName}, '%')</if>
+            <if test="parStatus != null  and parStatus != ''"> and parStatus = #{parStatus}</if>
+            <if test="createBy != null "> and createBy = #{createBy}</if>
+            <if test="modifyBy != null "> and modifyBy = #{modifyBy}</if>
+        </where>
+    </select>
+
+    <select id="selectMdModelParamsByParId" parameterType="String" resultMap="MdModelParamsResult">
+        <include refid="selectMdModelParamsVo"/>
+        where parId = #{parId}
+    </select>
+
+    <insert id="insertMdModelParams" parameterType="com.ruoyi.interfaces.domain.MdModelParams">
+        insert into md_model_params
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="parId != null">parId,</if>
+            <if test="mdid != null">mdid,</if>
+            <if test="parName != null">parName,</if>
+            <if test="parType != null">parType,</if>
+            <if test="parDataType != null">parDataType,</if>
+            <if test="parDataRange != null">parDataRange,</if>
+            <if test="parDataUnit != null">parDataUnit,</if>
+            <if test="parDataWeight != null">parDataWeight,</if>
+            <if test="parFilePath != null">parFilePath,</if>
+            <if test="parFileName != null">parFileName,</if>
+            <if test="parStatus != null">parStatus,</if>
+            <if test="createBy != null">createBy,</if>
+            <if test="modifyBy != null">modifyBy,</if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="parId != null">#{parId},</if>
+            <if test="mdid != null">#{mdid},</if>
+            <if test="parName != null">#{parName},</if>
+            <if test="parType != null">#{parType},</if>
+            <if test="parDataType != null">#{parDataType},</if>
+            <if test="parDataRange != null">#{parDataRange},</if>
+            <if test="parDataUnit != null">#{parDataUnit},</if>
+            <if test="parDataWeight != null">#{parDataWeight},</if>
+            <if test="parFilePath != null">#{parFilePath},</if>
+            <if test="parFileName != null">#{parFileName},</if>
+            <if test="parStatus != null">#{parStatus},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="modifyBy != null">#{modifyBy},</if>
+        </trim>
+    </insert>
+
+    <update id="updateMdModelParams" parameterType="com.ruoyi.interfaces.domain.MdModelParams">
+        update md_model_params
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="mdid != null">mdid = #{mdid},</if>
+            <if test="parName != null">parName = #{parName},</if>
+            <if test="parType != null">parType = #{parType},</if>
+            <if test="parDataType != null">parDataType = #{parDataType},</if>
+            <if test="parDataRange != null">parDataRange = #{parDataRange},</if>
+            <if test="parDataUnit != null">parDataUnit = #{parDataUnit},</if>
+            <if test="parDataWeight != null">parDataWeight = #{parDataWeight},</if>
+            <if test="parFilePath != null">parFilePath = #{parFilePath},</if>
+            <if test="parFileName != null">parFileName = #{parFileName},</if>
+            <if test="parStatus != null">parStatus = #{parStatus},</if>
+            <if test="createBy != null">createBy = #{createBy},</if>
+            <if test="modifyBy != null">modifyBy = #{modifyBy},</if>
+        </trim>
+        where parId = #{parId}
+    </update>
+
+    <delete id="deleteMdModelParamsByParId" parameterType="String">
+        delete from md_model_params where parId = #{parId}
+    </delete>
+
+    <delete id="deleteMdModelParamsByParIds" parameterType="String">
+        delete from md_model_params where parId in
+        <foreach item="parId" collection="array" open="(" separator="," close=")">
+            #{parId}
+        </foreach>
+    </delete>
+</mapper>