src/main/resources/mapper/PlaMapper.xml
@@ -37,6 +37,9 @@ <if test="workshop != null and workshop != ''"> and workshop = #{workshop} </if> <if test="transfer != null and transfer != ''"> and transfer = #{transfer} </if> </where> GROUP BY brand,matnr,workshop HAVING SUM(weight_anfme) > 0 ORDER BY matnr,workshop </select>