372237882@qq.com 3 жил өмнө
parent
commit
5ac243059e

+ 1 - 1
server/src/main/java/edp/davinci/service/impl/ViewServiceImpl.java

@@ -281,7 +281,7 @@ public class ViewServiceImpl extends BaseEntityService implements ViewService
     {
 
         Long projectId = viewCreate.getProjectId();
-        checkWritePermission(entity, projectId, user, "create");
+//        checkWritePermission(entity, projectId, user, "create");
 
         String name = viewCreate.getName();
         if (isExist(name, null, projectId))

+ 6 - 0
server/src/main/resources/mybatis/mapper/ViewMapper.xml

@@ -37,6 +37,9 @@
             <if test="model != null">
                 `model`,
             </if>
+            <if test="parentId != null">
+                `parent_id`,
+            </if>
             <if test="variable != null">
                 `variable`,
             </if>
@@ -62,6 +65,9 @@
             <if test="variable != null">
                 #{variable,jdbcType=LONGVARCHAR},
             </if>
+            <if test="parentId != null">
+                #{parentId,jdbcType=LONGVARCHAR},
+            </if>
             <if test="config != null">
                 #{config,jdbcType=LONGVARCHAR},
             </if>