Browse Source

Merge branch 'master' of http://39.98.38.2:13000/dumingliang/sh-model-platform

nanjingliujinyu 6 months ago
parent
commit
1bce097139

+ 3 - 0
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/MdDataSetServiceImpl.java

@@ -1,6 +1,8 @@
 package com.ruoyi.interfaces.service.impl;
 
 import java.util.List;
+
+import com.ruoyi.common.utils.uuid.IdUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import com.ruoyi.interfaces.mapper.MdDataSetMapper;
@@ -52,6 +54,7 @@ public class MdDataSetServiceImpl implements IMdDataSetService
     @Override
     public int insertMdDataSet(MdDataSet mdDataSet)
     {
+        mdDataSet.setDsCode(IdUtils.fastUUID());
         return mdDataSetMapper.insertMdDataSet(mdDataSet);
     }