| | |
| | | <result column="log_err_time" property="logErrTime" /> |
| | | <result column="log_err_memo" property="logErrMemo" /> |
| | | <result column="barcode" property="barcode" /> |
| | | <result column="Pdc_type" property="PdcType" /> |
| | | <result column="Pdc_type" property="pdcType" /> |
| | | <result column="ctn_no" property="ctnNo" /> |
| | | <result column="full_plt" property="fullPlt" /> |
| | | |
| | |
| | | select top 1 * from dbo.asr_wrk_mast where wrk_no=#{workNo} and wrk_sts in (4,5,7,13, 16) |
| | | </select> |
| | | |
| | | <select id="selectCrnWaiting2" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where wrk_no=#{workNo} and wrk_sts = 18 |
| | | </select> |
| | | |
| | | <select id="selectCarWaiting" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where wrk_no=#{workNo} and wrk_sts in (2,8,11,14) |
| | | </select> |
| | |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep111215" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where crn_no=#{crnNo} and wrk_sts in (11,12,13,14,15,16) and io_type>100 order by io_pri desc,io_time,wrk_no asc |
| | | select top 1 * from dbo.asr_wrk_mast where crn_no=#{crnNo} and source_sta_no = #{sourceStaNo} and wrk_sts in (11,12,13,14,15,16) and io_type>100 order by io_pri desc,io_time,wrk_no asc |
| | | </select> |
| | | |
| | | <select id="selectWorkingOfPakOutBySource" resultMap="BaseResultMap"> |
| | |
| | | and crn_no = #{crnNo} |
| | | </if> |
| | | </select> |
| | | <select id="selectAll" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where 1=1 |
| | | and wrk_sts!=1 and wrk_sts!=11 |
| | | and wrk_sts!=18 and wrk_sts!=9 and wrk_sts < 20 and io_type!=11 |
| | | and source_sta_no=#{staNo} |
| | | </select> |
| | | |
| | | <select id="selectAllC" resultMap="BaseResultMap"> |
| | | select top 1 * |
| | | from dbo.asr_wrk_mast where 1=1 |
| | | and wrk_sts!=1 and wrk_sts!=11 |
| | | and wrk_sts!=18 and wrk_sts!=9 and wrk_sts < 20 and io_type!=11 |
| | | </select> |
| | | |
| | | <select id="selectPakinWorkingByGroupLoc" resultMap="BaseResultMap"> |
| | | select top 1 * |