#
LSH
2023-06-27 1e585dfd636f811952a0d2b0fc3e735325cd5243
src/main/resources/mapper/WrkMastMapper.xml
@@ -238,5 +238,16 @@
        select * from dbo.asr_wrk_mast where 1=1 and wrk_sts in (16,17) and rgv_no=#{rgvNo} order by io_time,wrk_no
    </select>
    <!--                                       RGV调度入出库相关                                      -->
    <!-- ==============================================RGV任务绑定相关 ============================================== -->
    <select id="selectRgvInSteWrkNo" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts =12 and wrk_no=#{wrkNo} and rgv_no is null
    </select>
    <select id="selectRgvOutSteWrkNo" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast where 1=1 and wrk_sts =24 and wrk_no=#{wrkNo} and rgv_no is null
    </select>
    <!-- ==============================================RGV任务绑定相关 ============================================== -->
</mapper>