diff --git a/modules/i3plus-ext-mes-pcn-pojo/src/main/java/cn/estsh/i3plus/ext/mes/pcn/pojo/context/MesProdRuleContext.java b/modules/i3plus-ext-mes-pcn-pojo/src/main/java/cn/estsh/i3plus/ext/mes/pcn/pojo/context/MesProdRuleContext.java index 321a8e2..49dd21c 100644 --- a/modules/i3plus-ext-mes-pcn-pojo/src/main/java/cn/estsh/i3plus/ext/mes/pcn/pojo/context/MesProdRuleContext.java +++ b/modules/i3plus-ext-mes-pcn-pojo/src/main/java/cn/estsh/i3plus/ext/mes/pcn/pojo/context/MesProdRuleContext.java @@ -99,11 +99,11 @@ public class MesProdRuleContext implements Serializable { //----------仅作为查询条件冗余------------- - @ApiParam(name = "进料零件号与规则是否均为空") - private Boolean inPartIsEmpty = false; + @ApiParam(name = "进料零件号是否有值") + private Boolean inPartIsEmpty; @ApiParam(name = "进料规则是否有值") - private Boolean inPartRuleIsNotEmpty = false; + private Boolean inPartRuleIsEmpty; @ApiParam(name = "进料零件号") private String inPartNos; @@ -156,13 +156,13 @@ public class MesProdRuleContext implements Serializable { return this; } - public MesProdRuleContext inPartIsEmpty() { - this.inPartIsEmpty = true; + public MesProdRuleContext inPartIsEmpty(Boolean isEmpty) { + this.inPartIsEmpty = isEmpty; return this; } - public MesProdRuleContext inPartRuleIsNotEmpty() { - this.inPartRuleIsNotEmpty = true; + public MesProdRuleContext inPartRuleIsEmpty(Boolean isEmpty) { + this.inPartRuleIsEmpty = true; return this; }