目录拖动优化

This commit is contained in:
cjw 2024-07-12 14:57:12 +08:00
parent 9785256c80
commit 64287e85eb
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ public interface SysCatalogTextbookMapper extends BaseMapperPlus<SysCatalogTextb
int addOrderNum(@Param("mix") Long mix, @Param("max") Long max); int addOrderNum(@Param("mix") Long mix, @Param("max") Long max);
int subOrderNum(@Param("mix") Long mix, @Param("max") Long max); int subOrderNum(@Param("mix") Long mix, @Param("max") Long max);
} }

View File

@ -27,7 +27,7 @@
order_num &gt; #{mix} order_num &gt; #{mix}
</if> </if>
<if test="max != null"> <if test="max != null">
and order_num &lt; #{mix} and order_num &lt; #{max}
</if> </if>
</where> </where>
</update> </update>
@ -40,7 +40,7 @@
order_num &gt; #{mix} order_num &gt; #{mix}
</if> </if>
<if test="max != null"> <if test="max != null">
and order_num &lt; #{mix} and order_num &lt; #{max}
</if> </if>
</where> </where>
</update> </update>