库存中过滤库存量为0的记录

This commit is contained in:
DESKTOP-J7ED0MB\yinjinlu 2022-10-15 17:45:04 +08:00
parent ba21783f9a
commit 9e74e268c8

View File

@ -77,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if> <if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
<if test="attr3 != null "> and attr3 = #{attr3}</if> <if test="attr3 != null "> and attr3 = #{attr3}</if>
<if test="attr4 != null "> and attr4 = #{attr4}</if> <if test="attr4 != null "> and attr4 = #{attr4}</if>
and quantity_onhand != 0
</where> </where>
</select> </select>