Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
c905343349
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.dynamic.WmsFieldInfo;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : Wms实体字段Model信息
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-01-08 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class WmsFieldInfoModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376845639646427495L;
|
||||
|
||||
@ApiParam(value = "字段信息列表")
|
||||
public List<WmsFieldInfo> wmsFieldInfoList;
|
||||
|
||||
@ApiParam(value = "新增数据操作类")
|
||||
private String baseRepository;
|
||||
|
||||
public WmsFieldInfoModel (String baseRepository, List<WmsFieldInfo> wmsFieldInfoList) {
|
||||
this.baseRepository = baseRepository;
|
||||
this.wmsFieldInfoList = wmsFieldInfoList;
|
||||
}
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
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.ColumnDefault;
|
||||
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 : WMS数据迁移配置表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-01-08 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_DATA_MIGRATION_CONFIG")
|
||||
@Api("WMS数据迁移配置表")
|
||||
public class WmsDataMigrationConfig extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592777L;
|
||||
|
||||
@Column(name="MIG_NAME")
|
||||
@ApiParam("名称")
|
||||
private String migName;
|
||||
|
||||
@Column(name="REMARK")
|
||||
@ApiParam("描述")
|
||||
private String remark;
|
||||
|
||||
@Column(name="MIGRATION_CYCLE")
|
||||
@ApiParam("迁移周期")
|
||||
private String migrationCycle;
|
||||
|
||||
@Column(name="LAST_EXECUTION_TIME")
|
||||
@ApiParam("末次迁移时间")
|
||||
private String lastExecutionTime;
|
||||
|
||||
@Column(name="LAST_MRGRATION_QTY")
|
||||
@ApiParam(value = "末次迁移记录数", example = "0")
|
||||
private Integer LastmMigrationQty;
|
||||
|
||||
@Column(name="NEXT_EXECUTION_TIME")
|
||||
@ApiParam("下次执行时间")
|
||||
private String nextExecutionTime;
|
||||
|
||||
@Column(name="SRC_TABLE_NAME")
|
||||
@ApiParam("来源表名")
|
||||
private String srcTableName;
|
||||
|
||||
@Column(name="SRC_QUERY_CONDITIONS")
|
||||
@ApiParam("来源表查询条件")
|
||||
private String srcQueryConditions;
|
||||
|
||||
@Column(name="PROCESS_QTY")
|
||||
@ApiParam(value = "每次处理行数", example = "0")
|
||||
private Integer processQty;
|
||||
|
||||
@Column(name="DEST_TABLE_NAME")
|
||||
@ApiParam("目标表名")
|
||||
private String destTableName;
|
||||
|
||||
@Column(name="IS_PHYSICAL_DELETE")
|
||||
@ApiParam(value = "是否物理删除", example = "0")
|
||||
private Integer isPhysicalDelete;
|
||||
|
||||
@Column(name="ERROR_MESSAGE")
|
||||
@ApiParam("执行错误日志")
|
||||
private String errorMessage;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="开始时间")
|
||||
private String mcStartTime;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="结束时间")
|
||||
private String mcEndTime;
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
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 javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 推送信息配置
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2020-01-06 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PUSH_CONFIG")
|
||||
@Api("推送配置")
|
||||
public class WmsPushConfig extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 2701710669030092153L;
|
||||
@ApiParam("推送名称")
|
||||
@Column(name = "PUSH_NAME")
|
||||
private String pushName;
|
||||
|
||||
@ApiParam("规则类型")
|
||||
@Column(name = "QUARTZ_CRON")
|
||||
private String quartzCron;
|
||||
|
||||
@ApiParam("末次执行时间")
|
||||
@Column(name = "LAST_EXE_TIME")
|
||||
private String lastExeTime;
|
||||
|
||||
@ApiParam("下次执行时间")
|
||||
@Column(name = "NEXT_EXE_TIME")
|
||||
private String nextExeTime;
|
||||
|
||||
@ApiParam("序号")
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
private Integer serialNumber;
|
||||
|
||||
@ApiParam("查询Hql")
|
||||
@Column(name = "HQL_STR")
|
||||
private String hqlStr;
|
||||
|
||||
@ApiParam("查询Sql")
|
||||
@Column(name = "SQL_STR")
|
||||
private String sqlStr;
|
||||
|
||||
@ApiParam("脚本编号")
|
||||
@Column(name = "SCRIPT_NO")
|
||||
private String scriptNo;
|
||||
|
||||
@ApiParam("标题模板")
|
||||
@Column(name = "TITLE_TEMPLATE")
|
||||
private String titleTemplate;
|
||||
|
||||
@ApiParam("消息体模板")
|
||||
@Column(name = "CONTENT_TEMPLATE")
|
||||
private String contentTemplate;
|
||||
|
||||
@ApiParam("推送类型")
|
||||
@Column(name = "PUSH_TYPE")
|
||||
private Integer pushType;
|
||||
|
||||
@ApiParam("描述")
|
||||
@Column(name = "REMARK")
|
||||
private String remark;
|
||||
|
||||
@ApiParam("推送地址")
|
||||
@Column(name ="PATH_URL")
|
||||
private String pathUrl;
|
||||
|
||||
@ApiParam("头标签")
|
||||
@Column(name = "TITLE_LABEL")
|
||||
private String titleLabel;
|
||||
|
||||
@ApiParam("内容标签")
|
||||
@Column(name = "CONTENT_LABEL")
|
||||
private String contentLabel;
|
||||
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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 javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 推送信息配置
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2020-01-06 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PUSH_LOG")
|
||||
@Api("推送日志")
|
||||
public class WmsPushLog extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = -1708833666516164845L;
|
||||
@Column(name = "EXE_HQL")
|
||||
@ApiParam("执行Hql")
|
||||
private String exeHql;
|
||||
|
||||
@Column(name = "PUSH_TITLE")
|
||||
@ApiParam("推送标题")
|
||||
private String pushTitle;
|
||||
|
||||
@Column(name = "PUSH_CONTENT")
|
||||
@ApiParam("推送内容")
|
||||
private String pushContent;
|
||||
|
||||
@Column(name = "PUSH_TYPE")
|
||||
@ApiParam("推送类型")
|
||||
private String pushType;
|
||||
|
||||
@Column(name = "PUSH_RESULT")
|
||||
@ApiParam("推送结果")
|
||||
private String pushResult;
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class PushMessageModel {
|
||||
|
||||
|
||||
//标题
|
||||
public String title;
|
||||
//内容
|
||||
public String content;
|
||||
|
||||
//推送类型
|
||||
public String pushType;
|
||||
|
||||
//推送地址
|
||||
public String pathUrl;
|
||||
|
||||
//推送数据
|
||||
List<Map<Object,Object>> dataList;
|
||||
}
|
@ -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.WmsDataMigrationConfig;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :WMS数据迁移配置实体
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-01-08 14:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsDataMigrationConfigRepository extends BaseRepository<WmsDataMigrationConfig, Long> {
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPushConfig;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPushLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 推送日志配置信息
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2020-01-06 9:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPushConfigRepository extends BaseRepository<WmsPushConfig, Long> {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsASNMasterDetails;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPushLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 推送日志保存对象
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2020-01-06 9:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPushLogRepository extends BaseRepository<WmsPushLog, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue