@@ -108,6 +108,9 @@
<if test="flgValid != null">
AND tpi.flg_valid = #{flgValid}
</if>
+ <if test="flgZero == true">
+ AND tpi.inv_qty != 0
+ </if>
<if test="cpId != null">
AND tpi.cp_id = #{cpId}
@@ -125,6 +125,12 @@ public class InventoryQuery extends PageInfo<InventoryQuery>{
@ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
private Boolean flgValid;
+ /**
+ * 过滤0库存
+ */
+ @ApiModelProperty(value = "过滤0库存")
+ private Boolean flgZero;
+
/**
* 企业ID