修改公司类目排序 ORDER BY gc.level, dgc.category_sort
This commit is contained in:
parent
8ba5a72c87
commit
4357387a54
|
|
@ -65,7 +65,7 @@
|
||||||
and dgc.dept_goods_category_id = #{deptGoodsCategoryId}
|
and dgc.dept_goods_category_id = #{deptGoodsCategoryId}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
ORDER BY dgc.category_sort
|
ORDER BY gc.level, dgc.category_sort
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<update id="updateDeptGoodsCategory" parameterType="com.ghy.goods.domain.DeptGoodsCategory">
|
<update id="updateDeptGoodsCategory" parameterType="com.ghy.goods.domain.DeptGoodsCategory">
|
||||||
|
|
@ -158,7 +158,7 @@
|
||||||
AND gc.type = #{type}
|
AND gc.type = #{type}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
ORDER BY dgc.category_sort
|
ORDER BY gc.level, dgc.category_sort
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectById" parameterType="long" resultMap="DeptGoodsCategoryResult">
|
<select id="selectById" parameterType="long" resultMap="DeptGoodsCategoryResult">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue