【需求:1090 工序BOM,物料绑定记录删除多余字段】

yun-zuoyi
jokelone 6 years ago
parent cb319e4304
commit 828cf66784

@ -885,15 +885,15 @@ public class MesEnumUtil {
* pcn * pcn
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_IS_KEY { public enum MES_IS_BIND_KEY {
IS_KEY(10, "是"), IS_BIND_KEY(1, "是"),
NO_KEY(20, "否"); NO_BIND_KEY(2, "否");
private int value; private int value;
private String description; private String description;
MES_IS_KEY(int value, String description) { MES_IS_BIND_KEY(int value, String description) {
this.value = value; this.value = value;
this.description = description; this.description = description;
} }
@ -907,8 +907,8 @@ public class MesEnumUtil {
} }
// 根据value返回枚举类型,主要在switch中使用 // 根据value返回枚举类型,主要在switch中使用
public static MES_IS_KEY getByValue(int value) { public static MES_IS_BIND_KEY getByValue(int value) {
for (MES_IS_KEY mesInsertExcel : values()) { for (MES_IS_BIND_KEY mesInsertExcel : values()) {
if (mesInsertExcel.getValue() == value) { if (mesInsertExcel.getValue() == value) {
return mesInsertExcel; return mesInsertExcel;
} }

@ -83,10 +83,6 @@ public class MesProcessBom extends BaseBean {
@ApiParam(value = "是否绑定关键件") @ApiParam(value = "是否绑定关键件")
private Integer isBindKey; private Integer isBindKey;
@Column(name = "IS_KEY")
@ApiParam(value = "是否关键件")
private Integer isKey;
@Transient @Transient
@ApiParam("是否已绑定") @ApiParam("是否已绑定")
private Boolean isBind; private Boolean isBind;

@ -85,9 +85,9 @@ public class MesProdBindRecord extends BaseBean {
@ApiParam(value = "结果") @ApiParam(value = "结果")
private String result; private String result;
@Column(name = "IS_KEY") @Column(name = "is_BIND_KEY")
@ApiParam(value = "是否关键件") @ApiParam(value = "是否绑定关键件")
private Integer isKey; private Integer isBindKey;
@Column(name = "ACTION_TYPE") @Column(name = "ACTION_TYPE")
@ApiParam(value = "动作类型") @ApiParam(value = "动作类型")

@ -87,10 +87,6 @@ public class MesProcessBom extends BaseBean {
@ApiParam(value = "是否绑定关键件") @ApiParam(value = "是否绑定关键件")
private Integer isBindKey; private Integer isBindKey;
@Column(name = "IS_KEY")
@ApiParam(value = "是否关键件")
private Integer isKey;
@Transient @Transient
@ApiParam("是否已绑定") @ApiParam("是否已绑定")
private Boolean isBind; private Boolean isBind;

@ -86,9 +86,9 @@ public class MesProdBindRecord extends BaseBean {
@ApiParam(value = "结果") @ApiParam(value = "结果")
private String result; private String result;
@Column(name = "IS_KEY") @Column(name = "is_BIND_KEY")
@ApiParam(value = "是否关键件") @ApiParam(value = "是否绑定关键件")
private String isKey; private Integer isBindKey;
@Column(name = "ACTION_TYPE") @Column(name = "ACTION_TYPE")
@ApiParam(value = "动作类型") @ApiParam(value = "动作类型")

Loading…
Cancel
Save