src/main/resources/mapper/LocDetlMapper.xml
@@ -152,12 +152,21 @@ <select id="getAnfmeByMatnr" resultType="com.zy.asrs.entity.LocDetl"> select sum(a.anfme) as anfme 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 (