新增移位库存选择冻结数量大于0
This commit is contained in:
+4
@@ -232,4 +232,8 @@ public class MaterialInventoryDO extends MaterialBaseDO {
|
||||
|
||||
//查询规则 hz:货主,wl:物料,kw:库位,wlkw:物料库位,all:全部
|
||||
private String queryRule;
|
||||
|
||||
@ApiModelProperty("冻结数量大于0条件")
|
||||
@Excel(name = "冻结数量大于0条件")
|
||||
private String greaterThanFreezeQuantity;
|
||||
}
|
||||
+5
@@ -180,4 +180,9 @@ public class MaterialInventoryDTO extends MaterialBaseDTO {
|
||||
@ApiModelProperty("面积")
|
||||
@Excel(name = "面积")
|
||||
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 ">
|
||||
and a.freeze_quantity = #{freezeQuantity}
|
||||
</if>
|
||||
<if test="greaterThanFreezeQuantity != null and greaterThanFreezeQuantity != ''">
|
||||
and a.freeze_quantity > 0
|
||||
</if>
|
||||
<if test="createByName != null and createByName != ''">
|
||||
and a.create_by_name like concat('%', #{createByName}, '%')
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user