src/main/resources/mapper/LocDetlMapper.xml
@@ -69,4 +69,18 @@ and b.loc_sts = 'F' <include refid="stockOutCondition"></include> </select> <select id="selectLocDetlList" resultMap="BaseResultMap"> select a.* from asr_loc_detl a left join asr_loc_mast b on a.loc_no = b.loc_no where 1=1 and b.loc_sts = 'F' and a.mat_no= #{mat_no} order by a.appe_time </select> <select id="selectLocDetlSumQty" resultType="double"> select SUM(qty) qty from asr_loc_detl where loc_no=#{locNo} </select> </mapper>