zwl
2025-09-12 effb0d215b52c5cc26a5e9383e279817a8a2f274
src/main/resources/mapper/LocDetlMapper.xml
@@ -90,4 +90,15 @@
        and b.loc_sts = 'F'
        <include refid="stockOutCondition"></include>
    </select>
    <select id="selectMatnrSpecs" resultMap="BaseResultMap">
        select
            top 1 *
        from asr_loc_detl a
                 left join asr_loc_mast b on a.loc_no = b.loc_no
        where 1=1
          and b.loc_no = #{locNo}
          and a.matnr = #{matnr}
          and a.specs = #{specs}
    </select>
</mapper>