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

yun-zuoyi
钮海涛 5 years ago
commit 52e0d840af

@ -876,7 +876,8 @@ public class BlockSoftSwitchEnumUtil {
SUIT_MESSAGE(10, "适配信息"), SUIT_MESSAGE(10, "适配信息"),
REQUEST_ORGIN_PARAM(20, "请求原始参数"), REQUEST_ORGIN_PARAM(20, "请求原始参数"),
ORIGINAL_MESSAGE(30, "原始报文"), ORIGINAL_MESSAGE(30, "原始报文"),
CONVERTED_MESSAGE(40, "转换报文"); CONVERTED_MESSAGE(40, "转换报文"),
SUIT_SEND_MESSAGE(50, "适配发送报文");
private int value; private int value;
private String description; private String description;

@ -56,6 +56,12 @@ public class SuitClientModel implements Serializable {
private String suitMessage; private String suitMessage;
/** /**
*
*/
@XStreamCDATA
private String suitSendMessage;
/**
* *
*/ */
private Integer requestSource; private Integer requestSource;

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.softswitch.bean; package cn.estsh.i3plus.pojo.softswitch.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.BlockSoftSwitchEnumUtil;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
@ -9,6 +11,7 @@ import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; 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;
@ -41,15 +44,21 @@ public class BsSuitCaseDataSourceTable extends BaseBean {
@Column(name = "OPERATE_TYPE_ID") @Column(name = "OPERATE_TYPE_ID")
@ApiParam(value = "操作类型") @ApiParam(value = "操作类型")
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.DATABASE_OPERATE_TYPE.class)
private Integer operateTypeId; private Integer operateTypeId;
public int getOperateTypeIdVal(){ public int getOperateTypeIdVal() {
if(operateTypeId == null){ if (operateTypeId == null) {
return -1; return -1;
} }
return operateTypeId.intValue(); return operateTypeId.intValue();
} }
public String getOperateTypeIdTxt() {
return operateTypeId == null ? "无" : BlockSoftSwitchEnumUtil.DATABASE_OPERATE_TYPE.valueOfDescription(operateTypeId);
}
@Column(name = "EXECUTE_SQL") @Column(name = "EXECUTE_SQL")
@ApiParam(value = "执行sql") @ApiParam(value = "执行sql")
private String executeSql; private String executeSql;
@ -62,8 +71,8 @@ public class BsSuitCaseDataSourceTable extends BaseBean {
@ApiParam(value = "是否有返回") @ApiParam(value = "是否有返回")
private Integer isReturn; private Integer isReturn;
public int getIsReturnVal(){ public int getIsReturnVal() {
if(isReturn == null){ if (isReturn == null) {
return -1; return -1;
} }
return isReturn.intValue(); return isReturn.intValue();

@ -46,12 +46,20 @@ public class BsSuitCaseREST extends BaseBean {
@AnnoOutputColumn(refClass = CommonEnumUtil.HTTP_METHOD_TYPE.class) @AnnoOutputColumn(refClass = CommonEnumUtil.HTTP_METHOD_TYPE.class)
private Integer requestMethodId; private Integer requestMethodId;
public String getRequestMethodIdTxt(){
return requestMethodId == null ? "无" : CommonEnumUtil.HTTP_METHOD_TYPE.valueOfDescription(requestMethodId);
}
//CommonEnumUtil.TRUE_OR_FALSE //CommonEnumUtil.TRUE_OR_FALSE
@Column(name = "IS_REQUEST_BODY") @Column(name = "IS_REQUEST_BODY")
@ApiParam(value = "是否使用requestBody") @ApiParam(value = "是否使用requestBody")
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class) @AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
private Integer isRequestBody; private Integer isRequestBody;
public int getIsRequestBodyVal() {
return isRequestBody == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isRequestBody;
}
@Transient @Transient
@ApiParam(value = "请求头转换") @ApiParam(value = "请求头转换")
private List<BsSuitCaseParam> requestHeaderList; private List<BsSuitCaseParam> requestHeaderList;

@ -120,6 +120,11 @@ public class BsSuitRecord extends BaseBean {
@ApiParam(value = "适配信息 longDataId") @ApiParam(value = "适配信息 longDataId")
private String suitMessage; private String suitMessage;
// 移动至记录数据表
@Column(name = "SUIT_SEND_MESSAGE")
@ApiParam(value = "适配发送报文")
private String suitSendMessage;
@Column(name = "PROCESS_STATE") @Column(name = "PROCESS_STATE")
@ApiParam(value = "处理状态") @ApiParam(value = "处理状态")
private Integer processState; private Integer processState;

@ -158,6 +158,11 @@ public class WmsDocMovementDetails extends BaseBean {
@ApiParam(value = "任务生成数量", example = "1") @ApiParam(value = "任务生成数量", example = "1")
private Double taskGenerateQty; private Double taskGenerateQty;
@Column(name = "PRINT_GENERATE_QTY", columnDefinition = "decimal(18,8)")
@ColumnDefault("0")
@ApiParam(value = "剩余打印数量")
private Double printGenerateQty;
@Column(name = "SRC_AREA_NO") @Column(name = "SRC_AREA_NO")
@ApiParam("源库存地代码") @ApiParam("源库存地代码")
public String srcAreaNo; public String srcAreaNo;

@ -10,7 +10,11 @@ import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*; import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -191,6 +195,10 @@ public class WmsMoveToERP extends BaseBean {
@ApiParam("是否预收货") @ApiParam("是否预收货")
public Integer priorRC = 2; public Integer priorRC = 2;
@Column(name = "ERP_SRC_NO")
@ApiParam(value = "ERP单号")
private String erpSrcNo;
@Column(name = "ERP_SRC_TYPE",columnDefinition = "varchar(50) default ''") @Column(name = "ERP_SRC_TYPE",columnDefinition = "varchar(50) default ''")
@ApiParam(value = "QAD发运单据类型") @ApiParam(value = "QAD发运单据类型")

@ -6,11 +6,11 @@ public class WmsInterfaceEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum DIRECTION_TYPE { public enum DIRECTION_TYPE {
SAP2WMS(10, "SAP2WMS-2", "SAP --> WMS"), SAP2WMS(10, "SAP2WMS", "SAP --> WMS"),
WMS2SAP(20, "WMS2SAP-2", "WMS --> SAP"), WMS2SAP(20, "WMS2SAP", "WMS --> SAP"),
MES2WMS(30, "MES2WMS-2", "MES --> WMS"), MES2WMS(30, "MES2WMS", "MES --> WMS"),
WMS2MES(40, "WMS2MES-2", "WMS --> MES"), WMS2MES(40, "WMS2MES", "WMS --> MES"),
SWEB2WMS(50, "SWEB2WMS-2", "SWEB --> WMS"); SWEB2WMS(50, "SWEB2WMS", "SWEB --> WMS");
private int value; private int value;
private String name; private String name;

Loading…
Cancel
Save