Эх сурвалжийг харах

完成了repo表以及相关代码的修改测试

李英俊ya 1 сар өмнө
parent
commit
dbf3a9d55d

+ 2 - 2
ruoyi-system/src/main/resources/mapper/system/SysRepoMapper.xml

@@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null "> and update_Time = #{updateTime}</if>
             <if test="parentId != null "> and parent_id = #{parentId}</if>
             <if test="groupId != null "> and group_id = #{groupId}</if>
-            <if test="version != null  and description != ''"> and version = #{version}</if>
+            <if test="version != null  and version != ''"> and version = #{version}</if>
             <if test="isDelete != null "> and is_delete = #{isDelete}</if>
             <if test="url != null "> and url = #{isDelete}</if>
         </where>
@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">#{updateTime},</if>
             <if test="parentId != null">#{parentId},</if>
             <if test="groupId != null">#{groupId},</if>
-            <if test="verion != null">#{version},</if>
+            <if test="version != null">#{version},</if>
             <if test="isDelete != null">#{isDelete},</if>
             <if test="url != null">#{url},</if>
          </trim>