Merge remote-tracking branch 'remotes/origin/dev' into test

yun-zuoyi
Silliter 6 years ago
commit b198b38b43

@ -39,4 +39,8 @@ public class MesAction extends BaseBean {
@Column(name="ACTION_TYPE") @Column(name="ACTION_TYPE")
@ApiParam("动作类型") @ApiParam("动作类型")
private Integer actionType; private Integer actionType;
public int getActionTypeVal() {
return this.actionType == null ? 0 : this.actionType;
}
} }

@ -39,4 +39,9 @@ public class MesActionMethod extends BaseBean {
@Column(name="SEQ") @Column(name="SEQ")
@ApiParam("序号") @ApiParam("序号")
private Integer seq; private Integer seq;
public int getSeqVal() {
return this.seq == null ? 0 : this.seq;
}
} }

@ -72,10 +72,18 @@ public class MesBom extends BaseBean {
@Column(name = "EFF_START_TIME") @Column(name = "EFF_START_TIME")
@ApiParam(value = "生效时间") @ApiParam(value = "生效时间")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date effStartTime; private String effStartTime;
@Column(name = "EFF_END_TIME") @Column(name = "EFF_END_TIME")
@ApiParam(value = "失效时间") @ApiParam(value = "失效时间")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date effEndTime; private String effEndTime;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public double getitemQtyVal() {
return this.itemQty == null ? 0.0d : this.itemQty;
}
} }

@ -34,7 +34,7 @@ public class MesDefectRecord extends BaseBean {
@Column(name="PART_NO") @Column(name="PART_NO")
@ApiParam("物料号") @ApiParam("物料号")
private Integer partNo; private String partNo;
@Column(name="DEFECT_CODE") @Column(name="DEFECT_CODE")
@ApiParam("不良代码") @ApiParam("不良代码")
@ -42,17 +42,21 @@ public class MesDefectRecord extends BaseBean {
@Column(name="REPAIR_STATUS") @Column(name="REPAIR_STATUS")
@ApiParam("维修状态") @ApiParam("维修状态")
private Double repairStatus; private Integer repairStatus;
@Column(name="WORK_CENTER_CODE") @Column(name="WORK_CENTER_CODE")
@ApiParam("工作中心代码") @ApiParam("工作中心代码")
private Double workCenterCode; private String workCenterCode;
@Column(name="WORK_CELL_CODE") @Column(name="WORK_CELL_CODE")
@ApiParam("工作单元代码") @ApiParam("工作单元代码")
private Double workCellCode; private String workCellCode;
@Column(name="MEMO") @Column(name="MEMO")
@ApiParam("备注") @ApiParam("备注")
private Double memo; private String memo;
public int getRepairStatusVal() {
return this.repairStatus == null ? 0 : this.repairStatus;
}
} }

@ -39,4 +39,8 @@ public class MesEvent extends BaseBean {
@Column(name="EVENT_TYPE") @Column(name="EVENT_TYPE")
@ApiParam("事件类型") @ApiParam("事件类型")
private Integer eventType; private Integer eventType;
public int getEventTypeVal() {
return this.eventType == null ? 0 : this.eventType;
}
} }

@ -39,4 +39,10 @@ public class MesEventAction extends BaseBean {
@Column(name="SEQ") @Column(name="SEQ")
@ApiParam("序号") @ApiParam("序号")
private Integer seq; private Integer seq;
public int getSeqVal() {
return this.seq == null ? 0 : this.seq;
}
} }

@ -42,4 +42,12 @@ public class MesKeyData extends BaseBean {
@Column(name="LOWER_LIMIT") @Column(name="LOWER_LIMIT")
@ApiParam("数据下限") @ApiParam("数据下限")
private Double lowerLimit; private Double lowerLimit;
public double getUpperLimitVal() {
return this.upperLimit == null ? 0.0d : this.upperLimit;
}
public double getLowerLimitVal() {
return this.lowerLimit == null ? 0.0d : this.lowerLimit;
}
} }

@ -70,4 +70,24 @@ public class MesKpsnRule extends BaseBean {
@Column(name="SUPPLIER_CODE") @Column(name="SUPPLIER_CODE")
@ApiParam("供应商代码") @ApiParam("供应商代码")
private String supplierCode; private String supplierCode;
public int getLengthVal() {
return this.length == null ? 0 : this.length;
}
public int getFrom1Val() {
return this.from1 == null ? 0 : this.from1;
}
public int getTo1Val() {
return this.to1 == null ? 0 : this.to1;
}
public int getFrom2Val() {
return this.from2 == null ? 0 : this.from2;
}
public int getTo2Val() {
return this.to2 == null ? 0 : this.to2;
}
} }

