pang.jiabao
2025-11-20 1465b8bcfb5c901118cfcf0caa646e688036bde8
src/main/resources/mapper/WrkMastMapper.xml
@@ -59,11 +59,16 @@
<!--        <result column="Pdc_type" property="PdcType" />-->
        <result column="ctn_no" property="ctnNo" />
        <result column="full_plt" property="fullPlt" />
        <result column="wms_wrk_no" property="wmsWrkNo" />
    </resultMap>
    <select id="selectByLocNo"  resultMap="BaseResultMap">
        select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} and  (ctn_no is null or ctn_no != 'Y')
    </select>
    <select id="selectByLocNo1"  resultMap="BaseResultMap">
        select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} or loc_no = #{sourceLocNo}
    </select>
    <select id="selectToBeCompleteData" resultMap="BaseResultMap">
@@ -172,7 +177,7 @@
        where wrk_no > 0)
        ))
        and io_type != 11
        and source_sta_no = #{sourceStaNo}
        and sta_no = #{staNo}
        order by io_time,wrk_no
    </select>
</mapper>