refactor(入库任务): 查询根据时间倒序
This commit is contained in:
parent
92de67e498
commit
ad3b288b50
@ -52,8 +52,8 @@
|
|||||||
a.PLAN_IN_CODE,
|
a.PLAN_IN_CODE,
|
||||||
a.MATERIAL_CODE,
|
a.MATERIAL_CODE,
|
||||||
a.DETAIL_IN_ID,
|
a.DETAIL_IN_ID,
|
||||||
b.AREA_CODE AS CELL_CODE,
|
b.AREA_CODE as CELL_CODE,
|
||||||
b.AREA_NAME AS CELL_NAME
|
b.AREA_NAME as CELL_NAME
|
||||||
from WMS_IN_TASK a
|
from WMS_IN_TASK a
|
||||||
left join WM_STORAGE_AREA b on b.AREA_ID = a.CELL_TGT
|
left join WM_STORAGE_AREA b on b.AREA_ID = a.CELL_TGT
|
||||||
</sql>
|
</sql>
|
||||||
@ -84,6 +84,7 @@
|
|||||||
<if test="materialCode != null and materialCode != ''">and MATERIAL_CODE = #{materialCode}</if>
|
<if test="materialCode != null and materialCode != ''">and MATERIAL_CODE = #{materialCode}</if>
|
||||||
<if test="detailInId != null and detailInId != ''">and DETAIL_IN_ID = #{detailInId}</if>
|
<if test="detailInId != null and detailInId != ''">and DETAIL_IN_ID = #{detailInId}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by a.CREATE_TIME desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWmsInTaskById" parameterType="String" resultMap="WmsInTaskResult">
|
<select id="selectWmsInTaskById" parameterType="String" resultMap="WmsInTaskResult">
|
||||||
|
Loading…
Reference in New Issue
Block a user