商品类目接口排序ORDER BY gc.category_sort
This commit is contained in:
parent
af91e90b18
commit
205c50459d
|
|
@ -65,7 +65,7 @@
|
||||||
and dgc.dept_goods_category_id = #{deptGoodsCategoryId}
|
and dgc.dept_goods_category_id = #{deptGoodsCategoryId}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
ORDER BY gc.category_sort
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<update id="updateDeptGoodsCategory" parameterType="com.ghy.goods.domain.DeptGoodsCategory">
|
<update id="updateDeptGoodsCategory" parameterType="com.ghy.goods.domain.DeptGoodsCategory">
|
||||||
|
|
@ -160,6 +160,7 @@
|
||||||
AND gc.type = #{type}
|
AND gc.type = #{type}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
ORDER BY gc.category_sort
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectById" parameterType="long" resultMap="DeptGoodsCategoryResult">
|
<select id="selectById" parameterType="long" resultMap="DeptGoodsCategoryResult">
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@
|
||||||
AND type = #{type}
|
AND type = #{type}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
ORDER BY category_sort
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectById" parameterType="long" resultMap="GoodsCategoryResult">
|
<select id="selectById" parameterType="long" resultMap="GoodsCategoryResult">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue