Merge branches 'dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test

yun-zuoyi
许心洁 6 years ago
commit 8deff73454

@ -11,7 +11,6 @@ import com.thoughtworks.xstream.io.xml.PrettyPrintWriter;
import com.thoughtworks.xstream.io.xml.XppDomDriver; import com.thoughtworks.xstream.io.xml.XppDomDriver;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import java.io.Writer; import java.io.Writer;
import java.lang.reflect.Field; import java.lang.reflect.Field;

@ -116,13 +116,14 @@ public class BlockSoftSwitchEnumUtil {
SERVER_WEB_SERVICE_HELLO(SUIT_MODE.SERVER,CASE_TYPE.WEB_SERVICE,240003,"Server Hello测试服务"), SERVER_WEB_SERVICE_HELLO(SUIT_MODE.SERVER,CASE_TYPE.WEB_SERVICE,240003,"Server Hello测试服务"),
// CLIENT_WEB_SERVICE_HELLO(SUIT_MODE.CLIENT,CASE_TYPE.WEB_SERVICE,140002,"Client IMPP邮件测试"), // CLIENT_WEB_SERVICE_HELLO(SUIT_MODE.CLIENT,CASE_TYPE.WEB_SERVICE,140002,"Client IMPP邮件测试"),
CLIENT_WEB_SERVICE_DEFAULT(SUIT_MODE.CLIENT,CASE_TYPE.WEB_SERVICE,140003,"Client 默认设置"), CLIENT_WEB_SERVICE_DEFAULT(SUIT_MODE.CLIENT,CASE_TYPE.WEB_SERVICE,140003,"Client 默认设置"),
CLIENT_WEB_SERVICE_PARAM_OBJECT(SUIT_MODE.CLIENT,CASE_TYPE.WEB_SERVICE,140004,"Client Param Object"),
/* 数据源 */ /* 数据源 */
CLIENT_DATA_SOURCE_IMPP(SUIT_MODE.CLIENT,CASE_TYPE.DATASOURCE,130001,"Client 数据库适配服务"), CLIENT_DATA_SOURCE_IMPP(SUIT_MODE.CLIENT,CASE_TYPE.DATASOURCE,130001,"Client 数据库适配服务"),
/* Restful */ /* Restful */
CLIENT_RESTFUL_IMPP(SUIT_MODE.CLIENT,CASE_TYPE.RESTFUL,120001,"Client REST客户端适配器"), CLIENT_RESTFUL_IMPP(SUIT_MODE.CLIENT,CASE_TYPE.RESTFUL,120001,"Client REST客户端适配器"),
SERVER_RESTFUL_IMPP(SUIT_MODE.SERVER,CASE_TYPE.RESTFUL,120001,"Client REST服务端适配器"), SERVER_RESTFUL_IMPP(SUIT_MODE.SERVER,CASE_TYPE.RESTFUL,220001,"Client REST服务端适配器"),
/* Socket */ /* Socket */
SERVER_SOCKET_HELLO(SUIT_MODE.SERVER ,CASE_TYPE.SOCKET,210001,"Socket Server Hello测试服务"), SERVER_SOCKET_HELLO(SUIT_MODE.SERVER ,CASE_TYPE.SOCKET,210001,"Socket Server Hello测试服务"),
@ -216,7 +217,10 @@ public class BlockSoftSwitchEnumUtil {
SCHEDULE(2,"定时调度"), SCHEDULE(2,"定时调度"),
RABBITMQ(3,"MQ 调用"), RABBITMQ(3,"MQ 调用"),
HTTP(4,"接口调用"), HTTP(4,"接口调用"),
CLOUD(5,"Cloud调用"); CLOUD(5,"Cloud调用"),
REST(6,"REST调用"),
WEB_SERVICE(7,"WebService"),
SOCKET(8,"socket");
private int value; private int value;
private String description; private String description;

@ -3701,5 +3701,111 @@ public class WmsEnumUtil {
return tmp; return tmp;
} }
} }
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ROUTING_RULE_TYPE {
PROMOTION_TYPE(10, "REPLENISH_TYPE", "推动规则"),
REPLENISH_TYPE(20, "PROMOTION_TYPE", "补货规则");
private int value;
private String code;
private String description;
ROUTING_RULE_TYPE(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 String valueOfDescription(int val) {
return valueOf(val);
}
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;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ROUTING_DELAY_UNIT {
M(10, "M", "分"),
D(20, "D", "天");
private int value;
private String code;
private String description;
ROUTING_DELAY_UNIT(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 String valueOfDescription(int val) {
return valueOf(val);
}
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;
}
}
} }

@ -11,6 +11,8 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;
/** /**
* @Description: * @Description:
@ -46,7 +48,7 @@ public class MesQcCheckData extends BaseBean {
@Column(name = "CHECK_TYPE") @Column(name = "CHECK_TYPE")
@ApiParam("检测类型") @ApiParam("检测类型")
private String checkType; private Integer checkType;
@Column(name = "CHECK_ITEM") @Column(name = "CHECK_ITEM")
@ApiParam("检测项") @ApiParam("检测项")
@ -92,4 +94,8 @@ public class MesQcCheckData extends BaseBean {
@ApiParam("客户代码") @ApiParam("客户代码")
private String custCode; private String custCode;
@Transient
@ApiParam("过程质量检测数据")
private List<MesQcCheckStandard> mesQcCheckStandardList;
} }

@ -0,0 +1,76 @@
package cn.estsh.i3plus.pojo.mes.pcn.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;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\10\12 14:46
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="MES_QC_CHECK_STANDARD")
@Api("质量检测标准")
public class MesQcCheckStandard extends BaseBean {
@Column(name = "PART_NO")
@ApiParam("物料编码")
private String partNo;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心代码")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元代码")
private String workCellCode;
@Column(name = "CHECK_TYPE")
@ApiParam("检测类型")
private Integer checkType;
@Column(name = "CHECK_ITEM")
@ApiParam("检测项")
private String checkItem;
@Column(name = "CHECK_STANDARD")
@ApiParam("检测标准")
private String checkStandard;
@Column(name = "CHECK_GUIDE")
@ApiParam("检测指导")
private String checkGuide;
@Column(name = "CHECK_FREQUENCY")
@ApiParam("频率")
private String checkFrequency;
@Transient
@ApiParam("物料名称")
private String partName;
@Transient
@ApiParam("检测结果")
private String checkResult;
@Transient
@ApiParam("检测值")
private String checkValue;
}

@ -0,0 +1,14 @@
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.MesQcCheckStandard;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\10\12 14:58
* @Modify:
**/
public interface MesQcCheckStandardRepository extends BaseRepository<MesQcCheckStandard, Long> {
}

@ -65,9 +65,9 @@ public class MesPlc extends BaseBean {
@ApiParam("分组名称") @ApiParam("分组名称")
private String groupName; private String groupName;
@Column(name = "EQU_CODE") @Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码") @ApiParam("设备代码")
private String equCode; private String equipmentCode;
@Column(name = "WORK_CENTER_CODE") @Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心") @ApiParam("工作中心")
@ -77,10 +77,6 @@ public class MesPlc extends BaseBean {
@ApiParam("工作单元") @ApiParam("工作单元")
private String workCellCode; private String workCellCode;
@Column(name = "ENABLED")
@ApiParam("是否启用 0 false 1 true")
private Integer enabled;
@Column(name = "PLC_CFG") @Column(name = "PLC_CFG")
@ApiParam("PLC的值的设定") @ApiParam("PLC的值的设定")
private String plcCfg; private String plcCfg;

@ -1277,9 +1277,6 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(mesPlc.getTagAddress())) { if (!StringUtils.isEmpty(mesPlc.getTagAddress())) {
DdlPreparedPack.getStringEqualPack(mesPlc.getTagAddress(), "tagAddress", packBean); DdlPreparedPack.getStringEqualPack(mesPlc.getTagAddress(), "tagAddress", packBean);
} }
if (!StringUtils.isEmpty(mesPlc.getEquCode())) {
DdlPreparedPack.getStringEqualPack(mesPlc.getEquCode(), "equCode", packBean);
}
if (!StringUtils.isEmpty(mesPlc.getWorkCenterCode())) { if (!StringUtils.isEmpty(mesPlc.getWorkCenterCode())) {
DdlPreparedPack.getStringEqualPack(mesPlc.getWorkCenterCode(), "workCenterCode", packBean); DdlPreparedPack.getStringEqualPack(mesPlc.getWorkCenterCode(), "workCenterCode", packBean);
} }
@ -1300,18 +1297,12 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(mesDatasource.getDsCode())) { if (!StringUtils.isEmpty(mesDatasource.getDsCode())) {
DdlPreparedPack.getStringEqualPack(mesDatasource.getDsCode(), "dsCode", packBean); DdlPreparedPack.getStringEqualPack(mesDatasource.getDsCode(), "dsCode", packBean);
} }
if (!StringUtils.isEmpty(mesDatasource.getDsName())) {
DdlPreparedPack.getStringEqualPack(mesDatasource.getDsName(), "dsName", packBean);
}
if (!StringUtils.isEmpty(mesDatasource.getDsType())) { if (!StringUtils.isEmpty(mesDatasource.getDsType())) {
DdlPreparedPack.getStringEqualPack(mesDatasource.getDsType(), "dsType", packBean); DdlPreparedPack.getStringEqualPack(mesDatasource.getDsType(), "dsType", packBean);
} }
if (!StringUtils.isEmpty(mesDatasource.getDsDbName())) { if (!StringUtils.isEmpty(mesDatasource.getDsDbName())) {
DdlPreparedPack.getStringEqualPack(mesDatasource.getDsDbName(), "dsDbName", packBean); DdlPreparedPack.getStringEqualPack(mesDatasource.getDsDbName(), "dsDbName", packBean);
} }
if (!StringUtils.isEmpty(mesDatasource.getEquipmentCode())) {
DdlPreparedPack.getStringEqualPack(mesDatasource.getEquipmentCode(), "equCode", packBean);
}
return packBean; return packBean;
} }
@ -1329,6 +1320,12 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(mesFaultMethod.getFmName())) { if (!StringUtils.isEmpty(mesFaultMethod.getFmName())) {
DdlPreparedPack.getStringEqualPack(mesFaultMethod.getFmName(), "fmName", packBean); DdlPreparedPack.getStringEqualPack(mesFaultMethod.getFmName(), "fmName", packBean);
} }
if (!StringUtils.isEmpty(mesFaultMethod.getFmCode())) {
DdlPreparedPack.getStringEqualPack(mesFaultMethod.getFmCode(), "fmCode", packBean);
}
if (!StringUtils.isEmpty(mesFaultMethod.getFmName())) {
DdlPreparedPack.getStringEqualPack(mesFaultMethod.getFmName(), "fmName", packBean);
}
if (!StringUtils.isEmpty(mesFaultMethod.getParentFmCode())) { if (!StringUtils.isEmpty(mesFaultMethod.getParentFmCode())) {
DdlPreparedPack.getStringEqualPack(mesFaultMethod.getParentFmCode(), "parentFmCode", packBean); DdlPreparedPack.getStringEqualPack(mesFaultMethod.getParentFmCode(), "parentFmCode", packBean);
} }
@ -1349,6 +1346,12 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(mesFaultCause.getFcName())) { if (!StringUtils.isEmpty(mesFaultCause.getFcName())) {
DdlPreparedPack.getStringEqualPack(mesFaultCause.getFcName(), "fcName", packBean); DdlPreparedPack.getStringEqualPack(mesFaultCause.getFcName(), "fcName", packBean);
} }
if (!StringUtils.isEmpty(mesFaultCause.getFcCode())) {
DdlPreparedPack.getStringEqualPack(mesFaultCause.getFcCode(), "fcCode", packBean);
}
if (!StringUtils.isEmpty(mesFaultCause.getFcName())) {
DdlPreparedPack.getStringEqualPack(mesFaultCause.getFcName(), "fcName", packBean);
}
if (!StringUtils.isEmpty(mesFaultCause.getParentFcCode())) { if (!StringUtils.isEmpty(mesFaultCause.getParentFcCode())) {
DdlPreparedPack.getStringEqualPack(mesFaultCause.getParentFcCode(), "parentFcCode", packBean); DdlPreparedPack.getStringEqualPack(mesFaultCause.getParentFcCode(), "parentFcCode", packBean);
} }
@ -1369,6 +1372,12 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(mesFaultPhenomenon.getFpName())) { if (!StringUtils.isEmpty(mesFaultPhenomenon.getFpName())) {
DdlPreparedPack.getStringEqualPack(mesFaultPhenomenon.getFpName(), "fpName", packBean); DdlPreparedPack.getStringEqualPack(mesFaultPhenomenon.getFpName(), "fpName", packBean);
} }
if (!StringUtils.isEmpty(mesFaultPhenomenon.getFpCode())) {
DdlPreparedPack.getStringEqualPack(mesFaultPhenomenon.getFpCode(), "fpCode", packBean);
}
if (!StringUtils.isEmpty(mesFaultPhenomenon.getFpName())) {
DdlPreparedPack.getStringEqualPack(mesFaultPhenomenon.getFpName(), "fpName", packBean);
}
if (!StringUtils.isEmpty(mesFaultPhenomenon.getParentFpCode())) { if (!StringUtils.isEmpty(mesFaultPhenomenon.getParentFpCode())) {
DdlPreparedPack.getStringEqualPack(mesFaultPhenomenon.getParentFpCode(), "parentFpCode", packBean); DdlPreparedPack.getStringEqualPack(mesFaultPhenomenon.getParentFpCode(), "parentFpCode", packBean);
} }
@ -1389,6 +1398,12 @@ public class MesHqlPack {
if (!StringUtils.isEmpty(mesQcCheckStandard.getWorkCellCode())) { if (!StringUtils.isEmpty(mesQcCheckStandard.getWorkCellCode())) {
DdlPreparedPack.getStringEqualPack(mesQcCheckStandard.getWorkCellCode(), "workCellCode", packBean); DdlPreparedPack.getStringEqualPack(mesQcCheckStandard.getWorkCellCode(), "workCellCode", packBean);
} }
if (!StringUtils.isEmpty(mesQcCheckStandard.getPartNo())) {
DdlPreparedPack.getStringEqualPack(mesQcCheckStandard.getPartNo(), "partNo", packBean);
}
if (!StringUtils.isEmpty(mesQcCheckStandard.getWorkCellCode())) {
DdlPreparedPack.getStringEqualPack(mesQcCheckStandard.getWorkCellCode(), "workCellCode", packBean);
}
if (!StringUtils.isEmpty(mesQcCheckStandard.getWorkCenterCode())) { if (!StringUtils.isEmpty(mesQcCheckStandard.getWorkCenterCode())) {
DdlPreparedPack.getStringEqualPack(mesQcCheckStandard.getWorkCenterCode(), "workCenterCode", packBean); DdlPreparedPack.getStringEqualPack(mesQcCheckStandard.getWorkCenterCode(), "workCenterCode", packBean);
} }
@ -1400,5 +1415,4 @@ public class MesHqlPack {
} }
return packBean; return packBean;
} }
} }

@ -6,7 +6,7 @@ import cn.estsh.i3plus.pojo.base.enumutil.ResourceEnumUtil;
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitRecord; import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitRecord;
import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute; import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit; import com.thoughtworks.xstream.annotations.XStreamOmitField;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -42,7 +42,7 @@ public class SuitClientModel {
/** /**
* *
*/ */
@XStreamImplicit @XStreamOmitField
private BsSuitRecord bsSuitRecord; private BsSuitRecord bsSuitRecord;
/** /**

@ -29,8 +29,11 @@ public class SuitParamModel {
private String pathKey; private String pathKey;
/* 标签内容 */ /* 标签内容 */
private String vaule; private String vaule;
/* 标签类型 Default:PARAM_VALUE_TYPE.STRING */ /**
private Integer type; // BlockSoftSwitchEnumUtil.PARAM_VALUE_TYPE *
* type Date,BigDecimal
*/
private String type;
/* 标签属性 */ /* 标签属性 */
private Map<String,String> attr; private Map<String,String> attr;
@ -38,4 +41,20 @@ public class SuitParamModel {
private SuitParamModel parent; private SuitParamModel parent;
/* 标签子集 */ /* 标签子集 */
private List<SuitParamModel> childList; private List<SuitParamModel> childList;
@Override
public String toString() {
return "SuitParamModel{" +
"tagName='" + tagName + '\'' +
", classPath='" + classPath + '\'' +
", methodName='" + methodName + '\'' +
", id='" + id + '\'' +
", name='" + name + '\'' +
", pathKey='" + pathKey + '\'' +
", vaule='" + vaule + '\'' +
", type=" + type +
", attr=" + attr +
", childList=" + childList +
'}';
}
} }

@ -4,6 +4,7 @@ import cn.estsh.i3plus.pojo.base.enumutil.ResourceEnumUtil;
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitRecord; import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitRecord;
import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit; import com.thoughtworks.xstream.annotations.XStreamImplicit;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -41,43 +42,43 @@ public class SuitServerModel {
/** /**
* *
*/ */
@XStreamImplicit // @XStreamImplicit
private String suitMessage; private String suitMessage;
/** /**
* *
*/ */
@XStreamImplicit // @XStreamImplicit
private String suitCaseStatusCode = ResourceEnumUtil.MESSAGE.SUCCESS.getCode(); private String suitCaseStatusCode = ResourceEnumUtil.MESSAGE.SUCCESS.getCode();
/** /**
* *
*/ */
@XStreamImplicit // @XStreamImplicit
private boolean suitSuccess = true; private boolean suitSuccess = true;
/** /**
* *
*/ */
@XStreamImplicit @XStreamOmitField
private BsSuitRecord bsSuitRecord; private BsSuitRecord bsSuitRecord;
/** /**
* *
*/ */
@XStreamImplicit @XStreamOmitField
private BsSuitCaseModel bsSuitCaseModel; private BsSuitCaseModel bsSuitCaseModel;
/** /**
* *
*/ */
@XStreamImplicit // @XStreamImplicit
private Integer requestSource; private Integer requestSource;
/** /**
* *
*/ */
@XStreamImplicit // @XStreamImplicit
private Integer suitMethodId; private Integer suitMethodId;
public int getSuitMethodIdVal(){ public int getSuitMethodIdVal(){
@ -87,6 +88,6 @@ public class SuitServerModel {
return suitMethodId.intValue(); return suitMethodId.intValue();
} }
@XStreamImplicit // @XStreamImplicit
private String analyzeMessage; private String analyzeMessage;
} }

@ -104,12 +104,15 @@ public class BsSuitCase extends BaseBean {
return isNeedCertification.intValue(); return isNeedCertification.intValue();
} }
@Column(name = "IS_PUSH_MQ")
@ApiParam(value = "是否推送MQ")
private Integer isPushMQ;
@Column(name = "SSL_KEY_ID") @Column(name = "SSL_KEY_ID")
@ApiParam(value = "证书id") @ApiParam(value = "证书id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long sslKeyId; private Long sslKeyId;
@Column(name = "SUIT_DATA_TYPE") @Column(name = "SUIT_DATA_TYPE")
@ApiParam(value = "适配报文类型") @ApiParam(value = "适配报文类型")
private Integer suitDataType; private Integer suitDataType;

@ -41,12 +41,16 @@ public class BsSuitFile extends BaseBean {
@Column(name = "SUIT_CASE_NAME_RDD") @Column(name = "SUIT_CASE_NAME_RDD")
@ApiParam(value = "适配套件名称") @ApiParam(value = "适配套件名称")
private String suitCaseName; private String suitCaseNameRdd;
@Column(name = "SUIT_CASE_CODE") @Column(name = "SUIT_CASE_CODE")
@ApiParam(value = "适配套件代码") @ApiParam(value = "适配套件代码")
private String suitCaseCode; private String suitCaseCode;
@Column(name = "CASE_TYPE_ID")
@ApiParam(value = "套件类型id(枚举)")
private Integer caseTypeId;
@Column(name = "FOLDER_PATH") @Column(name = "FOLDER_PATH")
@ApiParam(value = "文件夹路径") @ApiParam(value = "文件夹路径")
private String folderPath; private String folderPath;

@ -36,9 +36,9 @@ public class BsSuitRecord extends BaseBean {
@ApiParam(value = "适配套件名称") @ApiParam(value = "适配套件名称")
private String suitCaseNameRdd; private String suitCaseNameRdd;
@Column(name = "SUIT_CASE_CODE_RDD") @Column(name = "SUIT_CASE_CODE")
@ApiParam(value = "适配套件代码") @ApiParam(value = "适配套件代码")
private String suitCaseCodeRdd; private String suitCaseCode;
@Column(name = "SUIT_CASE_ID") @Column(name = "SUIT_CASE_ID")
@ApiParam(value = "适配器套件id") @ApiParam(value = "适配器套件id")

@ -333,7 +333,7 @@ public class SoftSwitchHqlPack {
DdlPreparedPack.getNumEqualPack(bsSuitRecord.getSuitCaseId(),"suitCaseId",ddlPackBean); DdlPreparedPack.getNumEqualPack(bsSuitRecord.getSuitCaseId(),"suitCaseId",ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsSuitRecord.getSuitCaseNameRdd(),"suitCaseNameRdd",ddlPackBean); DdlPreparedPack.getStringLikerPack(bsSuitRecord.getSuitCaseNameRdd(),"suitCaseNameRdd",ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsSuitRecord.getSuitTypeId(),"suitTypeId",ddlPackBean); DdlPreparedPack.getNumEqualPack(bsSuitRecord.getSuitTypeId(),"suitTypeId",ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsSuitRecord.getSuitCaseCodeRdd(),"suitCaseCodeRdd",ddlPackBean); DdlPreparedPack.getStringLikerPack(bsSuitRecord.getSuitCaseCode(),"suitCaseCode",ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsSuitRecord.getSuitCaseId(),"suitCaseId",ddlPackBean); DdlPreparedPack.getNumEqualPack(bsSuitRecord.getSuitCaseId(),"suitCaseId",ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsSuitRecord.getCaseTypeId(),"caseTypeId",ddlPackBean); DdlPreparedPack.getNumEqualPack(bsSuitRecord.getCaseTypeId(),"caseTypeId",ddlPackBean);
DdlPreparedPack.timeBuilder(bsSuitRecord.getCreateDatetime(), "createDatetime", ddlPackBean, false, true); DdlPreparedPack.timeBuilder(bsSuitRecord.getCreateDatetime(), "createDatetime", ddlPackBean, false, true);
@ -370,7 +370,7 @@ public class SoftSwitchHqlPack {
public static DdlPackBean packHqlBsSuitCaseFile(BsSuitFile bsSuitFile){ public static DdlPackBean packHqlBsSuitCaseFile(BsSuitFile bsSuitFile){
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(); DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();
DdlPreparedPack.getStringLikerPack(bsSuitFile.getSuitCaseName(),"suitCaseName",ddlPackBean); DdlPreparedPack.getStringLikerPack(bsSuitFile.getSuitCaseNameRdd(),"suitCaseNameRdd",ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsSuitFile.getSuitCaseCode(),"suitCaseCode",ddlPackBean); DdlPreparedPack.getStringLikerPack(bsSuitFile.getSuitCaseCode(),"suitCaseCode",ddlPackBean);
DdlPreparedPack.getNumEqualPack(bsSuitFile.getSuitCaseId(), "suitCaseId", ddlPackBean); DdlPreparedPack.getNumEqualPack(bsSuitFile.getSuitCaseId(), "suitCaseId", ddlPackBean);
DdlPreparedPack.getStringLikerPack(bsSuitFile.getFileName(), "fileName", ddlPackBean); DdlPreparedPack.getStringLikerPack(bsSuitFile.getFileName(), "fileName", ddlPackBean);

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.wms.bean; package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import cn.estsh.i3plus.pojo.base.bean.BaseBean; import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -75,6 +77,7 @@ public class WmsASNMasterDetails extends BaseBean {
*/ */
@Column(name = "ITEM_STATUS") @Column(name = "ITEM_STATUS")
@ApiParam(value = "状态", example = "1") @ApiParam(value = "状态", example = "1")
@AnnoOutputColumn(refClass = WmsEnumUtil.ORDER_DETAILS_STATUS.class, refForeignKey = "value", value = "description")
public Integer itemStatus; public Integer itemStatus;
@Column(name = "PACKAGE") @Column(name = "PACKAGE")

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.wms.bean; package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import cn.estsh.i3plus.pojo.base.bean.BaseBean; import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -112,6 +114,7 @@ public class WmsPOMasterDetails extends BaseBean {
*/ */
@Column(name = "ITEM_STATUS") @Column(name = "ITEM_STATUS")
@ApiParam("状态") @ApiParam("状态")
@AnnoOutputColumn(refClass = WmsEnumUtil.MASTER_ORDER_STATUS.class, refForeignKey = "value", value = "description")
private Integer itemStatus; private Integer itemStatus;
@Column(name = "SNP", columnDefinition = "decimal(18,8)") @Column(name = "SNP", columnDefinition = "decimal(18,8)")

@ -21,7 +21,6 @@ public interface WmsStockSnRepository extends BaseRepository<WmsStockSn, Long> {
*/ */
WmsStockSn findFirstBySn(String sn); WmsStockSn findFirstBySn(String sn);
/** /**
* Rock.Yu at 2019-06-22 11:05 * Rock.Yu at 2019-06-22 11:05
* *

Loading…
Cancel
Save