@@ -1362,7 +1362,7 @@
where rms.material_id=(
select distinct rms2.material_id from rms_material_steel rms2
where material_steel_id =#{materialId}
- ) and INBOUND_ISCOMPLETE='1' and wgm.deleted ='0'
+ ) and INBOUND_ISCOMPLETE='1' and wgm.deleted ='0' and wir.insert_time between sysdate and trunc(sysdate + 1, 'dd')
order by wir.insert_time desc
) where Rownum='1'
)