src/main/resources/mapper/WrkDetlMapper.xml
@@ -45,6 +45,7 @@ <result column="appe_user" property="appeUser" /> <result column="appe_time" property="appeTime" /> <result column="memo" property="memo" /> <result column="bom_code" property="bomCode" /> </resultMap> <sql id="batchSeq"> @@ -108,4 +109,11 @@ and awd.matnr + '-' + awd.batch = #{matnr} </select> <select id="getBomQty" resultType="double"> select SUM(anfme) anfme from asr_wrk_detl where bom_code = #{bomCode} and matnr = #{matnr} </select> </mapper>