feat(softswitch):添加sap-rfc适配器
parent
8c3a652ada
commit
c6031a0fc4
@ -0,0 +1,69 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.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 : yunhao
|
||||
* @CreateDate : 2021-01-15 15:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SAP_CONN")
|
||||
@Api(value = "SAP连接信息", description = "SAP连接信息")
|
||||
public class BsSapConn extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -8590500564480743293L;
|
||||
|
||||
@Column(name = "SAP_CONN_NAME")
|
||||
@ApiParam(value = "sap连接名称")
|
||||
private String sapConnName;
|
||||
|
||||
@Column(name = "SAP_CONN_CODE")
|
||||
@ApiParam(value = "sap连接代码")
|
||||
private String sapConnCode;
|
||||
|
||||
@Column(name = "SAP_HOST")
|
||||
@ApiParam(value = "SAP 应用服务器")
|
||||
private String sapHost;
|
||||
|
||||
@Column(name = "SAP_ROUTER")
|
||||
@ApiParam(value = "SAP 路由")
|
||||
private String sapRouter;
|
||||
|
||||
@Column(name = "SAP_SYS_NO")
|
||||
@ApiParam(value = "sap系统编号")
|
||||
private String sapSysNo;
|
||||
|
||||
@Column(name = "SAP_CLIENT")
|
||||
@ApiParam(value = "sap集团")
|
||||
private String sapClient;
|
||||
|
||||
@Column(name = "SAP_USER")
|
||||
@ApiParam(value = "sap用户名")
|
||||
private String sapUser;
|
||||
|
||||
@Column(name = "SAP_PWD")
|
||||
@ApiParam(value = "sap密码")
|
||||
private String sapPwd;
|
||||
|
||||
@Column(name = "SAP_LANG")
|
||||
@ApiParam(value = "sap登录语言")
|
||||
private String sapLang;
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.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 : yunhao
|
||||
* @CreateDate : 2021-01-18 17:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SUIT_CASE_SAP")
|
||||
@Api(value = "SAP适配器", description = "SAP适配器")
|
||||
public class BsSuitCaseSap extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -2019771592688281243L;
|
||||
|
||||
@Column(name = "SUIT_CASE_ID")
|
||||
@ApiParam(value = "套件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suitCaseId;
|
||||
|
||||
@Column(name = "SAP_CONN_ID")
|
||||
@ApiParam(value = "sap连接id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long sapConnId;
|
||||
|
||||
@Column(name = "SAP_CONN_CODE")
|
||||
@ApiParam(value = "sap连接代码")
|
||||
private String sapConnCode;
|
||||
|
||||
@Column(name = "SAP_CONN_NAME")
|
||||
@ApiParam(value = "sap连接代码")
|
||||
private String sapConnName;
|
||||
|
||||
@Column(name = "BUSI_FUNC_NAME")
|
||||
@ApiParam(value = "业务方法")
|
||||
private String busiFuncName;
|
||||
|
||||
@Column(name = "COMMIT_FUNC_NAME")
|
||||
@ApiParam(value = "提交方法名")
|
||||
private String commitFuncName;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSapConn;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-01-19 13:50
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BsSapConnRepository extends BaseRepository<BsSapConn,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseSap;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-01-19 13:50
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BsSuitCaseSapRepository extends BaseRepository<BsSuitCaseSap, Long> {
|
||||
}
|
Loading…
Reference in New Issue