src/main/resources/mapper/WrkDetlMapper.xml
@@ -130,4 +130,19 @@ group by awdl.wrk_no, awdl.io_time, awdl.matnr ,awdl.zpallet,awdl.specs,awdl.maktx,awdl.batch,awdl.source </select> <update id="updateIoTimeWms"> update asr_wrk_detl set io_time = #{ioTime} where 1=1 and wrk_no = #{workNo} </update> <select id="selectWrkDetlByOrderNoNotNull" resultMap="BaseResultMap"> select top 1 * from asr_wrk_detl where batch = #{batch} and order_no is not null and order_no != '' order by io_time desc </select> </mapper>