新增移位库存选择冻结数量大于0

This commit is contained in:
zhou-hongcheng
2026-03-18 20:51:04 +08:00
parent b7fcd42496
commit dee7ffa3d6
3 changed files with 12 additions and 0 deletions
@@ -232,4 +232,8 @@ public class MaterialInventoryDO extends MaterialBaseDO {
//查询规则 hz:货主,wl:物料,kw:库位,wlkw:物料库位,all:全部 //查询规则 hz:货主,wl:物料,kw:库位,wlkw:物料库位,all:全部
private String queryRule; private String queryRule;
@ApiModelProperty("冻结数量大于0条件")
@Excel(name = "冻结数量大于0条件")
private String greaterThanFreezeQuantity;
} }
@@ -180,4 +180,9 @@ public class MaterialInventoryDTO extends MaterialBaseDTO {
@ApiModelProperty("面积") @ApiModelProperty("面积")
@Excel(name = "面积") @Excel(name = "面积")
private BigDecimal area; private BigDecimal area;
@ApiModelProperty("冻结数量大于0条件")
@Excel(name = "冻结数量大于0条件")
private String greaterThanFreezeQuantity = "true";
} }
@@ -177,6 +177,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="freezeQuantity != null "> <if test="freezeQuantity != null ">
and a.freeze_quantity = #{freezeQuantity} and a.freeze_quantity = #{freezeQuantity}
</if> </if>
<if test="greaterThanFreezeQuantity != null and greaterThanFreezeQuantity != ''">
and a.freeze_quantity > 0
</if>
<if test="createByName != null and createByName != ''"> <if test="createByName != null and createByName != ''">
and a.create_by_name like concat('%', #{createByName}, '%') and a.create_by_name like concat('%', #{createByName}, '%')
</if> </if>