src/main/resources/mapper/LocDetlMapper.xml
@@ -91,15 +91,14 @@ <include refid="stockOutCondition"></include> </select> <select id="selectMatnrSpecs" resultType="java.lang.Ddouble"> <select id="selectMatnrSpecs" resultMap="BaseResultMap"> select a.anfme 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} <include refid="stockOutCondition"></include> </select> </mapper>