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

# Conflicts:
#	modules/i3plus-pojo-mes/src/main/java/cn/estsh/i3plus/pojo/mes/model/PackageDetailModel.java
yun-zuoyi
Dominic_Xiao 5 years ago
commit 8e3943b306

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -7899,7 +7899,6 @@ public class MesEnumUtil {
}
/**
* 1
*/
@ -8095,4 +8094,53 @@ public class MesEnumUtil {
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SHOW_SUPPLIER_CODE {
MGN(10, "麦格纳"),
OTHER(20, "其他"),
ALL(99, "全部");
private int value;
private String description;
SHOW_SUPPLIER_CODE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getValueStr() {
return value + "";
}
public String getDescription() {
return description;
}
public static MesEnumUtil.SHOW_SUPPLIER_CODE getByValue(Integer value) {
for (MesEnumUtil.SHOW_SUPPLIER_CODE showSupplierCode : values()) {
if (showSupplierCode.getValue() == value) {
return showSupplierCode;
}
}
return null;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -2559,7 +2559,8 @@ public class MesPcnEnumUtil {
public enum PACKAGE_OP_TYPE {
PACK(10, "打包"),
UNPACK(20, "拆包");
UNPACK(20, "拆包"),
STOP_OVER(30, "过站");
private int value;
private String description;

@ -136,6 +136,59 @@ public class SwebEnumUtil {
}
/**
* PO/DOC_MOVE
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ORDER_SN_STATUS {
CREATE(10, "N", "创建"),
RECEIPTED(20, "R", "已完成"),
CANCEL(30, "C", "行取消"),
PRINTED(40, "C", "已打印");
private int value;
private String code;
private String description;
ORDER_SN_STATUS(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public String getCode() {
return code;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
}
/**
* PO
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -706,59 +759,6 @@ public class SwebEnumUtil {
}
/**
* PO/DOC_MOVE
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ORDER_SN_STATUS {
CREATE(10, "N", "创建"),
RECEIPTED(20, "R", "已完成"),
CANCEL(30, "C", "行取消"),
PRINTED(40, "C", "已打印");
private int value;
private String code;
private String description;
ORDER_SN_STATUS(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public String getCode() {
return code;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
}
/**
* 10=20=
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -44,6 +44,18 @@ public class MesDefect extends BaseBean implements Serializable {
@ApiParam("缺陷类型")
private String defectType;
@Column(name = "PROD_CFG_TYPE_CODE")
@ApiParam("项目代码")
private String prodCfgTypeCode;
@Column(name = "DEFECT_FLAG_VALUE")
@ApiParam("缺陷标识值")
private String defectFlagValue;
@Column(name = "DEFECT_ACTION_TYPE")
@ApiParam("不良处理类型")
private String defectActionType;
@Transient
@ApiParam("缺陷类型名称")
private String defectTypeName;

@ -35,10 +35,6 @@ public class MesPackageDetail extends BaseBean implements Serializable {
@ApiParam("包装编码")
private String packageNo;
@Column(name = "CT_LOCATION_NO")
@ApiParam("容器位置编号")
private String ctLocationNo;
@Column(name = "SERIAL_NUMBER", nullable = false)
@ApiParam("过程条码")
private String serialNumber;

@ -2,6 +2,7 @@ package cn.estsh.i3plus.pojo.mes.pcn.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPackageDetail;
/**
* @Author: Wynne.Lu

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -77,5 +77,4 @@ public class IfPackage extends BaseBean implements Serializable {
@Column(name = "SYNC_STATUS")
@ApiParam("同步状态")
private Integer syncStatus;
}

@ -0,0 +1,53 @@
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:
* @Author: jokelin
* @Date: 2020/4/20 5:16
* @Modify:
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_FURNACE_LOCATION")
@Api("MES_炉内模式位置信息")
public class MesFurnaceLocation extends BaseBean implements Serializable {
private static final long serialVersionUID = 3681747818263404126L;
@Column(name = "MODEL_NO")
@ApiParam("模式编号")
private String modelNo;
@Column(name = "FN_LOCATION_NO")
@ApiParam("炉内位置代码")
private String fnLocationNo;
@Column(name = "MODEL_IMG_URL")
@ApiParam("模式图片路径")
private String modelImgUrl;
@Column(name = "SEQ")
@ApiParam("推荐顺序")
private Integer seq;
@Transient
@ApiParam("容器编号")
private String ctNo;
}

@ -0,0 +1,52 @@
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 java.io.Serializable;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/4/20 5:16
* @Modify:
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_FURNACE_LOCATION_DETAIL")
@Api("MES_炉内占位信息")
public class MesFurnaceLocationDetail extends BaseBean implements Serializable {
private static final long serialVersionUID = 3681747818212133126L;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心代码")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元代码")
private String workCellCode;
@Column(name = "MODEL_NO")
@ApiParam("模式编号")
private String modelNo;
@Column(name = "FN_LOCATION_NO")
@ApiParam("炉内位置代码")
private String fnLocationNo;
@Column(name = "CT_NO")
@ApiParam("容器编号")
private String ctNo;
}

@ -153,6 +153,10 @@ public class MesPackage extends BaseBean implements Serializable {
@ApiParam("erp工作中心")
private String erpWorkCenterCode;
@Column(name = "FN_LOCATION_NO")
@ApiParam("炉内位置代码")
private String fnLocationNo;
@Transient
@ApiParam("目标库位代码")
private String destLocationCode;

@ -58,5 +58,19 @@ public class MesPackageTravel extends BaseBean implements Serializable {
@ApiParam("包装编码4")
private String packageNo4;
@Column(name = "CT_NO")
@ApiParam("容器编号")
private String ctNo;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心代码")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元代码")
private String workCellCode;
@Column(name = "FN_LOCATION_NO")
@ApiParam("炉内位置代码")
private String fnLocationNo;
}

@ -0,0 +1,40 @@
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 java.io.Serializable;
/**
* @Description:
* @Author: jokelin
* @Date: 2020/4/20 5:16
* @Modify:
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PART_FURNACE")
@Api("MES_物料上炉模式")
public class MesPartFurnace extends BaseBean implements Serializable {
private static final long serialVersionUID = 3681747818263404111L;
@Column(name = "MODEL_NO")
@ApiParam("模式编号")
private String modelNo;
@Column(name = "PART_NO")
@ApiParam("物料编码")
private String partNo;
}

@ -145,6 +145,10 @@ public class MesQueueJitActual extends BaseBean implements Serializable {
@ApiParam("通知标识")
private Integer noticeSign = 10;
@Column(name = "REPLACE_VIN_CODE")
@ApiParam("替换vin")
private String replaceVinCode;
@Transient
@ApiParam("创建时间")
private String cdtTruncated;

@ -118,4 +118,8 @@ public class MesQueueJitPlan extends BaseBean implements Serializable {
@Transient
@ApiParam("计划上线结束时间")
private String planEndDate;
@Transient
@ApiParam("替换vin")
private String replaceVinCode;
}

@ -176,6 +176,14 @@ public class MesQueueOrder extends BaseBean implements Serializable {
@ApiParam("结束时间")
private String endTime;
@Transient
@ApiParam("数量")
private Double qty;
@Transient
@ApiParam("已生产数量")
private Double finsihQty;
public MesQueueOrder(){}
public int getStatusVal() {
@ -205,7 +213,7 @@ public class MesQueueOrder extends BaseBean implements Serializable {
public MesQueueOrder(Long id, Double seq, String partNo, String partNameRdd,Integer boxQty,
Integer queueType,Integer status,String createUser,
String createDatetime,String modifyUser,String modifyDatetime,String workType,String orderNo,
String workCenterCode, String workCellCode) {
String workCenterCode, String workCellCode, Double qty, Double finsihQty) {
this.id = id;
this.seq = seq;
this.partNo = partNo;
@ -221,6 +229,8 @@ public class MesQueueOrder extends BaseBean implements Serializable {
this.orderNo = orderNo;
this.workCenterCode = workCenterCode;
this.workCellCode = workCellCode;
this.qty = qty;
this.finsihQty = finsihQty;
}
}

@ -23,18 +23,6 @@ import java.io.Serializable;
@Api("包装明细")
public class PackageDetailModel {
public PackageDetailModel(String ctNo, String ctLocationNo, String serialNumber, String partNo) {
this.ctNo = ctNo;
this.ctLocationNo = ctLocationNo;
this.serialNumber = serialNumber;
this.partNo = partNo;
}
public PackageDetailModel() {
}
;
@ApiParam("料架号")
private String ctNo;
@ -47,4 +35,14 @@ public class PackageDetailModel {
@ApiParam("物料编号")
private String partNo;
public PackageDetailModel(String ctNo, String ctLocationNo, String serialNumber, String partNo) {
this.ctNo = ctNo;
this.ctLocationNo = ctLocationNo;
this.serialNumber = serialNumber;
this.partNo = partNo;
}
public PackageDetailModel() {
}
}

@ -52,6 +52,9 @@ public class SparePartsImportModel {
@ApiParam("客户零件号")
private String custPartNo;
@ApiParam("替换VIN")
private String replaceVinCode;
@ApiParam("用量")
private Integer qty;

@ -8,7 +8,7 @@ import org.springframework.stereotype.Repository;
* @Description:
* @Reference:
* @Author: dominic
* @CreateDate: 2020\11\4 11:21
* @CreateDate: 2020\11\4 13:33
* @Modify:
**/
@Repository

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

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

@ -5,10 +5,10 @@ import cn.estsh.i3plus.pojo.mes.bean.MesPartContainerCapacity;
import org.springframework.stereotype.Repository;
/**
* @Description:
* @Reference:
* @Author: dominic
* @CreateDate: 2020\11\4 11:21
* @Description :
* @Reference :
* @Author : dominic
* @CreateDate : 2020-11-10
* @Modify:
**/
@Repository

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

@ -2489,6 +2489,9 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(queueJitActual.getProdCfgCode())) {
DdlPreparedPack.getStringLikerPack(queueJitActual.getProdCfgCode(), "prodCfgCode", packBean);
}
if (!StringUtils.isEmpty(queueJitActual.getReplaceVinCode())) {
DdlPreparedPack.getStringLikerPack(queueJitActual.getReplaceVinCode(), "replaceVinCode", packBean);
}
if (queueJitActual.getStatus() != null) {
DdlPreparedPack.getNumEqualPack(queueJitActual.getStatus(), "status", packBean);
}
@ -3549,7 +3552,7 @@ public class MesHqlPack {
* @return
*/
public static DdlPackBean getBoardCustomParamCfg(MesBoardCustomParamCfg boardCustomParamCfg) {
DdlPackBean packBean = getAllBaseDataByNormalPro(boardCustomParamCfg, boardCustomParamCfg.getOrganizeCode());
DdlPackBean packBean = DdlPackBean.getDdlPackBean(boardCustomParamCfg.getOrganizeCode());
if (!StringUtils.isEmpty(boardCustomParamCfg.getBoardCode())) {
DdlPreparedPack.getStringLikerPack(boardCustomParamCfg.getBoardCode(), "boardCode", packBean);
}
@ -3625,4 +3628,12 @@ public class MesHqlPack {
}
return packBean;
}
public static DdlPackBean getMesFurnaceLocation(MesFurnaceLocation mesFurnaceLocation) {
DdlPackBean packBean = getAllBaseData(mesFurnaceLocation.getOrganizeCode());
DdlPreparedPack.getStringLikerPack(mesFurnaceLocation.getFnLocationNo(), "fnLocationNo", packBean);
DdlPreparedPack.getStringLikerPack(mesFurnaceLocation.getModelNo(), "modelNo", packBean);
DdlPreparedPack.getNumEqualPack(mesFurnaceLocation.getIsValid(), "isValid", packBean);
return packBean;
}
}

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -59,6 +59,10 @@ public class SwebPurchaseOrderSn extends BaseBean {
@Column(name = "UNIT")
private String unit;
@Column(name = "SN_STATUS")
@ApiParam(value = "SN状态", example = "1")
private Integer snStatus;
@Column(name = "BOX_QTY")
@ColumnDefault("0")
@ApiParam(value = "箱数", example = "0")
@ -66,7 +70,7 @@ public class SwebPurchaseOrderSn extends BaseBean {
@Column(name = "SERIAL_NO")
@ApiParam(value = "序列号")
private String serialNo;
private Integer serialNo;
@Column(name = "SN")
@ApiParam(value = "箱条码")

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -75,4 +75,8 @@ public class BasCustomer extends BaseBean {
@ApiParam(value = "安全库存")
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME, isRequire = 2)
private Double safetyStock;
public double getSafetyStockVal() {
return this.safetyStock == null ? 0.0d : this.safetyStock;
}
}

@ -324,10 +324,10 @@ public class WmsPOMasterDetails extends BaseBean {
this.qty = qty;
}
public WmsPOMasterDetails(String orderNo, String erpSrcNo, Integer item,String partNo,String partNameRdd, Double qty,
public WmsPOMasterDetails(String orderNo, String remark, Integer item,String partNo,String partNameRdd, Double qty,
Double rcQty, Integer itemStatus) {
this.orderNo = orderNo;
this.erpSrcNo = erpSrcNo;
this.remark = remark;
this.item = item;
this.partNo = partNo;
this.partNameRdd = partNameRdd;

@ -110,7 +110,8 @@ public class WmsQCDetails extends BaseBean {
Double qty, String unit, String orderNo,
Integer itemStatus, String remark, Double factQty,
Double passQty, Double rejectQty,
Integer orderStatus, String vendorNo, String vendorDesc) {
Integer orderStatus, String vendorNo, String vendorDesc,
String createUser, String createDatetime,String modifyUser,String modifyDatetime) {
this.organizeCode = organizeCode;
this.partNo = partNo;
this.partNameRdd = partNameRdd;
@ -126,6 +127,10 @@ public class WmsQCDetails extends BaseBean {
this.orderStatus = orderStatus;
this.vendorNo = vendorNo;
this.vendorDesc = vendorDesc;
this.createUser = createUser;
this.createDatetime = createDatetime;
this.modifyUser = modifyUser;
this.modifyDatetime = modifyDatetime;
}
public WmsQCDetails(String partNo, String partNameRdd, String item,

@ -35,6 +35,9 @@ public class WmsVendorDelayMasterModel extends BaseBean {
@ApiParam(value = "延迟次数")
private Long sumDelayCount;
@ApiParam(value = "延迟到货百分比")
private Double delayPercent;
@ApiParam(value = "查询开始时间")
private String startDateTime;
@ -62,7 +65,8 @@ public class WmsVendorDelayMasterModel extends BaseBean {
this.createDatetime = createDateTime;
}
public WmsVendorDelayMasterModel(String orderNo, String reason, String planDate, String planTime, String actualPlanTime, String vendorNo, String vendorName, String organizeCode) {
public WmsVendorDelayMasterModel(String orderNo, String reason, String planDate, String planTime,
String actualPlanTime, String vendorNo, String vendorName, String organizeCode) {
this.orderNo = orderNo;
this.reason = reason;
this.planDate = planDate;

@ -5,7 +5,7 @@
<parent>
<artifactId>i3plus-pojo</artifactId>
<groupId>i3plus.pojo</groupId>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

@ -15,7 +15,7 @@
<groupId>i3plus.pojo</groupId>
<artifactId>i3plus-pojo</artifactId>
<packaging>pom</packaging>
<version>1.0-DEV-SNAPSHOT</version>
<version>1.0-TEST-SNAPSHOT</version>
<modules>
<module>modules/i3plus-pojo-base</module>
<module>modules/i3plus-pojo-platform</module>

Loading…
Cancel
Save