| | |
| | | <!-- <result column="Pdc_type" property="PdcType" />--> |
| | | <result column="ctn_no" property="ctnNo" /> |
| | | <result column="full_plt" property="fullPlt" /> |
| | | <result column="take_none" property="takeNone" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep11" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where crn_no=#{crnNo} and source_sta_no=#{sourceStaNo} and wrk_sts=11 and io_type>100 order by io_pri desc,io_time,wrk_no asc |
| | | select top 1 * |
| | | from dbo.asr_wrk_mast with (readpast, updlock) |
| | | where crn_no=#{crnNo} |
| | | and source_sta_no=#{sourceStaNo} |
| | | and wrk_sts=11 |
| | | and io_type>100 |
| | | order by io_pri desc, io_time, wrk_no asc |
| | | </select> |
| | | |
| | | |
| | | <!-- 入出库模式相关 --> |
| | | <select id="selectWorkingPakin" resultMap="BaseResultMap"> |
| | |
| | | <select id="selectByWrkNo9996" resultMap="BaseResultMap"> |
| | | select * from asr_wrk_mast |
| | | where wrk_no = #{wrkNo} |
| | | and wrk_sts = 2 |
| | | and wrk_sts = 11 |
| | | </select> |
| | | <select id="selectByWrkNo9997" resultMap="BaseResultMap"> |
| | | select * from asr_wrk_mast |