gydx_2024_qin 1 mesiac pred
rodič
commit
64d806acdd

+ 1 - 1
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/enterprise/base/controller/TEAreaInstanceController.java

@@ -29,7 +29,7 @@ import com.ruoyi.common.core.web.page.TableDataInfo;
  * @date 2024-09-24
  */
 @RestController
-@RequestMapping("/instance")
+@RequestMapping("/area/instance")
 public class TEAreaInstanceController extends BaseController
 {
     @Autowired

+ 3 - 0
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/enterprise/base/service/impl/TECompareobjectInstanceServiceImpl.java

@@ -1,6 +1,8 @@
 package com.ruoyi.system.enterprise.base.service.impl;
 
 import java.util.List;
+
+import com.ruoyi.common.core.utils.uuid.UUID;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import com.ruoyi.system.enterprise.base.mapper.TECompareobjectInstanceMapper;
@@ -52,6 +54,7 @@ public class TECompareobjectInstanceServiceImpl implements ITECompareobjectInsta
     @Override
     public int insertTECompareobjectInstance(TECompareobjectInstance tECompareobjectInstance)
     {
+        tECompareobjectInstance.setId(UUID.fastUUID().toString());
         return tECompareobjectInstanceMapper.insertTECompareobjectInstance(tECompareobjectInstance);
     }