Merge branch 'ext-dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
0a8ad27fbb
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.aps.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RuleDetailModel {
|
||||
@ApiParam(value ="主执行进度")
|
||||
private Integer mainProcess = 0;
|
||||
|
||||
@ApiParam(value ="总规则数")
|
||||
private Integer mainSize = 0;
|
||||
|
||||
@ApiParam(value ="当前执行进度")
|
||||
private Integer curProcess = 0;
|
||||
|
||||
@ApiParam(value ="总行数")
|
||||
private Integer totalSize = 0;
|
||||
|
||||
@ApiParam(value ="进度消息")
|
||||
private String processMsg = "";
|
||||
|
||||
@ApiParam(value ="进度消息明细")
|
||||
private String subMsg = "";
|
||||
|
||||
private Boolean finish = false;
|
||||
|
||||
@ApiParam(value ="异常消息")
|
||||
private String exception = "";
|
||||
|
||||
public void addProcess() {
|
||||
this.curProcess += 1;
|
||||
}
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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 : pantianhu
|
||||
* @CreateDate : 2021-05-26 17:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_FIELD")
|
||||
@ApiModel("表字段")
|
||||
public class MdmField extends BaseMdmBean {
|
||||
|
||||
@Column(name="TABLE_NAME")
|
||||
@ApiParam(value ="表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name="TABLE_DESCRIPTION")
|
||||
@ApiParam(value ="表描述")
|
||||
private String tableDescription;
|
||||
|
||||
@Column(name="FIELD_NAME")
|
||||
@ApiParam(value ="字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name="FIELD_DESCRIPTION")
|
||||
@ApiParam(value ="字段描述")
|
||||
private String fieldDescription;
|
||||
|
||||
@Column(name="SERVICE_NAME")
|
||||
@ApiParam(value ="服务名称")
|
||||
private String serviceName;
|
||||
|
||||
@Column(name="SERVICE_CODE")
|
||||
@ApiParam(value ="服务代码")
|
||||
private String serviceCode;
|
||||
|
||||
@Column(name="IS_SELECT")
|
||||
@ApiParam(value ="是否选中")
|
||||
private Integer isSelect;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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 : pantianhu
|
||||
* @CreateDate : 2021-05-29 15:17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_MAIL")
|
||||
@ApiModel("邮件配置")
|
||||
public class MdmMail extends BaseMdmBean{
|
||||
@Column(name = "MESSAGE_SENDER_NAME_RDD")
|
||||
@ApiParam(value = "发送者名称")
|
||||
private String messageSenderNameRdd;
|
||||
|
||||
@Column(name = "MESSAGE_RECEIVERS_NAME_RDD")
|
||||
@ApiParam(value = "接受者名称")
|
||||
private String messageReceiversNameRdd;
|
||||
|
||||
@Column(name = "IS_SEND")
|
||||
@ApiParam(value = "是否发送")
|
||||
private Integer isSend;
|
||||
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.MdmEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.BaseMdmBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 主数据齿轮
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-05-12 18:09
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_SYNC_DATA_THROUGH")
|
||||
@ApiModel("处理以通过中心同步数据")
|
||||
public class MdmSyncDataThrough extends BaseMdmBean {
|
||||
|
||||
private static final long serialVersionUID = -1642626000861174060L;
|
||||
|
||||
@ApiParam("同步数据类型")
|
||||
@AnnoOutputColumn(refClass = MdmEnumUtil.MDM_SYNC_TYPE.class)
|
||||
private Integer syncType;
|
||||
|
||||
public int getSyncTypeVal() {
|
||||
return syncType == null ? MdmEnumUtil.MDM_SYNC_TYPE.INSERT.getValue() : syncType;
|
||||
}
|
||||
|
||||
public String getSyncTypeTxt() {
|
||||
return syncType == null ? "无" : MdmEnumUtil.MDM_SYNC_TYPE.valueOfDescription(syncType);
|
||||
}
|
||||
|
||||
@ApiParam("同步模块")
|
||||
@AnnoOutputColumn(refClass = MdmEnumUtil.MDM_SYNC_APP_TYPE.class)
|
||||
private Integer syncAppType;
|
||||
|
||||
public int getSyncAppTypeVal() {
|
||||
return syncAppType == null ? MdmEnumUtil.MDM_SYNC_APP_TYPE.INTERNAL.getValue() : syncAppType;
|
||||
}
|
||||
|
||||
public String getSyncAppTypeTxt() {
|
||||
return syncAppType == null ? "无" : MdmEnumUtil.MDM_SYNC_APP_TYPE.valueOfDescription(syncAppType);
|
||||
}
|
||||
|
||||
@ApiParam("同步模块")
|
||||
private Long syncSoftType;
|
||||
|
||||
@ApiParam("同步模块名称")
|
||||
private String syncSoftTypeName;
|
||||
|
||||
@ApiParam("是否是主数据")
|
||||
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
|
||||
private Integer isMasterData;
|
||||
|
||||
public int getIsMasterDataVal() {
|
||||
return isMasterData == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isMasterData;
|
||||
}
|
||||
|
||||
public String getIsMasterDataTxt() {
|
||||
return isMasterData == null ? "无" : CommonEnumUtil.TRUE_OR_FALSE.valueOfDescription(isMasterData);
|
||||
}
|
||||
|
||||
@ApiParam("同步数据class")
|
||||
private String syncDataClass;
|
||||
|
||||
public String getSyncDataClassSimpleName() {
|
||||
if (syncDataClass == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return syncDataClass.trim().substring(syncDataClass.trim().lastIndexOf(".") + 1);
|
||||
}
|
||||
|
||||
@ApiParam("同步数据id")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private String syncDataId;
|
||||
|
||||
@ApiParam("同步数据用户名")
|
||||
private String syncDateUserName;
|
||||
|
||||
@ApiParam("同步时间")
|
||||
private String syncDateTime;
|
||||
|
||||
@ApiParam("同步失败键")
|
||||
private String syncFailKey;
|
||||
|
||||
@ApiParam("同步失败时间")
|
||||
private String syncFailDateTime;
|
||||
|
||||
@ApiParam("同步失败信息")
|
||||
private String syncFailMessage;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmMail;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmGear;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-05-15 16:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmMailRepository extends BaseRepository<MdmMail, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmGear;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmSyncDataThrough;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-05-15 16:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmSyncDataThroughRepository extends BaseRepository<MdmSyncDataThrough, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmField;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2021-05-26 20:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmfieldRepository extends BaseRepository<MdmField, Long> {
|
||||
}
|
Loading…
Reference in New Issue