增加班次顺序字段

yun-zuoyi
jiajack 6 years ago
parent d87d81e34a
commit aef7f7a948

@ -47,4 +47,16 @@ public class MesShift extends BaseBean {
@Column(name="WORK_TIMES")
@ApiParam("作业时长")
private Double workTimes;
@Column(name="SHIFT_SEQ")
@ApiParam("班次顺序")
private Integer shiftSeq;
public int getShiftSeqVal() {
return this.shiftSeq == null ? 0 : this.shiftSeq;
}
public double getWorkTimesVal() {
return this.workTimes == null ? 0.0d : this.workTimes;
}
}

@ -47,4 +47,16 @@ public class MesShift extends BaseBean {
@Column(name="WORK_TIMES")
@ApiParam("作业时长")
private Double workTimes;
@Column(name="SHIFT_SEQ")
@ApiParam("班次顺序")
private Integer shiftSeq;
public int getShiftSeqVal() {
return this.shiftSeq == null ? 0 : this.shiftSeq;
}
public double getWorkTimesVal() {
return this.workTimes == null ? 0.0d : this.workTimes;
}
}

Loading…
Cancel
Save