src/main/resources/mapper/LocDetlMapper.xml
@@ -154,10 +154,19 @@ select sum(a.anfme) as anfme from asr_loc_detl a where matnr = #{matnr} <where> a.matnr = #{matnr} <if test="batch != null and batch != ''"> and a.batch = #{batch} </if> <if test="specs != null and specs != ''"> and a.specs = #{specs} </if> </where> </select> <select id="getStockStatisCount" parameterType="java.util.Map" resultType="java.lang.Integer"> select count(1) as count from (