库存BUG

This commit is contained in:
秦鸿展
2026-03-18 22:01:06 +08:00
parent eb01e42af6
commit bc52d57a7f
@@ -177,9 +177,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="freezeQuantity != null ">
and a.freeze_quantity = #{freezeQuantity}
</if>
<if test="queryType != null and queryType == 0">
and IFNULL(a.freeze_quantity, 0) = 0
</if>
<if test="createByName != null and createByName != ''">
and a.create_by_name like concat('%', #{createByName}, '%')
@@ -375,6 +372,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<include refid="selectMaterialInventoryPo1"/>
<include refid="com.mhd.wms.domain.materialBaseInfo.repository.mapper.MaterialBaseInfoMapper.JoinMaterialBaseInfoPoWhere"/>
<if test="queryType != null and queryType == 0">
and IFNULL(a.freeze_quantity, 0) = 0
</if>
</where>
<include refid="materialQueryListByGroup"/>
</select>