Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
9a534c96e6
@ -0,0 +1,11 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.bsp.common;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : Castle
|
||||||
|
* @CreateDate : 2021/7/22 15:38
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public class GroovyCommonUtil {
|
||||||
|
}
|
@ -1,147 +1,149 @@
|
|||||||
package cn.estsh.i3plus.pojo.bsp.common;
|
//package cn.estsh.i3plus.pojo.bsp.common;
|
||||||
|
//
|
||||||
import org.slf4j.Logger;
|
//import cn.estsh.i3plus.pojo.base.bean.BaseResultBean;
|
||||||
import org.slf4j.LoggerFactory;
|
//import org.slf4j.Logger;
|
||||||
|
//import org.slf4j.LoggerFactory;
|
||||||
import javax.net.ssl.*;
|
//
|
||||||
import java.io.BufferedReader;
|
//import javax.net.ssl.*;
|
||||||
import java.io.DataOutputStream;
|
//import java.io.BufferedReader;
|
||||||
import java.io.InputStreamReader;
|
//import java.io.DataOutputStream;
|
||||||
import java.net.HttpURLConnection;
|
//import java.io.InputStreamReader;
|
||||||
import java.net.URL;
|
//import java.net.HttpURLConnection;
|
||||||
import java.security.cert.CertificateException;
|
//import java.net.URL;
|
||||||
import java.security.cert.X509Certificate;
|
//import java.security.cert.CertificateException;
|
||||||
|
//import java.security.cert.X509Certificate;
|
||||||
/**
|
//
|
||||||
* @Description :
|
///**
|
||||||
* @Reference :
|
// * @Description :
|
||||||
* @Author : Castle
|
// * @Reference :
|
||||||
* @CreateDate : 2021/6/17 13:37
|
// * @Author : Castle
|
||||||
* @Modify:
|
// * @CreateDate : 2021/6/17 13:37
|
||||||
**/
|
// * @Modify:
|
||||||
public class HttpUtils {
|
// **/
|
||||||
private static Logger logger = LoggerFactory.getLogger(HttpUtils.class);
|
//public class HttpUtils {
|
||||||
|
// private static Logger logger = LoggerFactory.getLogger(HttpUtils.class);
|
||||||
// trust-https start
|
//
|
||||||
private static void trustAllHosts(HttpsURLConnection connection) {
|
// // trust-https start
|
||||||
try {
|
// private static void trustAllHosts(HttpsURLConnection connection) {
|
||||||
SSLContext sc = SSLContext.getInstance("TLS");
|
// try {
|
||||||
sc.init(null, trustAllCerts, new java.security.SecureRandom());
|
// SSLContext sc = SSLContext.getInstance("TLS");
|
||||||
SSLSocketFactory newFactory = sc.getSocketFactory();
|
// sc.init(null, trustAllCerts, new java.security.SecureRandom());
|
||||||
|
// SSLSocketFactory newFactory = sc.getSocketFactory();
|
||||||
connection.setSSLSocketFactory(newFactory);
|
//
|
||||||
} catch (Exception e) {
|
// connection.setSSLSocketFactory(newFactory);
|
||||||
logger.error(e.getMessage(), e);
|
// } catch (Exception e) {
|
||||||
}
|
// logger.error(e.getMessage(), e);
|
||||||
connection.setHostnameVerifier(new HostnameVerifier() {
|
// }
|
||||||
@Override
|
// connection.setHostnameVerifier(new HostnameVerifier() {
|
||||||
public boolean verify(String hostname, SSLSession session) {
|
// @Override
|
||||||
return true;
|
// public boolean verify(String hostname, SSLSession session) {
|
||||||
}
|
// return true;
|
||||||
});
|
// }
|
||||||
}
|
// });
|
||||||
|
// }
|
||||||
private static final TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager() {
|
//
|
||||||
@Override
|
// private static final TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager() {
|
||||||
public X509Certificate[] getAcceptedIssuers() {
|
// @Override
|
||||||
return new X509Certificate[]{};
|
// public X509Certificate[] getAcceptedIssuers() {
|
||||||
}
|
// return new X509Certificate[]{};
|
||||||
|
// }
|
||||||
@Override
|
//
|
||||||
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
|
// @Override
|
||||||
}
|
// public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
|
||||||
|
// }
|
||||||
@Override
|
//
|
||||||
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
|
// @Override
|
||||||
}
|
// public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
|
||||||
}};
|
// }
|
||||||
// trust-https end
|
// }};
|
||||||
|
// // trust-https end
|
||||||
|
//
|
||||||
/**
|
//
|
||||||
* post
|
// /**
|
||||||
*
|
// * post
|
||||||
* @param url
|
// *
|
||||||
* @param timeout
|
// * @param url
|
||||||
* @param requestObj
|
// * @param timeout
|
||||||
* @return
|
// * @param requestObj
|
||||||
*/
|
// * @return
|
||||||
public static ReturnT postBody(String url, int timeout, Object requestObj) {
|
// */
|
||||||
HttpURLConnection connection = null;
|
// public static ResultBean postBody(String url, int timeout, Object requestObj) {
|
||||||
BufferedReader bufferedReader = null;
|
// HttpURLConnection connection = null;
|
||||||
try {
|
// BufferedReader bufferedReader = null;
|
||||||
// connection
|
// try {
|
||||||
URL realUrl = new URL(url);
|
// // connection
|
||||||
connection = (HttpURLConnection) realUrl.openConnection();
|
// URL realUrl = new URL(url);
|
||||||
|
// connection = (HttpURLConnection) realUrl.openConnection();
|
||||||
// trust-https
|
//
|
||||||
boolean useHttps = url.startsWith("https");
|
// // trust-https
|
||||||
if (useHttps) {
|
// boolean useHttps = url.startsWith("https");
|
||||||
HttpsURLConnection https = (HttpsURLConnection) connection;
|
// if (useHttps) {
|
||||||
trustAllHosts(https);
|
// HttpsURLConnection https = (HttpsURLConnection) connection;
|
||||||
}
|
// trustAllHosts(https);
|
||||||
|
// }
|
||||||
// connection setting
|
//
|
||||||
connection.setRequestMethod("POST");
|
// // connection setting
|
||||||
connection.setDoOutput(true);
|
// connection.setRequestMethod("POST");
|
||||||
connection.setDoInput(true);
|
// connection.setDoOutput(true);
|
||||||
connection.setUseCaches(false);
|
// connection.setDoInput(true);
|
||||||
connection.setReadTimeout(timeout * 1000);
|
// connection.setUseCaches(false);
|
||||||
connection.setConnectTimeout(3 * 1000);
|
// connection.setReadTimeout(timeout * 1000);
|
||||||
connection.setRequestProperty("connection", "Keep-Alive");
|
// connection.setConnectTimeout(3 * 1000);
|
||||||
connection.setRequestProperty("Content-Type", "application/json;charset=UTF-8");
|
// connection.setRequestProperty("connection", "Keep-Alive");
|
||||||
connection.setRequestProperty("Accept-Charset", "application/json;charset=UTF-8");
|
// connection.setRequestProperty("Content-Type", "application/json;charset=UTF-8");
|
||||||
|
// connection.setRequestProperty("Accept-Charset", "application/json;charset=UTF-8");
|
||||||
// do connection
|
//
|
||||||
connection.connect();
|
// // do connection
|
||||||
|
// connection.connect();
|
||||||
// write requestBody
|
//
|
||||||
if (requestObj != null) {
|
// // write requestBody
|
||||||
String requestBody = GsonTool.toJson(requestObj);
|
// if (requestObj != null) {
|
||||||
|
// String requestBody = GsonTool.toJson(requestObj);
|
||||||
DataOutputStream dataOutputStream = new DataOutputStream(connection.getOutputStream());
|
//
|
||||||
dataOutputStream.write(requestBody.getBytes("UTF-8"));
|
// DataOutputStream dataOutputStream = new DataOutputStream(connection.getOutputStream());
|
||||||
dataOutputStream.flush();
|
// dataOutputStream.write(requestBody.getBytes("UTF-8"));
|
||||||
dataOutputStream.close();
|
// dataOutputStream.flush();
|
||||||
}
|
// dataOutputStream.close();
|
||||||
|
// }
|
||||||
// valid StatusCode
|
//
|
||||||
int statusCode = connection.getResponseCode();
|
// // valid StatusCode
|
||||||
if (statusCode != 200) {
|
// int statusCode = connection.getResponseCode();
|
||||||
|
// if (statusCode != 200) {
|
||||||
return new ReturnT<String>(ReturnT.FAIL_CODE, "rpc remoting fail, StatusCode(" + statusCode + ") invalid. for url : " + url);
|
// return ResultBean.fail("rpc remoting fail, StatusCode(" + statusCode + ") invalid. for url : " + url);
|
||||||
}
|
//// return new BaseResultBean().errorMsg("rpc remoting fail, StatusCode(" + statusCode + ") invalid. for url : " + url);
|
||||||
|
//// return new ReturnT<String>(ReturnT.FAIL_CODE, "rpc remoting fail, StatusCode(" + statusCode + ") invalid. for url : " + url);
|
||||||
// result
|
// }
|
||||||
bufferedReader = new BufferedReader(new InputStreamReader(connection.getInputStream(), "UTF-8"));
|
//
|
||||||
StringBuilder result = new StringBuilder();
|
// // result
|
||||||
String line;
|
// bufferedReader = new BufferedReader(new InputStreamReader(connection.getInputStream(), "UTF-8"));
|
||||||
while ((line = bufferedReader.readLine()) != null) {
|
// StringBuilder result = new StringBuilder();
|
||||||
result.append(line);
|
// String line;
|
||||||
}
|
// while ((line = bufferedReader.readLine()) != null) {
|
||||||
String resultJson = result.toString();
|
// result.append(line);
|
||||||
// parse returnT
|
// }
|
||||||
try {
|
// String resultJson = result.toString();
|
||||||
return GsonTool.fromJson(resultJson, ReturnT.class);
|
// // parse returnT
|
||||||
} catch (Exception e) {
|
// try {
|
||||||
logger.error("rpc remoting (url=" + url + ") response content invalid(" + resultJson + ").", e);
|
// return GsonTool.fromJson(resultJson, BaseResultBean.class);
|
||||||
return new ReturnT<String>(ReturnT.FAIL_CODE, "rpc remoting (url=" + url + ") response content invalid(" + resultJson + ").");
|
// } catch (Exception e) {
|
||||||
}
|
// logger.error("rpc remoting (url=" + url + ") response content invalid(" + resultJson + ").", e);
|
||||||
} catch (Exception e) {
|
// return ResultBean.fail("rpc remoting fail, StatusCode(" + statusCode + ") invalid. for url : " + url);
|
||||||
logger.error(e.getMessage(), e);
|
// }
|
||||||
return new ReturnT<String>(ReturnT.FAIL_CODE, "rpc remoting error(" + e.getMessage() + "), for url : " + url);
|
// } catch (Exception e) {
|
||||||
} finally {
|
// logger.error(e.getMessage(), e);
|
||||||
try {
|
// return ResultBean.fail("rpc remoting fail, error message(" + e.getMessage() + ") invalid. for url : " + url);
|
||||||
if (bufferedReader != null) {
|
// } finally {
|
||||||
bufferedReader.close();
|
// try {
|
||||||
}
|
// if (bufferedReader != null) {
|
||||||
if (connection != null) {
|
// bufferedReader.close();
|
||||||
connection.disconnect();
|
// }
|
||||||
}
|
// if (connection != null) {
|
||||||
} catch (Exception e2) {
|
// connection.disconnect();
|
||||||
logger.error(e2.getMessage(), e2);
|
// }
|
||||||
}
|
// } catch (Exception e2) {
|
||||||
}
|
// logger.error(e2.getMessage(), e2);
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
|
//}
|
@ -1,56 +1,56 @@
|
|||||||
package cn.estsh.i3plus.pojo.bsp.common;
|
//package cn.estsh.i3plus.pojo.bsp.common;
|
||||||
|
//
|
||||||
import java.io.Serializable;
|
//import java.io.Serializable;
|
||||||
|
//
|
||||||
/**
|
///**
|
||||||
* @author Castle
|
// * @author Castle
|
||||||
*/
|
// */
|
||||||
public class ReturnT<T> implements Serializable {
|
//public class ReturnT<T> implements Serializable {
|
||||||
public static final long serialVersionUID = 42L;
|
// public static final long serialVersionUID = 42L;
|
||||||
|
//
|
||||||
public static final int SUCCESS_CODE = 200;
|
// public static final int SUCCESS_CODE = 200;
|
||||||
public static final int FAIL_CODE = 500;
|
// public static final int FAIL_CODE = 500;
|
||||||
|
//
|
||||||
public static final ReturnT<String> SUCCESS = new ReturnT<String>(null);
|
// public static final ReturnT<String> SUCCESS = new ReturnT<String>(null);
|
||||||
public static final ReturnT<String> FAIL = new ReturnT<String>(FAIL_CODE, null);
|
// public static final ReturnT<String> FAIL = new ReturnT<String>(FAIL_CODE, null);
|
||||||
|
//
|
||||||
private int code;
|
// private int code;
|
||||||
private String msg;
|
// private String msg;
|
||||||
private T content;
|
// private T content;
|
||||||
|
//
|
||||||
public ReturnT(){}
|
// public ReturnT(){}
|
||||||
public ReturnT(int code, String msg) {
|
// public ReturnT(int code, String msg) {
|
||||||
this.code = code;
|
// this.code = code;
|
||||||
this.msg = msg;
|
// this.msg = msg;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public ReturnT(T content) {
|
// public ReturnT(T content) {
|
||||||
this.code = SUCCESS_CODE;
|
// this.code = SUCCESS_CODE;
|
||||||
this.content = content;
|
// this.content = content;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public int getCode() {
|
// public int getCode() {
|
||||||
return code;
|
// return code;
|
||||||
}
|
// }
|
||||||
public void setCode(int code) {
|
// public void setCode(int code) {
|
||||||
this.code = code;
|
// this.code = code;
|
||||||
}
|
// }
|
||||||
public String getMsg() {
|
// public String getMsg() {
|
||||||
return msg;
|
// return msg;
|
||||||
}
|
// }
|
||||||
public void setMsg(String msg) {
|
// public void setMsg(String msg) {
|
||||||
this.msg = msg;
|
// this.msg = msg;
|
||||||
}
|
// }
|
||||||
public T getContent() {
|
// public T getContent() {
|
||||||
return content;
|
// return content;
|
||||||
}
|
// }
|
||||||
public void setContent(T content) {
|
// public void setContent(T content) {
|
||||||
this.content = content;
|
// this.content = content;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public String toString() {
|
// public String toString() {
|
||||||
return "ReturnT [code=" + code + ", msg=" + msg + ", content=" + content + "]";
|
// return "ReturnT [code=" + code + ", msg=" + msg + ", content=" + content + "]";
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
}
|
//}
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.bsp.server.bean.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :路由参数
|
||||||
|
* @Reference :
|
||||||
|
* @Author : Castle
|
||||||
|
* @CreateDate : 2021/7/5 14:02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@ApiModel("路由参数")
|
||||||
|
public class RouteParam {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "执行方法Id")
|
||||||
|
private Long methodId;
|
||||||
|
@ApiModelProperty(value = "路由的权重配置")
|
||||||
|
private HashMap<String,Integer> weightConfig;
|
||||||
|
@ApiModelProperty(value = "执行器地址列表")
|
||||||
|
private List<String> addressList;
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.bsp.server.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.bsp.client.bean.po.EngineScriptPersistence;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : Castle
|
||||||
|
* @CreateDate : 2021/7/22 13:51
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScriptRepository extends BaseRepository<EngineScriptPersistence,Long> {
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 零件消耗数量模型
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dominic
|
||||||
|
* @CreateDate : 2021/7/1 14:40
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class PartConsumeCountModel {
|
||||||
|
|
||||||
|
@ApiParam("零件号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam("消耗数量")
|
||||||
|
private Integer consumeQty;
|
||||||
|
|
||||||
|
@ApiParam("需求数量")
|
||||||
|
private Integer demandQty;
|
||||||
|
}
|
@ -1,52 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Lob;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/5/20 17:51
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_COMPONENT_PARAM")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@ApiModel("组件参数")
|
|
||||||
public class ScrComponentParam extends BaseBean implements Serializable {
|
|
||||||
private static final long serialVersionUID = -3232417792617757722L;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_TYPE")
|
|
||||||
@ApiModelProperty(value = "组件类型")
|
|
||||||
private String componentType;
|
|
||||||
|
|
||||||
@Column(name = "PARAM_NAME")
|
|
||||||
@ApiModelProperty(value = "参数名")
|
|
||||||
private String paramName;
|
|
||||||
|
|
||||||
@Column(name = "SEARCH_NAME")
|
|
||||||
@ApiModelProperty(value = "搜索名称")
|
|
||||||
private String searchName;
|
|
||||||
|
|
||||||
@Lob
|
|
||||||
@Column(name = "SEARCH_WHERE")
|
|
||||||
@ApiModelProperty(value = "搜索条件")
|
|
||||||
private String searchWhere;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,47 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Lob;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/5/20 17:51
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_COMPONENT_PARAM_DETAIL")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@ApiModel("组件参数配置")
|
|
||||||
public class ScrComponentParamDetail extends BaseBean implements Serializable {
|
|
||||||
private static final long serialVersionUID = 4771034700299839870L;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_CODE")
|
|
||||||
@ApiModelProperty(value = "组件代码")
|
|
||||||
private String componentCode;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_TYPE")
|
|
||||||
@ApiModelProperty(value = "组件类型")
|
|
||||||
private String componentType;
|
|
||||||
|
|
||||||
@Lob
|
|
||||||
@Column(name = "COMPONENT_PARAM_DETAIL")
|
|
||||||
@ApiModelProperty(value = "组件参数信息")
|
|
||||||
private String componentParamDetail;
|
|
||||||
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午5:01
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_LAYOUT_COLUMN")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@ApiModel("布局-父类-列")
|
|
||||||
public class ScrLayoutColumn extends BaseBean implements Serializable {
|
|
||||||
private static final long serialVersionUID = 5001564292608042287L;
|
|
||||||
|
|
||||||
@Column(name = "LAYOUT_CODE")
|
|
||||||
@ApiModelProperty("布局代码")
|
|
||||||
private String layoutCode;
|
|
||||||
|
|
||||||
@Column(name = "ROW_CODE")
|
|
||||||
@ApiModelProperty("列代码")
|
|
||||||
private String rowCode;
|
|
||||||
|
|
||||||
@Column(name = "COLUMN_CODE")
|
|
||||||
@ApiModelProperty("列代码")
|
|
||||||
private String columnCode;
|
|
||||||
|
|
||||||
@Column(name = "COLUMN_SEQ")
|
|
||||||
@ApiModelProperty("列顺序")
|
|
||||||
private Integer columnSeq;
|
|
||||||
|
|
||||||
@Column(name = "COLUMN_SPAN")
|
|
||||||
@ApiModelProperty("列占位")
|
|
||||||
private Integer columnSpan;
|
|
||||||
|
|
||||||
}
|
|
@ -1,51 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午5:01
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_LAYOUT_ROW")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@ApiModel("布局-行")
|
|
||||||
public class ScrLayoutRow extends BaseBean implements Serializable {
|
|
||||||
private static final long serialVersionUID = 6042010183759804616L;
|
|
||||||
|
|
||||||
@Column(name = "LAYOUT_CODE")
|
|
||||||
@ApiModelProperty("布局代码")
|
|
||||||
private String layoutCode;
|
|
||||||
|
|
||||||
@Column(name = "ROW_CODE")
|
|
||||||
@ApiModelProperty("行代码")
|
|
||||||
private String rowCode;
|
|
||||||
|
|
||||||
@Column(name = "ROW_HEIGHT")
|
|
||||||
@ApiModelProperty("行高")
|
|
||||||
private Double rowHeight;
|
|
||||||
|
|
||||||
@Column(name = "ROW_SEQ")
|
|
||||||
@ApiModelProperty("行顺序")
|
|
||||||
private Integer rowSeq;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,64 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.bean.diagram;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/7/2 14:05
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Entity
|
||||||
|
@Table(name = "SCR_LAYOUT_ITEM")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@DynamicUpdate
|
||||||
|
@DynamicInsert
|
||||||
|
@Builder
|
||||||
|
@ApiModel("布局信息")
|
||||||
|
public class ScrLayoutItem extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = -4379591189797358245L;
|
||||||
|
|
||||||
|
@Column(name = "LAYOUT_CODE")
|
||||||
|
@ApiModelProperty("布局代码")
|
||||||
|
private String layoutCode;
|
||||||
|
|
||||||
|
@Column(name = "LAYOUT_ITEM_CODE")
|
||||||
|
@ApiModelProperty("布局单块代码")
|
||||||
|
private String layoutItemCode;
|
||||||
|
|
||||||
|
@Column(name = "HORIZONTAL_COORDINATE")
|
||||||
|
@ApiModelProperty("x轴")
|
||||||
|
private Integer horizontalCoordinate;
|
||||||
|
|
||||||
|
@Column(name = "VERTICAL_COORDINATE")
|
||||||
|
@ApiModelProperty("y轴")
|
||||||
|
private Integer verticalCoordinate;
|
||||||
|
|
||||||
|
@Column(name = "WIDTH")
|
||||||
|
@ApiModelProperty("宽度")
|
||||||
|
private Integer width;
|
||||||
|
|
||||||
|
@Column(name = "HEIGHT")
|
||||||
|
@ApiModelProperty("高度")
|
||||||
|
private Integer height;
|
||||||
|
|
||||||
|
@Column(name = "IS_STATIC")
|
||||||
|
@ApiModelProperty("是否静态固定")
|
||||||
|
private Integer isStatic;
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.bean.diagram;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/22 下午7:50
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Entity
|
||||||
|
@Table(name = "SCR_PANEL_COMPONENT")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@DynamicUpdate
|
||||||
|
@DynamicInsert
|
||||||
|
@Builder
|
||||||
|
@ApiModel("panel与组件的关系")
|
||||||
|
public class ScrPanelComponent extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = -9070313428476817410L;
|
||||||
|
|
||||||
|
@Column(name = "PANEL_CODE")
|
||||||
|
@ApiModelProperty("Panel代码")
|
||||||
|
private String panelCode;
|
||||||
|
|
||||||
|
@Column(name = "LAYOUT_CODE")
|
||||||
|
@ApiModelProperty("布局代码")
|
||||||
|
private String layoutCode;
|
||||||
|
|
||||||
|
@Column(name = "LAYOUT_ITEM_CODE")
|
||||||
|
@ApiModelProperty("布局单元代码")
|
||||||
|
private String layoutItemCode;
|
||||||
|
|
||||||
|
@Column(name = "COMPONENT_CODE")
|
||||||
|
@ApiModelProperty("组件代码")
|
||||||
|
private String componentCode;
|
||||||
|
|
||||||
|
@Column(name = "SEQ")
|
||||||
|
@ApiModelProperty("组件顺序")
|
||||||
|
private Integer seq;
|
||||||
|
|
||||||
|
}
|
@ -1,39 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean.relation;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/25 上午9:56
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_COMPONENT_EVENT_ACTION")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@ApiModel("组件事件动作")
|
|
||||||
public class ScrComponentEventAction extends BaseBean {
|
|
||||||
private static final long serialVersionUID = 7600064730551351570L;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_CODE")
|
|
||||||
@ApiModelProperty("组件代码")
|
|
||||||
private String componentCode;
|
|
||||||
|
|
||||||
@Column(name = "EVENT_ACTION_CODE")
|
|
||||||
@ApiModelProperty("事件动作代码")
|
|
||||||
private String eventActionCode;
|
|
||||||
}
|
|
@ -1,98 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean.relation;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/22 下午8:42
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_COMPONENT_MODEL_FIELD")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@ApiModel("Panel与Model字段的关系")
|
|
||||||
public class ScrComponentModelField extends BaseBean implements Serializable {
|
|
||||||
private static final long serialVersionUID = -3441031841089357196L;
|
|
||||||
|
|
||||||
@Column(name = "PANEL_CODE")
|
|
||||||
@ApiModelProperty("Panel代码")
|
|
||||||
private String panelCode;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_CODE")
|
|
||||||
@ApiModelProperty("组件代码")
|
|
||||||
private String componentCode;
|
|
||||||
|
|
||||||
@Column(name = "MODEL_CODE")
|
|
||||||
@ApiModelProperty("model代码")
|
|
||||||
private String modelCode;
|
|
||||||
|
|
||||||
@Column(name = "FIELD_CODE")
|
|
||||||
@ApiModelProperty("字段代码")
|
|
||||||
private String fieldCode;
|
|
||||||
|
|
||||||
@Column(name = "DISPLAY_NAME")
|
|
||||||
@ApiModelProperty("字段名称")
|
|
||||||
private String displayName;
|
|
||||||
|
|
||||||
@Column(name = "IS_FUZZY_SEARCH")
|
|
||||||
@ApiModelProperty("是否支持模糊查询")
|
|
||||||
private Boolean isFuzzySearch;
|
|
||||||
|
|
||||||
@Column(name = "IS_SHOW_IN_NEW")
|
|
||||||
@ApiModelProperty("是否在新增时展示")
|
|
||||||
private Boolean isShowInNew;
|
|
||||||
|
|
||||||
@Column(name = "IS_SHOW_IN_EDIT")
|
|
||||||
@ApiModelProperty("是否在编辑时展示")
|
|
||||||
private Boolean isShowInEdit;
|
|
||||||
|
|
||||||
@Column(name = "IS_ALLOW_SORT")
|
|
||||||
@ApiModelProperty("是否支持排序")
|
|
||||||
private Boolean isAllowSort;
|
|
||||||
|
|
||||||
@Column(name = "FORM_SEQ")
|
|
||||||
@ApiModelProperty("表单顺序")
|
|
||||||
private Integer formSeq;
|
|
||||||
|
|
||||||
@Column(name = "TABLE_SEQ")
|
|
||||||
@ApiModelProperty("表格顺序")
|
|
||||||
private Integer tableSeq;
|
|
||||||
|
|
||||||
@Column(name = "VALIDATION")
|
|
||||||
@ApiModelProperty("校验")
|
|
||||||
private String validation;
|
|
||||||
|
|
||||||
@Column(name = "DICTIONARY")
|
|
||||||
@ApiModelProperty("字典")
|
|
||||||
private String dictionary;
|
|
||||||
|
|
||||||
@Column(name = "IS_VIRTUAL")
|
|
||||||
@ApiModelProperty("是否是虚拟的")
|
|
||||||
private boolean isVirtual;
|
|
||||||
|
|
||||||
@Column(name = "FIELD_NAME")
|
|
||||||
@ApiModelProperty("字段名称")
|
|
||||||
private String fieldName;
|
|
||||||
|
|
||||||
@Column(name = "SPEL_VIRTUAL_VALUE")
|
|
||||||
@ApiModelProperty("SPEL表达式虚拟属性")
|
|
||||||
private String spelVirtualValue;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean.relation;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Index;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import javax.persistence.UniqueConstraint;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/25 下午4:33
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_PANEL_COMPONENT",
|
|
||||||
// indexes = {
|
|
||||||
// @Index(columnList = "PANEL_CODE")},
|
|
||||||
uniqueConstraints = {
|
|
||||||
@UniqueConstraint(columnNames = {"PANEL_CODE", "LAYOUT_CODE"})
|
|
||||||
}
|
|
||||||
)
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@ApiModel("Panel与组件的关系")
|
|
||||||
public class ScrPanelComponent extends BaseBean {
|
|
||||||
private static final long serialVersionUID = 3459027655126916483L;
|
|
||||||
|
|
||||||
@Column(name = "PANEL_CODE")
|
|
||||||
@ApiModelProperty("panel代码")
|
|
||||||
private String panelCode;
|
|
||||||
|
|
||||||
@Column(name = "LAYOUT_CODE")
|
|
||||||
@ApiModelProperty("布局代码")
|
|
||||||
private String layoutCode;
|
|
||||||
|
|
||||||
@Column(name = "ROW_CODE")
|
|
||||||
@ApiModelProperty("行代码")
|
|
||||||
private String rowCode;
|
|
||||||
|
|
||||||
@Column(name = "COLUMN_CODE")
|
|
||||||
@ApiModelProperty("列代码")
|
|
||||||
private String columnCode;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_CODE")
|
|
||||||
@ApiModelProperty(value = "组件代码")
|
|
||||||
private String componentCode;
|
|
||||||
}
|
|
@ -0,0 +1,33 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/6/29 21:54
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@ApiModel("类信息")
|
||||||
|
public class ScrClassInfoModel {
|
||||||
|
|
||||||
|
private String classSimpleName;
|
||||||
|
|
||||||
|
private String classDescription;
|
||||||
|
|
||||||
|
private Class<?> clazz;
|
||||||
|
|
||||||
|
public ScrClassInfoModel(Class<?> clazz) {
|
||||||
|
this.clazz = clazz;
|
||||||
|
|
||||||
|
this.classSimpleName = clazz.getSimpleName();
|
||||||
|
|
||||||
|
ApiModel apiModel = clazz.getAnnotation(ApiModel.class);
|
||||||
|
if (apiModel != null) {
|
||||||
|
this.classDescription = apiModel.value();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/7/7 16:15
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@ApiModel("通用界面回显model")
|
||||||
|
public class ScrDisplayModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = 5679787673783301941L;
|
||||||
|
|
||||||
|
@ApiModelProperty("页面与容器的关系")
|
||||||
|
private ScrScreenPanelModel screenPanelModel;
|
||||||
|
|
||||||
|
@ApiModelProperty("容器与组件的关系")
|
||||||
|
private List<ScrPanelComponentModel> panelComponentModels;
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/6/29 17:18
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@ApiModel("通用界面内部消息队列处理消息")
|
||||||
|
public class ScrInnerMessageModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = -6049477827975249515L;
|
||||||
|
|
||||||
|
@ApiModelProperty("消息类型")
|
||||||
|
private Integer messageType;
|
||||||
|
|
||||||
|
@ApiModelProperty("信息")
|
||||||
|
private String payload;
|
||||||
|
|
||||||
|
@ApiModelProperty
|
||||||
|
private Integer operation;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -1,46 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrModelField;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/28 上午12:42
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
@ApiModel("Panel与组件关系的创建model")
|
|
||||||
public class ScrPanelComponentCreateModel implements Serializable {
|
|
||||||
private static final long serialVersionUID = -5832175256726333348L;
|
|
||||||
|
|
||||||
@ApiModelProperty("panel代码")
|
|
||||||
private String panelCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("布局代码")
|
|
||||||
private String layoutCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("行序号")
|
|
||||||
private Integer rowSeq;
|
|
||||||
|
|
||||||
@ApiModelProperty("列序号")
|
|
||||||
private Integer columnSeq;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件参数信息")
|
|
||||||
private Map<String, Object> baseComponent;
|
|
||||||
|
|
||||||
@ApiModelProperty("model代码")
|
|
||||||
private String modelCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("该组件的事件动作集合")
|
|
||||||
private List<String> eventActions;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件使用到的model字段集合")
|
|
||||||
private List<ScrModelField> modelFields;
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,39 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrComponent;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayout;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayoutItem;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrPanel;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.LinkedHashMap;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/28 上午12:42
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@ApiModel("Panel与组件关系的创建model")
|
||||||
|
public class ScrPanelComponentModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = -5832175256726333348L;
|
||||||
|
|
||||||
|
@ApiModelProperty("panel")
|
||||||
|
private ScrPanel panel;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局")
|
||||||
|
private ScrLayout layout;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局单元")
|
||||||
|
private List<ScrLayoutItem> layoutItems;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局单元与组件集合的对应map")
|
||||||
|
private LinkedHashMap<String, List<ScrComponent>> componentsMap;
|
||||||
|
|
||||||
|
}
|
@ -1,38 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrComponent;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.relation.ScrComponentModelField;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/28 上午12:42
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
@ApiModel("Panel和组件的查询model")
|
|
||||||
public class ScrPanelComponentQueryModel implements Serializable {
|
|
||||||
private static final long serialVersionUID = 4133777603151273736L;
|
|
||||||
|
|
||||||
@ApiModelProperty("行代码")
|
|
||||||
private String rowCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("列代码")
|
|
||||||
private String columnCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件")
|
|
||||||
private ScrComponent component;
|
|
||||||
|
|
||||||
@ApiModelProperty("动作事件")
|
|
||||||
private ScrEventAction eventAction;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件与model字段的关系")
|
|
||||||
private List<ScrComponentModelField> modelFields;
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,32 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayout;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayoutItem;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrPanel;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/27 下午6:10
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("容器布局model")
|
||||||
|
public class ScrPanelLayoutModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = 3311398396212346985L;
|
||||||
|
|
||||||
|
@ApiModelProperty("panel")
|
||||||
|
private ScrPanel panel;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局")
|
||||||
|
private ScrLayout layout;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局中的单元关系")
|
||||||
|
private List<ScrLayoutItem> layoutItems;
|
||||||
|
|
||||||
|
}
|
@ -1,27 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutColumn;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutRow;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/27 下午8:35
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
@ApiModel("行列Model")
|
|
||||||
public class ScrRowColumnModel implements Serializable {
|
|
||||||
private static final long serialVersionUID = 7450630220924238356L;
|
|
||||||
|
|
||||||
@ApiModelProperty("行")
|
|
||||||
private ScrLayoutRow row;
|
|
||||||
|
|
||||||
@ApiModelProperty("行中的列")
|
|
||||||
private List<ScrLayoutColumn> columns;
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model;
|
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/28 上午12:42
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
@ApiModel("Screen与Panel的创建Model")
|
|
||||||
public class ScrScreenPanelCreateModel implements Serializable {
|
|
||||||
private static final long serialVersionUID = -5832175256726333348L;
|
|
||||||
|
|
||||||
@ApiModelProperty("screen代码")
|
|
||||||
private String screenCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("布局代码")
|
|
||||||
private String layoutCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("行代码")
|
|
||||||
private String rowCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("列代码")
|
|
||||||
private String columnCode;
|
|
||||||
|
|
||||||
@ApiModelProperty("panel代码")
|
|
||||||
private String panelCode;
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,44 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayout;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayoutItem;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrPanel;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrScreen;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.LinkedHashMap;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/28 上午12:42
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@ApiModel("Screen与Panel的创建Model")
|
||||||
|
public class ScrScreenPanelModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = -5832175256726333348L;
|
||||||
|
|
||||||
|
@ApiModelProperty("页面")
|
||||||
|
private ScrScreen screen;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局")
|
||||||
|
private ScrLayout layout;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局单元")
|
||||||
|
private List<ScrLayoutItem> layoutItems;
|
||||||
|
|
||||||
|
@ApiModelProperty("布局单元与容器")
|
||||||
|
private LinkedHashMap<String, ScrPanel> panelsMap;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -1,15 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutColumn;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description :
|
|
||||||
* @Reference :
|
|
||||||
* @Author : wei.peng
|
|
||||||
* @CreateDate : 20-5-28 下午3:39
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
public interface ScrLayoutColumnRepository extends BaseRepository<ScrLayoutColumn, Long> {
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutRow;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description :
|
|
||||||
* @Reference :
|
|
||||||
* @Author : wei.peng
|
|
||||||
* @CreateDate : 20-5-28 下午3:39
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
public interface ScrLayoutRowRepository extends BaseRepository<ScrLayoutRow, Long> {
|
|
||||||
}
|
|
@ -1,7 +1,7 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository;
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrComponent;
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description :
|
* @Description :
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayoutItem;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrLayoutItemRepository extends BaseRepository<ScrLayoutItem, Long> {
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository;
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrLayout;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description :
|
* @Description :
|
@ -1,7 +1,7 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository.rel;
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.relation.ScrPanelComponent;
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrPanelComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description :
|
* @Description :
|
@ -1,8 +1,7 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository;
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrAction;
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrPanel;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrPanel;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description :
|
* @Description :
|
@ -1,7 +1,7 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository.rel;
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.relation.ScrScreenPanel;
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrScreenPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description :
|
* @Description :
|
@ -1,7 +1,7 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository;
|
package cn.estsh.i3plus.pojo.screen.repository.diagram;
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrScreen;
|
import cn.estsh.i3plus.pojo.screen.bean.diagram.ScrScreen;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description :
|
* @Description :
|
@ -1,14 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository.rel;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.relation.ScrComponentEventAction;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description :
|
|
||||||
* @Reference :
|
|
||||||
* @Author : wei.peng
|
|
||||||
* @CreateDate : 20-5-28 下午3:39
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
public interface ScrComponentEventActionRepository extends BaseRepository<ScrComponentEventAction, Long> {
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.repository.rel;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.relation.ScrComponentModelField;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description :
|
|
||||||
* @Reference :
|
|
||||||
* @Author : wei.peng
|
|
||||||
* @CreateDate : 20-5-28 下午3:39
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
public interface ScrComponentModelFieldRepository extends BaseRepository<ScrComponentModelField, Long> {
|
|
||||||
}
|
|
@ -0,0 +1,67 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : WmsECartOrderNoBuild
|
||||||
|
* @Author :gsz
|
||||||
|
* @Date 2021/7/5 19:06
|
||||||
|
* @Modify
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@Table(name="WMS_ECARD_ORDERNO_BUILD")
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Inheritance(strategy = InheritanceType.JOINED)
|
||||||
|
@Api(value="南非看板订单号",description = "南非看板订单号")
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class WmsECartOrderNoBuild extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 7332606009041273554L;
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam(value = "物料代码")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "CREATE_DATE")
|
||||||
|
@ApiParam(value = "创建日期")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String createDate;
|
||||||
|
|
||||||
|
@Column(name = "SERIAL_NO")
|
||||||
|
@ApiParam(value = "序列号")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER)
|
||||||
|
private Integer serialNo;
|
||||||
|
|
||||||
|
@Column(name = "DEST_LOCATE_NO")
|
||||||
|
@ApiParam(value = "目标库位")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String destLocateNo;
|
||||||
|
|
||||||
|
@Column(name = "SRC_ZONE_NO")
|
||||||
|
@ApiParam(value = "源存储区")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String srcZoneNo;
|
||||||
|
|
||||||
|
public WmsECartOrderNoBuild(String partNo, String createDate, Integer serialNo, String destLocateNo, String srcZoneNo) {
|
||||||
|
this.partNo = partNo;
|
||||||
|
this.createDate = createDate;
|
||||||
|
this.serialNo = serialNo;
|
||||||
|
this.destLocateNo = destLocateNo;
|
||||||
|
this.srcZoneNo = srcZoneNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,67 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Index;
|
||||||
|
import javax.persistence.Inheritance;
|
||||||
|
import javax.persistence.InheritanceType;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
/**
|
||||||
|
* @Description : ERP fgDetail表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : junsheng.li
|
||||||
|
* @CreateDate 2021/7/5 9:31
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Inheritance(strategy = InheritanceType.JOINED)
|
||||||
|
@Table(name = "WMS_ERP_FG_DETAILS_SNAPSHOT", indexes = {@Index(columnList = "PART_NO"), @Index(columnList = "AREA_NO"), @Index(columnList = "ORGANIZE_CODE"), @Index(columnList = "SNAPSHOT_TIME")})
|
||||||
|
public class WmsErpFgDetailsSnapshot extends BaseBean {
|
||||||
|
private static final long serialVersionUID = -4095444692227226944L;
|
||||||
|
|
||||||
|
@Column(name = "SNAPSHOT_TIME")
|
||||||
|
@ApiParam("快照时间")
|
||||||
|
public String snapshotTime;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("零件号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "AREA_NO")
|
||||||
|
@ApiParam("库存地点")
|
||||||
|
private String areaNo;
|
||||||
|
|
||||||
|
@Column(name = "QTY")
|
||||||
|
@ApiParam("数量")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
@Column(name = "UNIT")
|
||||||
|
@ApiParam("单位")
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
@Column(name = "ITEM_PART_NO")
|
||||||
|
@ApiParam("子零件号")
|
||||||
|
private String itemPartNo;
|
||||||
|
|
||||||
|
@Column(name = "VIN_CODE")
|
||||||
|
@ApiParam("vin号")
|
||||||
|
private String vinCode;
|
||||||
|
|
||||||
|
@Column(name = "ITEM_PART_QTY")
|
||||||
|
@ApiParam("子零件数量")
|
||||||
|
private Double itemPartQty;
|
||||||
|
|
||||||
|
@ApiParam("存储区")
|
||||||
|
private String zoneNo;
|
||||||
|
}
|
@ -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.snapshot.erp.WmsErpFgDetailsSnapshot;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 库存信息快照
|
||||||
|
* @Reference :
|
||||||
|
* @author: amy.liu
|
||||||
|
* @date: 2019/9/19 14:22
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface IWmsErpFgDetailsRepository extends BaseRepository<WmsErpFgDetailsSnapshot,Long> {
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsECartOrderNoBuild;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : WmsECartOrderNoBuildRepository
|
||||||
|
* @Author :gsz
|
||||||
|
* @Date 2021/7/6 9:56
|
||||||
|
* @Modify
|
||||||
|
**/
|
||||||
|
public interface WmsECartOrderNoBuildRepository extends BaseRepository<WmsECartOrderNoBuild, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue