yun-zuoyi
link 3 years ago
commit ac152cf3f2

@ -236,7 +236,8 @@ public class BlockSoftSwitchEnumUtil {
REST(6,"REST调用"),
WEB_SERVICE(7,"WebService"),
SOCKET(8,"socket"),
RETRY(9,"重试");
RETRY(9,"重试"),
TEST(10,"手动测试");
private int value;
private String description;

@ -164,6 +164,14 @@ public class MesProduceSn extends BaseBean implements Serializable {
@ApiParam("Vin")
private String vinCode;
@Column(name = "IF_COMPENSATE")
@ApiParam(value ="是否补偿")
private Integer ifCompensate = 0;
@Column(name = "COMPENSATE_TIME")
@ApiParam(value ="补偿时间")
private String compensateTime;
@Transient
@ApiParam("返回信息")
private String resultMsg;

@ -166,6 +166,11 @@ public class MesProduceSnTravel extends BaseBean implements Serializable {
@ApiParam("员工编号")
private String employeeNumber;
@Column(name = "COMPENSATE_SN")
@ApiParam("补偿过程条码")
private String compensateSn;
@Transient
@ApiParam("返回信息")
private String resultMsg;

@ -160,6 +160,9 @@ public class UserDetailModel extends BaseBean {
@ApiParam(value ="用户ID集合信息")
private List<String> userInfoIdList;
@ApiParam(value ="登录次数")
private Integer userLoginNum;
public SysUser getSysUser(){
SysUser user = new SysUser();
user.setId(!StringUtils.isBlank(this.userId) ? Long.parseLong(this.userId) : null);
@ -172,6 +175,7 @@ public class UserDetailModel extends BaseBean {
user.setUserLoginPassword(this.userLoginPassword);
user.setLanguageCode(this.userLanguageCode);
user.setOrganizeCode(this.organizeCode);
user.setUserLoginNum(this.userLoginNum);
return user;
}
@ -206,6 +210,7 @@ public class UserDetailModel extends BaseBean {
info.setUserGrade(this.infoGrade);
info.setUserEmployeeType(this.infoEmployeeType);
info.setOrganizeCode(this.organizeCode);
info.setUserLoginNum(this.userLoginNum);
return info;
}

@ -0,0 +1,24 @@
package cn.estsh.i3plus.pojo.model.softswitch;
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @author ns
* @create 2021/12/22 0022 13:39
*/
@Data
@ApiModel("重试类型model")
public class SuitRetryModel {
@ApiParam(value = "适配器代码")
private String suitCaseCode;
@ApiParam(value = "适配记录id")
private Long bsSuitRecordId;
@ApiParam(value = "适配器")
private BsSuitCase bsSuitCase;
}

@ -266,6 +266,14 @@ public class BsSuitCase extends BaseBean {
return retryInterval == null ? 10: retryInterval;
}
@Column(name = "RETRY_TIME")
@ApiParam(value = "重试次数s")
private Integer retryTime;
public int getRetryTimeVal() {
return (retryTime == null || retryTime < 0) ? 1 : retryTime;
}
@Transient
@ApiParam(value = "适配器套件明细")
private Object bsSuitCaseDetail;

@ -34,7 +34,7 @@ public class BsSuitCaseType extends BaseBean {
@Column(name = "SUIT_CASE_TYPE_ID")
@ApiParam(value = "适配器类型id")
@JsonSerialize(using = ToStringSerializer.class)
private Long suitCaseTypeId;
private Integer suitCaseTypeId;
@Column(name = "SUIT_CASE_TYPE_NAME")
@ApiParam(value = "适配器类型名称")
@ -48,6 +48,9 @@ public class BsSuitCaseType extends BaseBean {
@ApiParam(value = "适配器适配失败报警邮箱")
private String suitCaseTypeAlarmEmail;
@Column(name = "ENABLE_ALARM_EMAIL")
@ApiParam(value = "是否开启适配报警邮箱发送")
private Integer enableAlarmEmail;
}

@ -116,6 +116,11 @@ public class BasVendor extends BaseBean{
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
private String mapLocation;
@Column(name = "FIRST_LOGIN")
@ApiParam("是否首次登录")
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Integer firstLogin;
public BasVendor() {
}
@ -123,4 +128,4 @@ public class BasVendor extends BaseBean{
this.id = id;
this.userName = userName;
}
}
}

@ -1100,4 +1100,72 @@ public class WmsStockSn extends BaseBean {
this.dateCode = wmsStockSn.getDateCode();
this.fixLotNo = wmsStockSn.getFixLotNo();
}
/**
*
* queueGroupNo
* remark
*/
public WmsStockSn(String organizeCode, Long id, String sn, String partNo, String partNameRdd, String unit, Integer snStatus,
Integer qcStatus, Double qty, String locateNo, String zoneNo, String whNo, String lotNo,
String dateCode, String leftCode, String fixLotNo, String vendorNo, String vendorNameRdd,
String qualityDate, String custNo, String custSn, String sn2d,
String packageNo, String createDatetime, String createUser, String modifyDatetime, String modifyUser,
String parentPositionNo, Date pdate, Integer printed, String refSrc, String refType,
String shippingFlag, String workCenterCode, Integer snType,
String packagePartNo, Integer useCount, Integer seqNo,
String whNameRdd, String locateNameRdd, String zoneNameRdd, String partTypeDesc,
String prodCfgTypeName, String custNameRdd, String workOrderCode, String color,
String orderNo ,String queueGroupNo, String remark) {
this.organizeCode = organizeCode;
this.id = id;
this.sn = sn;
this.partNo = partNo;
this.partNameRdd = partNameRdd;
this.unit = unit;
this.snStatus = snStatus;
this.qcStatus = qcStatus;
this.qty = qty;
this.locateNo = locateNo;
this.zoneNo = zoneNo;
this.whNo = whNo;
this.lotNo = lotNo;
this.dateCode = dateCode;
this.leftCode = leftCode;
this.fixLotNo = fixLotNo;
this.vendorNo = vendorNo;
this.vendorNameRdd = vendorNameRdd;
this.qualityDate = qualityDate;
this.custNo = custNo;
this.custSn = custSn;
this.sn2d = sn2d;
this.packageNo = packageNo;
this.createDatetime = createDatetime;
this.createUser = createUser;
this.modifyDatetime = modifyDatetime;
this.modifyUser = modifyUser;
this.parentPositionNo = parentPositionNo;
this.pdate = pdate;
this.printed = printed;
this.refSrc = refSrc;
this.refType = refType;
this.shippingFlag = shippingFlag;
this.workCenterCode = workCenterCode;
this.snType = snType;
this.packagePartNo = packagePartNo;
this.useCount = useCount;
this.seqNo = seqNo;
this.whNameRdd = whNameRdd;
this.locateNameRdd = locateNameRdd;
this.zoneNameRdd = zoneNameRdd;
this.partTypeDesc = partTypeDesc;
this.prodCfgTypeName = prodCfgTypeName;
this.custNameRdd = custNameRdd;
this.workOrderCode = workOrderCode;
this.color = color;
this.orderNo = orderNo;
this.queueGroupNo = queueGroupNo;
this.remark = remark;
}
}

Loading…
Cancel
Save