@ -43,4 +43,8 @@ public class MesMethod extends BaseBean {
@Column(name="METHOD_TYPE") @Column(name="METHOD_TYPE")
@ApiParam("方法类型") @ApiParam("方法类型")
private Integer methodType; private Integer methodType;
public int getMethodTypeVal() {
return this.methodType == null ? 0 : this.methodType;
}
} }

@ -53,4 +53,16 @@ public class MesPackSpec extends BaseBean {
@Column(name="SPEC_LEVEL") @Column(name="SPEC_LEVEL")
@ApiParam("规格级别") @ApiParam("规格级别")
private Integer specLevel; private Integer specLevel;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public int getIsMixedVal() {
return this.isMixed == null ? 0 : this.isMixed;
}
public int getSpecLevelVal() {
return this.specLevel == null ? 0 : this.specLevel;
}
} }

@ -42,4 +42,8 @@ public class MesPartScheduleBom extends BaseBean {
@Column(name="SCHEDULE_TYPE") @Column(name="SCHEDULE_TYPE")
@ApiParam("排程类型") @ApiParam("排程类型")
private Double scheduleType; private Double scheduleType;
public double getScheduletTypeVal() {
return this.scheduleType == null ? 0.0d : this.scheduleType;
}
} }

@ -82,4 +82,20 @@ public class MesPlanOrder extends BaseBean {
@Column(name="MEMO") @Column(name="MEMO")
@ApiParam("备注") @ApiParam("备注")
private String memo; private String memo;
public double getPlanQtyVal() {
return this.planQty == null ? 0.0d : this.planQty;
}
public double getDecomposeQtyVal() {
return this.decomposeQty == null ? 0.0d : this.decomposeQty;
}
public int getStatusVal() {
return this.status == null ? 0 : this.status;
}
public int getOrderTypeVal() {
return this.orderType == null ? 0 : this.orderType;
}
} }

@ -55,4 +55,16 @@ public class MesProcessBom extends BaseBean {
@Column(name = "IS_CHECK") @Column(name = "IS_CHECK")
@ApiParam(value = "是否检查") @ApiParam(value = "是否检查")
private Integer isCheck; private Integer isCheck;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public int getIsRepeatVal() {
return this.isRepeat == null ? 0 : this.isRepeat;
}
public int getIsCheckVal() {
return this.isCheck == null ? 0 : this.isCheck;
}
} }

@ -39,4 +39,8 @@ public class MesProdCfgDetail extends BaseBean {
@Column(name="IS_VIRTUAL") @Column(name="IS_VIRTUAL")
@ApiParam("是否虚零件") @ApiParam("是否虚零件")
private Integer isVirtual; private Integer isVirtual;
public int getIsVirtualVal() {
return this.isVirtual == null ? 0 : this.isVirtual;
}
} }

@ -54,4 +54,12 @@ public class MesProdRouteOptParam extends BaseBean {
@Column(name = "PARAM_VALUE") @Column(name = "PARAM_VALUE")
@ApiParam("工步参数值") @ApiParam("工步参数值")
private String paramValue; private String paramValue;
public long getProdRouteCfgIdVal() {
return this.prodRouteCfgId == null ? 0l : this.prodRouteCfgId;
}
public int getStepSeq() {
return this.stepSeq == null ? 0 : this.stepSeq;
}
} }

@ -103,4 +103,24 @@ public class MesProduceSn extends BaseBean {
@Column(name="PACKAGE_SN") @Column(name="PACKAGE_SN")
@ApiParam("包装条码") @ApiParam("包装条码")
private String packageSn; private String packageSn;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public int getQcStatusVal() {
return this.qcStatus == null ? 0 : this.qcStatus;
}
public int getSnStatusVal() {
return this.snStatus == null ? 0 : this.snStatus;
}
public int getPrintCountVal() {
return this.printCount == null ? 0 : this.printCount;
}
public int getPrintStatusVal() {
return this.printStatus == null ? 0 : this.printStatus;
}
} }

@ -45,7 +45,7 @@ public class MesQueueOrder extends BaseBean {
@Column(name="WORK_ORDER_NO") @Column(name="WORK_ORDER_NO")
@ApiParam("生产工单号") @ApiParam("生产工单号")
private Double workOrderNo; private String workOrderNo;
@Column(name="STATUS") @Column(name="STATUS")
@ApiParam("状态") @ApiParam("状态")
@ -53,9 +53,17 @@ public class MesQueueOrder extends BaseBean {
@Column(name="CUST_PROD_LINE_CODE") @Column(name="CUST_PROD_LINE_CODE")
@ApiParam("客户产线代码") @ApiParam("客户产线代码")
private Double custProdLineCode; private String custProdLineCode;
@Column(name="AREA_CODE") @Column(name="AREA_CODE")
@ApiParam("区域代码") @ApiParam("区域代码")
private Double areaCode; private String areaCode;
public int getStatusVal() {
return this.status == null ? 0 : this.status;
}
public double getSeq() {
return this.seq == null ? 0.0d : this.seq;
}
} }

