Merge remote-tracking branch 'remotes/origin/test'
commit
ae12af551b
@ -0,0 +1,51 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :mes-pcn定时任务工作清单同步记录
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PCN_TASK_LOG")
|
||||
@Api("mes-pcn定时任务工作清单同步记录")
|
||||
public class MesPcnTaskLog extends BaseBean {
|
||||
|
||||
@Column(name="SYNC_TIME_START")
|
||||
@ApiParam("同步数据开始时间")
|
||||
private String syncTimeStart;
|
||||
|
||||
@Column(name="SYNC_TIME_END")
|
||||
@ApiParam("同步数据截止时间")
|
||||
private String syncTimeEnd;
|
||||
|
||||
@Column(name="SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Column(name="ERROR_CONTENT")
|
||||
@ApiParam("异常内容")
|
||||
private String errorContent;
|
||||
|
||||
public int getSyncStatusVal() {
|
||||
return this.syncStatus == null ? 0 : this.syncStatus;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
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.MesPcnTaskLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPcnTaskLogRepository extends BaseRepository<MesPcnTaskLog, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
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.MesPcnTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :mes-pcn定时任务清单
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPcnTaskRepository extends BaseRepository<MesPcnTask, Long> {
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesNumberRule;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesNumberSerialno;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/8/23 11:42 AM
|
||||
* @Description:
|
||||
**/
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("生成条码模型")
|
||||
public class GenSerialNoModel extends BaseBean {
|
||||
|
||||
@ApiParam("规则代码")
|
||||
private String ruleCode;
|
||||
|
||||
@ApiParam("规则描述")
|
||||
private String ruleDesc;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("客户物料号")
|
||||
private String custPartNo;
|
||||
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@ApiParam("产地")
|
||||
private String prodLocation;
|
||||
|
||||
@ApiParam("前缀")
|
||||
private Integer prefix;
|
||||
|
||||
@ApiParam("编码规则")
|
||||
private String numberRule;
|
||||
|
||||
@ApiParam("序号长度")
|
||||
private Integer serialnoLength;
|
||||
|
||||
@ApiParam("增量")
|
||||
private Integer serialnoIncrement;
|
||||
|
||||
@ApiParam("最大值后循环")
|
||||
private Integer isCycle;
|
||||
|
||||
@ApiParam("当前编号前缀")
|
||||
private String currentNumberPrefix;
|
||||
|
||||
@ApiParam("当前序号")
|
||||
private Integer currentSerialno;
|
||||
|
||||
@ApiParam("当前编号")
|
||||
private String currentNumber;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesNumberSerialno;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/8/23 1:23 PM
|
||||
* @Description:
|
||||
**/
|
||||
|
||||
@Repository
|
||||
public interface MesNumberSerialnoRepository extends BaseRepository<MesNumberSerialno, Long> {
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description 消息样式实体类
|
||||
* @Reference
|
||||
* @Author dragon
|
||||
* @CreateDate 2019/8/26 10:36
|
||||
* @Modify
|
||||
*/
|
||||
@Data
|
||||
public class WmsMessageStyleModel implements Serializable {
|
||||
private static final long serialVersionUID = -810847996371452831L;
|
||||
@ApiParam("任务状态")
|
||||
public Integer taskStatus;
|
||||
@ApiParam("单据明细状态")
|
||||
public Integer odStatus;
|
||||
|
||||
@ApiParam("消息")
|
||||
public String message;
|
||||
|
||||
@ApiParam("前景色")
|
||||
public String foregroundColor;
|
||||
@ApiParam("背景色")
|
||||
public String backgroundColor;
|
||||
@ApiParam("是否粗体")
|
||||
public boolean isBold;
|
||||
@ApiParam("是否斜体")
|
||||
public boolean isItalics;
|
||||
@ApiParam("字号")
|
||||
public Integer fontSize;
|
||||
|
||||
public WmsMessageStyleModel() {
|
||||
}
|
||||
|
||||
public WmsMessageStyleModel(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSslKeyParam;
|
||||
|
||||
/**
|
||||
* @Description : 安全证书参数
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-08-21 17:47
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BsSslKeyParamRepository extends BaseRepository<BsSslKeyParam, Long> {
|
||||
}
|
Loading…
Reference in New Issue