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

yun-zuoyi
钮海涛 5 years ago
commit 438dcacdce

@ -0,0 +1,61 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
/**
* @Description :MES_
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-04-12
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_LOCATION")
@Api("MES_库位信息")
public class MesLocation extends BaseBean implements Serializable {
private static final long serialVersionUID = -896118285166769048L;
@Column(name = "LOCATION_CODE")
@ApiParam("库位代码")
private String locationCode;
@Column(name = "LOCATION_NAME")
@ApiParam("库位名称")
private String locationName;
@Column(name = "PART_NO")
@ApiParam("物料号")
private String partNo;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心代码")
private String workCenterCode;
@Column(name = "QTY")
@ApiParam("数量")
private Double qty = 0d;
@Column(name = "MAX_QTY")
@ApiParam("最大存储量")
private Integer maxQty = 0;
@Transient
@ApiParam("物料名称")
private String partNameRdd;
}

@ -132,6 +132,14 @@ public class MesPackage extends BaseBean implements Serializable {
@ApiParam("包装二维码")
private String qrCode;
@Column(name = "LOCATION_CODE")
@ApiParam("库位代码")
private String locationCode;
@Transient
@ApiParam("目标库位代码")
private String destLocationCode;
public MesPackage() {
}

@ -51,6 +51,10 @@ public class MesStep extends BaseBean implements Serializable {
@ApiParam("工步对象")
private String stepObject;
@Column(name = "TRIGGER_TYPE")
@ApiParam("触发类型")
private Integer triggerType;
/**
* 使
*/

@ -82,11 +82,15 @@ public class StepModel implements Serializable {
@ApiParam("工作单元代码")
private String workCellCode;
@ApiParam("触发类型")
private Integer triggerType;
public StepModel() {
}
public StepModel(String stepCode, String stepName, String stepText, String stepType, String stepObject,
String routeCode, String processCode, Integer stepSeq, String paramCode, String stepDisplayName, String workCellCode) {
String routeCode, String processCode, Integer stepSeq, String paramCode, String stepDisplayName,
String workCellCode, Integer triggerType) {
this.stepCode = stepCode;
this.stepName = stepName;
this.stepText = stepText;
@ -98,5 +102,6 @@ public class StepModel implements Serializable {
this.paramCode = paramCode;
this.stepDisplayName = stepDisplayName;
this.workCellCode = workCellCode;
this.triggerType = triggerType;
}
}

@ -0,0 +1,15 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.IfProductOffLine;
import cn.estsh.i3plus.pojo.mes.bean.MesLocation;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\11\18 10:32
* @Modify:
**/
public interface MesLocationRepository extends BaseRepository<MesLocation, Long> {
}

@ -221,6 +221,7 @@ public class MesPcnHqlPack {
mesWorkOrder.getCreateDateTimeEnd(),
"createDatetime", packBean, true);
}
DdlPreparedPack.getStringEqualPack(mesWorkOrder.getAreaCode(), "areaCode", packBean);
return packBean;
}

@ -74,9 +74,9 @@ public class WmsCSRange extends BaseBean {
@ApiParam(value = "库存数量", example = "0")
public Double qty;
@Column(name = "LOT_NO", nullable = false)
@Column(name = "LOT_NO")
@ApiParam("收货批次")
public String lotNo = "";
public String lotNo;
@Transient
@ApiParam("存储区编号组")

@ -466,4 +466,13 @@ public class WmsDocMovementDetails extends BaseBean {
this.custNo = custNo;
}
public WmsDocMovementDetails (String orderNo, String srcZoneNo, String destZoneNo, String destLocateNo,Integer priority,String createDatetime) {
this.orderNo = orderNo;
this.srcZoneNo = srcZoneNo;
this.destZoneNo = destZoneNo;
this.destLocateNo = destLocateNo;
this.priority = priority;
this.createDatetime = createDatetime;
}
}

Loading…
Cancel
Save