Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
fa54afe122
@ -0,0 +1,121 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 作业记录表
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-23 11:10
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ACTION_LOG")
|
||||
@Api(value="作业记录表",description = "作业记录表")
|
||||
public class WmsActionLog extends BaseBean {
|
||||
|
||||
@Column(name="TASK_ID")
|
||||
@ApiParam(value = "作业任务编号", example = "1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long taskId;
|
||||
|
||||
//get单独处理
|
||||
public Long getTaskId() {
|
||||
if(taskId != null) {
|
||||
return taskId.longValue();
|
||||
}else{
|
||||
return taskId;
|
||||
}
|
||||
}
|
||||
|
||||
@Column(name="TRANS_TYPE_CODE")
|
||||
@ApiParam(value = "交易类型编号")
|
||||
public String transTypeCode;
|
||||
|
||||
@ApiParam(value = "交易类型名称")
|
||||
public transient String transTypeName;
|
||||
|
||||
@Column(name="AG_ID")
|
||||
@ApiParam(value = "作业流程编号", example = "1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long agId;
|
||||
|
||||
//get单独处理
|
||||
public Long getAgId() {
|
||||
if(agId != null) {
|
||||
return agId.longValue();
|
||||
}else{
|
||||
return agId;
|
||||
}
|
||||
}
|
||||
|
||||
@Column(name="AG_NAME_C")
|
||||
@ApiParam(value = "作业流程名称")
|
||||
public String agNameC;
|
||||
|
||||
@Column(name="ACTION_USER_NAME")
|
||||
@ApiParam(value = "作业人员")
|
||||
public String actionUserName;
|
||||
|
||||
@Column(name="FIX_ID")
|
||||
@ApiParam(value = "设备编号")
|
||||
public String fixId;
|
||||
|
||||
@Column(name="ORDER_NO")
|
||||
@ApiParam(value = "单据编号")
|
||||
public String orderNo;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam(value = "开始作业时间")
|
||||
public String startTime;
|
||||
|
||||
@Column(name="END_TIME")
|
||||
@ApiParam(value = "结束作业时间")
|
||||
public String endTime;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="开始作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00")
|
||||
public transient String startTimeStart;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="开始作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59")
|
||||
public transient String startTimeEnd;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="结束作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00")
|
||||
public transient String endTimeStart;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="结束作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59")
|
||||
public transient String endTimeEnd;
|
||||
|
||||
// 状态:1=创建,10=处理中,20=已完成
|
||||
@Column(name="ACTION_STATUS")
|
||||
@ApiParam(value = "作业状态", example = "1")
|
||||
public Integer actionStatus;
|
||||
|
||||
@Column(name="TOTAL_STEP")
|
||||
@ApiParam(value = "总步数", example = "1")
|
||||
public Integer totalStep;
|
||||
|
||||
@Column(name="CURRENT_STEP")
|
||||
@ApiParam(value = "当前步骤", example = "1")
|
||||
public Integer currentStep;
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :作业记录参数表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-11-23 13:14
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_ACTION_LOG_DATA")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="作业记录参数表",description = "作业记录参数表")
|
||||
public class WmsActionLogData extends BaseBean {
|
||||
|
||||
@Column(name = "ALD_ID")
|
||||
@ApiParam(value = "记录明细编号")
|
||||
private Long aldId;
|
||||
|
||||
@Column(name = "ALD_SEQ")
|
||||
@ApiParam(value = "步骤序号")
|
||||
private Integer aldSeq;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam(value = "实现类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "CALL_FUN")
|
||||
@ApiParam(value = "调用方法")
|
||||
private String callFun;
|
||||
|
||||
@Column(name = "EXECUTE_STATUS")
|
||||
@ApiParam(value = "执行状态")
|
||||
private Integer executeStatus;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="开始执行时间",example = "2000-01-01 01:00:00")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="结束执行时间",example = "2000-01-01 01:00:00")
|
||||
private String endTime;
|
||||
|
||||
@Column(name = "IN_PARAMS")
|
||||
@ApiParam(value = "输入参数")
|
||||
private String inParams;
|
||||
|
||||
@Column(name = "OUT_PARAMS")
|
||||
@ApiParam(value = "输出参数")
|
||||
private String outParams;
|
||||
|
||||
@Column(name = "OUT_RESULT")
|
||||
@ApiParam(value = "执行结果")
|
||||
private String outResult;
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :作业记录明细表
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-23 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ACTION_LOG_DETAILS")
|
||||
@Api(value="作业记录明细表",description = "作业记录表")
|
||||
public class WmsActionLogDetails extends BaseBean {
|
||||
|
||||
@Column(name="AL_ID")
|
||||
@ApiParam(value = "作业流程ID", example = "1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long alId;
|
||||
|
||||
//get单独处理
|
||||
public Long getAlId() {
|
||||
if(alId != null) {
|
||||
return alId.longValue();
|
||||
}else{
|
||||
return alId;
|
||||
}
|
||||
}
|
||||
|
||||
@Column(name="SEQ")
|
||||
@ApiParam(value = "序号", example = "1")
|
||||
public Integer seq;
|
||||
|
||||
@Column(name="OK_SEQ")
|
||||
@ApiParam(value = "成功跳转步骤", example = "1")
|
||||
public Integer okSeq;
|
||||
|
||||
@Column(name="NG_SEQ")
|
||||
@ApiParam(value = "失败跳转步骤", example = "1")
|
||||
public Integer ngSeq;
|
||||
|
||||
// 10=只输入一次,20=输入多次,30=输入多次不允许重复,40=本流程结束
|
||||
@Column(name="VALUE_TYPE")
|
||||
@ApiParam(value = "动作类型", example = "1")
|
||||
public Integer valueType;
|
||||
|
||||
// 1=是,2=否
|
||||
@Column(name="TO_UPPER")
|
||||
@ApiParam(value = "是否转为大写", example = "1")
|
||||
public Integer toUpper;
|
||||
|
||||
@Column(name="LEN_CHECK")
|
||||
@ApiParam(value = "长度检查", example = "1")
|
||||
public Integer lenCheck;
|
||||
|
||||
@Column(name="AS_ID")
|
||||
@ApiParam(value = "作业步骤", example = "1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long asId;
|
||||
|
||||
//get单独处理
|
||||
public Long getAsId() {
|
||||
if(asId != null) {
|
||||
return asId.longValue();
|
||||
}else{
|
||||
return asId;
|
||||
}
|
||||
}
|
||||
|
||||
@Column(name="ALD_STATUS")
|
||||
@ApiParam(value = "执行状态", example = "1")
|
||||
public Integer aldStatus;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam(value = "开始执行时间")
|
||||
public String startTime;
|
||||
|
||||
@Column(name="END_TIME")
|
||||
@ApiParam(value = "结束执行时间")
|
||||
public String endTime;
|
||||
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :作业步骤调用参数表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-11-23 14:52
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_ACTION_STEP_CALL_PARAM")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="作业步骤调用参数表",description = "作业步骤调用参数表")
|
||||
public class WmsActionStepCallParam extends BaseBean {
|
||||
|
||||
@Column(name = "AGD_ID")
|
||||
@ApiParam(value = "流程明细编号")
|
||||
private Long agdId;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam(value = "序号")
|
||||
private Integer seq;
|
||||
|
||||
@Column(name = "AM_ID")
|
||||
@ApiParam(value = "处理组件编号")
|
||||
private Long amId;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam(value = "参数编码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam(value = "参数值")
|
||||
private String paramValue;
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.BasVendor;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionLogData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-07 14:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionLogDataRepository extends BaseRepository<WmsActionLogData, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionLogDetails;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 作业记录明细
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-23 14:03
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionLogDetailsRepository extends BaseRepository<WmsActionLogDetails, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 作业记录表
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-23 14:02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionLogRepository extends BaseRepository<WmsActionLog, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionLogData;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStepCallParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-11-23 15:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionStepCallParamRepository extends BaseRepository<WmsActionStepCallParam, Long> {
|
||||
}
|
Loading…
Reference in New Issue