Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
7e9704db00
@ -0,0 +1,22 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.platform;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysLabelTemplate;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysLabelTemplateParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 打印模板封装model
|
||||||
|
* @Reference :
|
||||||
|
* @Author : siliter
|
||||||
|
* @CreateDate : 2019-03-18 13:52
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class LabelTemplateModel {
|
||||||
|
|
||||||
|
private SysLabelTemplate labelTemplate;
|
||||||
|
|
||||||
|
private List<SysLabelTemplateParam> templateParamList;
|
||||||
|
}
|
@ -0,0 +1,48 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.platform.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 : siliter
|
||||||
|
* @CreateDate : 2019-03-18 11:00
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="SYS_LABELTEMPLATE")
|
||||||
|
@Api(value="打印模板",description = "打印模板")
|
||||||
|
public class SysLabelTemplate extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="TEMPLATECODE")
|
||||||
|
@ApiParam(value ="模板代码")
|
||||||
|
private String templateCode;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATENAME")
|
||||||
|
@ApiParam(value ="模板名称")
|
||||||
|
private String templateName;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATECONTENT", columnDefinition = "TEXT")
|
||||||
|
@ApiParam(value ="模板内容")
|
||||||
|
private String templateContent;
|
||||||
|
|
||||||
|
// 参数拼接,多参数都好分隔,后台在做处理
|
||||||
|
@ApiParam(value ="模板参数拼接")
|
||||||
|
@Transient
|
||||||
|
private String paramsPack;
|
||||||
|
}
|
@ -0,0 +1,55 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.platform.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;
|
||||||
|
import javax.persistence.Transient;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 打印模板参数
|
||||||
|
* @Reference :
|
||||||
|
* @Author : siliter
|
||||||
|
* @CreateDate : 2019-03-18 11:00
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="SYS_LABELTEMPLATEPARAM")
|
||||||
|
@Api(value="打印模板参数",description = "打印模板参数")
|
||||||
|
public class SysLabelTemplateParam extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="TEMPLATEID")
|
||||||
|
@ApiParam(value ="模板ID" , access ="模板ID" ,example = "-1")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long templateId;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATECODE")
|
||||||
|
@ApiParam(value ="模板代码")
|
||||||
|
private String templateCode;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATEPARAM")
|
||||||
|
@ApiParam(value ="模板参数")
|
||||||
|
private String templateParam;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATEPARAMTEXT", columnDefinition = "TEXT")
|
||||||
|
@ApiParam(value ="模板参数描述")
|
||||||
|
private String templateParamText;
|
||||||
|
|
||||||
|
// 参数拼接,多参数都好分隔,后台在做处理
|
||||||
|
@ApiParam(value ="模板参数值")
|
||||||
|
@Transient
|
||||||
|
private String templateParamValue;
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.platform.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysLabelTemplateParam;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 打印模板
|
||||||
|
* @Reference :
|
||||||
|
* @Author : siliter
|
||||||
|
* @Date : 2019-03-18 12:03:01.024
|
||||||
|
* @Modify :
|
||||||
|
**/
|
||||||
|
public interface SysLabelTemplateParamRepository extends BaseRepository<SysLabelTemplateParam, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.platform.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysLabelTemplate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 打印模板
|
||||||
|
* @Reference :
|
||||||
|
* @Author : siliter
|
||||||
|
* @Date : 2019-03-18 12:03:01.024
|
||||||
|
* @Modify :
|
||||||
|
**/
|
||||||
|
public interface SysLabelTemplateRepository extends BaseRepository<SysLabelTemplate, Long> {
|
||||||
|
}
|
@ -0,0 +1,86 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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 org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 作业任务生成日志
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.lv
|
||||||
|
* @CreateDate : 2019-03-18 15:58
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_TASK_CREATE_LOG")
|
||||||
|
@Api("作业任务生成日志表")
|
||||||
|
public class WmsTaskCreateLog extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "TASK_NO")
|
||||||
|
@ApiParam("任务单号")
|
||||||
|
public String taskNo;
|
||||||
|
|
||||||
|
@Column(name = "DATA_SRC")
|
||||||
|
@ApiParam("数据来源")
|
||||||
|
public String dataSrc;
|
||||||
|
|
||||||
|
@Column(name = "OP_TYPE_CODE")
|
||||||
|
@ApiParam("作业类型")
|
||||||
|
public String opTypeCode;
|
||||||
|
|
||||||
|
@Column(name = "ERROR_MESSAGE")
|
||||||
|
@ApiParam("错误信息")
|
||||||
|
public String errorMessage;
|
||||||
|
|
||||||
|
@Column(name = "TRANS_STATUS")
|
||||||
|
@ApiParam("处理状态")
|
||||||
|
public Integer transStatus;
|
||||||
|
|
||||||
|
@Column(name = "REF_SRC")
|
||||||
|
@ApiParam(value = "关联单号")
|
||||||
|
private String refSrc;
|
||||||
|
|
||||||
|
@Column(name = "CALL_CLASS")
|
||||||
|
@ApiParam("实现类")
|
||||||
|
public String callClass;
|
||||||
|
|
||||||
|
@Column(name = "CALL_FUN")
|
||||||
|
@ApiParam("实现类")
|
||||||
|
public String callFun;
|
||||||
|
|
||||||
|
@Column(name = "START_TIME")
|
||||||
|
@ApiParam("开始执行时间")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
public Date startTime;
|
||||||
|
|
||||||
|
@Column(name = "END_TIME")
|
||||||
|
@ApiParam("结束执行时间")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
public Date 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,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsTaskCreateLog;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 作业任务生成日志
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.lv
|
||||||
|
* @CreateDate : 2019-03-18 15:58
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface WmsTaskCreateLogRepository extends BaseRepository<WmsTaskCreateLog, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue