自动化立体仓库 - WMS系统
whycq
2024-07-06 b6a5504ce64f508391a460dc81f8fd288d9f3722
src/main/resources/mapper/WrkDetlMapper.xml
@@ -40,4 +40,15 @@
        from asr_wrk_detl a left join asr_wrk_mast b on a.wrk_no = b.wrk_no
        where 1=1 and a.mat_no = #{matNo,jdbcType=VARCHAR} and (b.loc_no = #{locNo,jdbcType=VARCHAR} or b.source_loc_no = #{locNo,jdbcType=VARCHAR})
    </select>
    <select id="selectByWrkNo" resultMap="BaseResultMap">
        select * from asr_wrk_detl where 1=1 and wrk_no = #{wrkNo}
    </select>
    <select id="selectByZpallet0" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_detl
        where 1=1
        and zpallet = #{zpallet}
    </select>
</mapper>