zwl
2025-07-02 4282d15a5e69a6b4c822c87d27a1ed6e7e618f00
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="wms_wrk_no" property="wmsWrkNo" />
    </resultMap>
@@ -67,7 +68,7 @@
    </select>
    <select id="selectByLocNo1"  resultMap="BaseResultMap">
        select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} or loc_no = #{sourceLocNo})
        select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} or loc_no = #{sourceLocNo}
    </select>
    <select id="selectToBeCompleteData" resultMap="BaseResultMap">
@@ -112,7 +113,7 @@
    </select>
    <select id="selectLocMove" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast where wrk_sts=11 and io_type=11 and crn_no=#{crnNo} order by io_time,wrk_no
        select top 1 * from dbo.asr_wrk_mast where io_type=3 and crn_no=#{crnNo} order by io_time,wrk_no
    </select>
    <select id="selectLocMoving" resultMap="BaseResultMap">
@@ -176,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>