@ -53,9 +53,21 @@ public class MesQueueOrderDetail extends BaseBean {
@Column(name="WORK_TYPE") @Column(name="WORK_TYPE")
@ApiParam("生产类型") @ApiParam("生产类型")
private Double workType; private String workType;
@Column(name="PRODUCE_CATEGORY") @Column(name="PRODUCE_CATEGORY")
@ApiParam("产品类型") @ApiParam("产品类型")
private Double produceCategory; private String produceCategory;
public double getDetailSeqVal() {
return this.detailSeq == null ? 0.0d : this.detailSeq;
}
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public int getStatusVal() {
return this.status == null ? 0 : this.status;
}
} }

@ -50,4 +50,12 @@ public class MesRouteProcess extends BaseBean {
@Column(name = "IS_NECESSARY") @Column(name = "IS_NECESSARY")
@ApiParam("是否必须") @ApiParam("是否必须")
private Integer isNecessary; private Integer isNecessary;
public int getSeqVal() {
return this.seq == null ? 0 : this.seq;
}
public int getIsNecessaryVal() {
return this.isNecessary == null ? 0 : this.isNecessary;
}
} }

@ -50,4 +50,8 @@ public class MesRouteProcessStep extends BaseBean {
@Column(name = "PARAM_VALUE") @Column(name = "PARAM_VALUE")
@ApiParam("工步参数值") @ApiParam("工步参数值")
private String paramValue; private String paramValue;
public int getStepSeqVal() {
return this.stepSeq == null ? 0 : this.stepSeq;
}
} }

@ -33,7 +33,7 @@ public class MesWorkOrder extends BaseBean {
@Column(name="PART_NO") @Column(name="PART_NO")
@ApiParam("物料号") @ApiParam("物料号")
private Integer partNo; private String partNo;
@Column(name="PROD_CFG_CODE") @Column(name="PROD_CFG_CODE")
@ApiParam("产品配置代码") @ApiParam("产品配置代码")
@ -110,4 +110,32 @@ public class MesWorkOrder extends BaseBean {
@Column(name="MEMO") @Column(name="MEMO")
@ApiParam("备注") @ApiParam("备注")
private String memo; private String memo;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public double getCompleteQtyVal() {
return this.completeQty == null ? 0.0d : this.completeQty;
}
public double getRepairQtyVal() {
return this.repairQty == null ? 0.0d : this.repairQty;
}
public double getScrapQtyVal() {
return this.scrapQty == null ? 0.0d : this.scrapQty;
}
public double getSeqVal() {
return this.seq == null ? 0.0d : this.seq;
}
public int getWorkOrderStatusVal() {
return this.workOrderStatus == null ? 0 : this.workOrderStatus;
}
public int getWorkOrderTypeVal() {
return this.workOrderType == null ? 0 : this.workOrderType;
}
} }

@ -1,5 +1,6 @@
package cn.estsh.i3plus.pojo.model.form; package cn.estsh.i3plus.pojo.model.form;
import cn.estsh.i3plus.pojo.form.bean.BfButton;
import cn.estsh.i3plus.pojo.form.bean.BfLayout; import cn.estsh.i3plus.pojo.form.bean.BfLayout;
import cn.estsh.i3plus.pojo.form.bean.BfMethod; import cn.estsh.i3plus.pojo.form.bean.BfMethod;
import cn.estsh.i3plus.pojo.form.bean.BfMethodDetail; import cn.estsh.i3plus.pojo.form.bean.BfMethodDetail;
@ -33,6 +34,18 @@ public class FormModel {
@ApiParam(value = "功能布局") @ApiParam(value = "功能布局")
private BfLayout layout; private BfLayout layout;
// 表单功能按钮
@ApiParam(value = "表单功能按钮")
private List<BfButton> formButtonList;
// 表单功能明细按钮
@ApiParam(value = "表单功能明细按钮")
private List<BfButton> methodDetailButtonList;
// 元素功能按钮
@ApiParam(value = "元素功能按钮")
private List<BfButton> elementButtonList;
// 功能明细 // 功能明细
@ApiParam(value = "功能明细") @ApiParam(value = "功能明细")
private List<BfMethodDetail> methodDetailList; private List<BfMethodDetail> methodDetailList;
@ -40,4 +53,5 @@ public class FormModel {
// 元素 // 元素
@ApiParam(value = "元素Model") @ApiParam(value = "元素Model")
private List<ElementModel> elementModelList; private List<ElementModel> elementModelList;
} }

Loading…
Cancel
Save