修改公司类目排序 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}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY dgc.category_sort
|
||||
ORDER BY gc.level, dgc.category_sort
|
||||
</select>
|
||||
|
||||
<update id="updateDeptGoodsCategory" parameterType="com.ghy.goods.domain.DeptGoodsCategory">
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
AND gc.type = #{type}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY dgc.category_sort
|
||||
ORDER BY gc.level, dgc.category_sort
|
||||
</select>
|
||||
|
||||
<select id="selectById" parameterType="long" resultMap="DeptGoodsCategoryResult">
|
||||
|
|
|
|||
Loading…
Reference in New Issue