| | |
| | | <!-- <result column="Pdc_type" property="PdcType" />--> |
| | | <result column="ctn_no" property="ctnNo" /> |
| | | <result column="full_plt" property="fullPlt" /> |
| | | |
| | | <result column="call_agv" property="callAgv" /> |
| | | </resultMap> |
| | | |
| | | <select id="selectByLocNo" resultMap="BaseResultMap"> |
| | |
| | | </select> |
| | | |
| | | <select id="selectPickStep" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_wrk_mast where barcode=#{barcode} and wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104) |
| | | select top 1 * from asr_wrk_mast where barcode=#{barcode} and ((wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104)) or (wrk_sts=2 and (io_type=53 or io_type=54 or io_type=57))) |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep1" resultMap="BaseResultMap"> |
| | |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep2" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where source_sta_no=#{sourceStaNo} and (wrk_sts=12 or wrk_sts = 16) and io_type>100 order by io_pri desc,io_time desc,wrk_no ASC |
| | | select top 1 * from dbo.asr_wrk_mast where source_sta_no=#{sourceStaNo} and (wrk_sts=12 or wrk_sts = 16) and io_type>100 order by io_pri desc,wrk_sts ASC,io_time desc,wrk_no ASC |
| | | </select> |
| | | |
| | | <select id="selectLocMove" resultMap="BaseResultMap"> |