#
1
9 天以前 a3c831343b4a975cb3bf71e5c8300e4598bcfef4
src/main/resources/mapper/WrkMastMapper.xml
@@ -59,6 +59,7 @@
<!--        <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>
@@ -169,8 +170,15 @@
    </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">
@@ -213,7 +221,7 @@
    <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