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