商品类目接口排序ORDER BY gc.category_sort

This commit is contained in:
HH 2023-03-11 16:29:41 +08:00
parent af91e90b18
commit 205c50459d
2 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,7 @@
and dgc.dept_goods_category_id = #{deptGoodsCategoryId}
</if>
</where>
ORDER BY gc.category_sort
</select>
<update id="updateDeptGoodsCategory" parameterType="com.ghy.goods.domain.DeptGoodsCategory">
@ -160,6 +160,7 @@
AND gc.type = #{type}
</if>
</where>
ORDER BY gc.category_sort
</select>
<select id="selectById" parameterType="long" resultMap="DeptGoodsCategoryResult">

View File

@ -43,6 +43,7 @@
AND type = #{type}
</if>
</where>
ORDER BY category_sort
</select>
<select id="selectById" parameterType="long" resultMap="GoodsCategoryResult">