fix(system): 库位库区排序修改
This commit is contained in:
+2
-2
@@ -185,8 +185,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<select id="queryList" parameterType="com.mhd.basic.domain.storageLocation.repository.todo.StorageLocationDO" resultMap="StorageLocationResult">
|
<select id="queryList" parameterType="com.mhd.basic.domain.storageLocation.repository.todo.StorageLocationDO" resultMap="StorageLocationResult">
|
||||||
<include refid="selectStorageLocationPo"/>
|
<include refid="selectStorageLocationPo"/>
|
||||||
<include refid="selectStorageLocationPo1"/>
|
<include refid="selectStorageLocationPo1"/>
|
||||||
-- 按照创建时间倒序排序
|
-- 按照库位名称正序排序,名称相同时按创建时间倒序
|
||||||
order by a.create_time desc
|
order by a.storage_location_name asc, a.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getStorageLocationCount" parameterType="com.mhd.basic.domain.storageLocation.repository.todo.StorageLocationDO" resultType="java.lang.Long">
|
<select id="getStorageLocationCount" parameterType="com.mhd.basic.domain.storageLocation.repository.todo.StorageLocationDO" resultType="java.lang.Long">
|
||||||
|
|||||||
+1
-1
@@ -100,6 +100,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<select id="queryList" parameterType="com.mhd.basic.domain.storageSection.repository.todo.StorageSectionDO" resultMap="StorageSectionResult">
|
<select id="queryList" parameterType="com.mhd.basic.domain.storageSection.repository.todo.StorageSectionDO" resultMap="StorageSectionResult">
|
||||||
<include refid="selectStorageSectionPo"/>
|
<include refid="selectStorageSectionPo"/>
|
||||||
<include refid="selectStorageSectionPo1"/>
|
<include refid="selectStorageSectionPo1"/>
|
||||||
order by a.create_time desc
|
order by a.storage_name asc, a.create_time desc
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user