Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
de0d57179c
@ -0,0 +1,50 @@
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:11
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK")
|
||||
@Api("监听任务")
|
||||
public class MesMonitorTask extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "TASK_NAME")
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Column(name = "TASK_OBJECT_TYPE")
|
||||
@ApiParam("任务对象类型")
|
||||
private Integer taskObjectType;
|
||||
|
||||
@Column(name = "TASK_STATUS")
|
||||
@ApiParam("任务状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
@Column(name = "TASK_EXCEPTION_DESC")
|
||||
@ApiParam("异常描述")
|
||||
private String taskExceptionDesc;
|
||||
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:19
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK_DETAIL")
|
||||
@Api("监听任务明细")
|
||||
public class MesMonitorTaskDetail extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "DATA_OBJECT_NO")
|
||||
@ApiParam("数据对象编号")
|
||||
private String dataObjectNo;
|
||||
|
||||
// @Column(name = "STORE_OBJECT_CODE")
|
||||
// @ApiParam("存储对象代码")
|
||||
// private String storeObjectCode;
|
||||
//
|
||||
// @Column(name = "STORE_FIELD_CODE")
|
||||
// @ApiParam("存储字段代码")
|
||||
// private String storeFieldCode;
|
||||
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/10 0010 - 15:28
|
||||
*/
|
||||
@Data
|
||||
@Api("数据采集Model")
|
||||
public class DataAcquisitionModel {
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@ApiParam("对象名称")
|
||||
private String objectName;
|
||||
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@ApiParam("字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@ApiParam("字段值")
|
||||
private String fieldValue;
|
||||
//
|
||||
// @ApiParam("组号")
|
||||
// private String groupNo;
|
||||
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesQcCheckStandard;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2020\1\13 17:23
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class QcCheckStandardModel {
|
||||
|
||||
private Long id;
|
||||
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@ApiParam("检测项")
|
||||
private String checkItem;
|
||||
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@ApiParam("检测指导")
|
||||
private String checkGuide;
|
||||
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("检测结果")
|
||||
private String checkResult;
|
||||
|
||||
@ApiParam("检测值")
|
||||
private String checkValue;
|
||||
|
||||
@ApiParam("检测项类型")
|
||||
private String checkItemType;
|
||||
|
||||
@ApiParam("检测项类型名称")
|
||||
private String checkItemTypeName;
|
||||
|
||||
private List<MesQcCheckStandard> childQcList;
|
||||
|
||||
public QcCheckStandardModel() {
|
||||
}
|
||||
|
||||
public QcCheckStandardModel(Long id, String partNo, String workCenterCode, String workCellCode, Integer checkType, String checkItem, String checkStandard
|
||||
, String checkGuide, String checkFrequency, String partName, String checkItemType, String checkItemTypeName) {
|
||||
this.id = id;
|
||||
this.partNo = partNo;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.workCellCode = workCellCode;
|
||||
this.checkType = checkType;
|
||||
this.checkItem = checkItem;
|
||||
this.checkStandard = checkStandard;
|
||||
this.checkGuide = checkGuide;
|
||||
this.checkFrequency = checkFrequency;
|
||||
this.partName = partName;
|
||||
this.checkItemType = checkItemType;
|
||||
this.checkItemTypeName = checkItemTypeName;
|
||||
}
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@Data
|
||||
@Api("工步返回信息")
|
||||
public class StepResult<T> {
|
||||
|
||||
private boolean isCompleted;
|
||||
|
||||
private T data;
|
||||
|
||||
private Collection<T> dataCollection;
|
||||
|
||||
private String msg;
|
||||
|
||||
public static StepResult getSuccessComplete() {
|
||||
return new StepResult(true);
|
||||
}
|
||||
|
||||
public static StepResult getNonComplete() {
|
||||
return new StepResult(false);
|
||||
}
|
||||
|
||||
public static StepResult getSuccessComplete(String msg) {
|
||||
return new StepResult(true, msg);
|
||||
}
|
||||
|
||||
public static StepResult getNonComplete(String msg) {
|
||||
return new StepResult(false, msg);
|
||||
}
|
||||
|
||||
public static <T> StepResult<T> getSuccessData(T data, String msg) {
|
||||
return new StepResult<>(true, data, msg);
|
||||
}
|
||||
|
||||
public static <T> StepResult<T> getSuccessData(Collection<T> data, String msg) {
|
||||
return new StepResult<T>(true, data, msg);
|
||||
}
|
||||
|
||||
private StepResult() {
|
||||
}
|
||||
|
||||
private StepResult(boolean isCompleted) {
|
||||
this.isCompleted = isCompleted;
|
||||
}
|
||||
|
||||
private StepResult(boolean isCompleted, String msg) {
|
||||
this.isCompleted = isCompleted;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public StepResult(boolean isCompleted, T data, String msg) {
|
||||
this.isCompleted = isCompleted;
|
||||
this.data = data;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public StepResult(boolean isCompleted, Collection<T> dataCollection, String msg) {
|
||||
this.isCompleted = isCompleted;
|
||||
this.dataCollection = dataCollection;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
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.MesMonitorTaskDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:42
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskDetailRepository extends BaseRepository<MesMonitorTaskDetail, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
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.MesMonitorTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:43
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskRepository extends BaseRepository<MesMonitorTask,Long> {
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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 : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:11
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK")
|
||||
@Api("监听任务")
|
||||
public class MesMonitorTask extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "TASK_NAME")
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Column(name = "TASK_OBJECT_TYPE")
|
||||
@ApiParam("任务对象类型")
|
||||
private Integer taskObjectType;
|
||||
|
||||
@Column(name = "TASK_STATUS")
|
||||
@ApiParam("任务状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
@Column(name = "TASK_EXCEPTION_DESC")
|
||||
@ApiParam("异常描述")
|
||||
private String taskExceptionDesc;
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:19
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK_DETAIL")
|
||||
@Api("监听任务明细")
|
||||
public class MesMonitorTaskDetail extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "DATA_OBJECT_NO")
|
||||
@ApiParam("数据对象编号")
|
||||
private String dataObjectNo;
|
||||
|
||||
// @Column(name = "STORE_OBJECT_CODE")
|
||||
// @ApiParam("存储对象代码")
|
||||
// private String storeObjectCode;
|
||||
//
|
||||
// @Column(name = "STORE_FIELD_CODE")
|
||||
// @ApiParam("存储字段代码")
|
||||
// private String storeFieldCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesMonitorTaskDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:42
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskDetailRepository extends BaseRepository<MesMonitorTaskDetail, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesMonitorTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:43
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskRepository extends BaseRepository<MesMonitorTask,Long> {
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : WMS列表搜索model
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 14:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class WmsSearchGroupModel {
|
||||
|
||||
@ApiParam(value = "组列表")
|
||||
private List<WmsSearchElementModel> searchElementModelList;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>i3plus-pojo</artifactId>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<version>1.0-DEV-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-ptl-pcn</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
|
||||
|
||||
</project>
|
@ -0,0 +1,71 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.pcn.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 : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="PTL_PCN_TEST_USER")
|
||||
@Api(value="PTL PCN 测试用户",description = "测试用户")
|
||||
public class PpTestUser extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -8985367251249816850L;
|
||||
@Column(name="USER_INFO_ID")
|
||||
@ApiParam(value ="人员ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userInfoId;
|
||||
|
||||
@Column(name="LANGUAGE_CODE")
|
||||
@ApiParam(value ="用户语言")
|
||||
private String languageCode;
|
||||
|
||||
@Column(name="USER_NAME_RDD")
|
||||
@ApiParam(value ="用户名称" , access ="账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name="USER_LOGIN_NAME")
|
||||
@ApiParam(value ="登陆名称" , access ="登陆名称")
|
||||
private String userLoginName;
|
||||
|
||||
@Column(name="USER_EMP_NO")
|
||||
@ApiParam(value ="工号")
|
||||
private String userEmpNo;
|
||||
|
||||
@Column(name="USER_LOGIN_PASSWORD")
|
||||
@ApiParam(value ="登陆密码")
|
||||
private String userLoginPassword;
|
||||
|
||||
@Column(name="USER_TYPE")
|
||||
@ApiParam(value ="账号类型(枚举,待定)" , example ="-1")
|
||||
private Integer userType;
|
||||
|
||||
@Column(name="USER_EMAIL")
|
||||
@ApiParam(value ="邮箱" , access ="邮箱")
|
||||
private String userEmail;
|
||||
|
||||
@Column(name="USER_PHONE")
|
||||
@ApiParam(value ="手机号" , access ="手机号")
|
||||
private String userPhone;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:19
|
||||
* @Modify:
|
||||
**/
|
||||
package cn.estsh.i3plus.pojo.ptl.pcn;
|
||||
|
||||
/**
|
||||
* Bean对象包说明 cn.estsh.i3plus.pojo.ptl.pcn.bean
|
||||
* 创建Bean Pp 开头
|
||||
* Bean 必须实现序列号ID (未实现会造成序列化问题)
|
||||
*/
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.pcn.bean.PpTestUser;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:18
|
||||
* @Modify:
|
||||
**/
|
||||
public interface PpTestUserRepository extends BaseRepository<PpTestUser, Long> {
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>i3plus-pojo</artifactId>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<version>1.0-DEV-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-ptl</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.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 : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="PTL_TEST_USER")
|
||||
@Api(value="PTL 测试用户",description = "测试用户")
|
||||
public class PtlTestUser extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -130240511327784335L;
|
||||
|
||||
|
||||
@Column(name="USER_INFO_ID")
|
||||
@ApiParam(value ="人员ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userInfoId;
|
||||
|
||||
@Column(name="LANGUAGE_CODE")
|
||||
@ApiParam(value ="用户语言")
|
||||
private String languageCode;
|
||||
|
||||
@Column(name="USER_NAME_RDD")
|
||||
@ApiParam(value ="用户名称" , access ="账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name="USER_LOGIN_NAME")
|
||||
@ApiParam(value ="登陆名称" , access ="登陆名称")
|
||||
private String userLoginName;
|
||||
|
||||
@Column(name="USER_EMP_NO")
|
||||
@ApiParam(value ="工号")
|
||||
private String userEmpNo;
|
||||
|
||||
@Column(name="USER_LOGIN_PASSWORD")
|
||||
@ApiParam(value ="登陆密码")
|
||||
private String userLoginPassword;
|
||||
|
||||
@Column(name="USER_TYPE")
|
||||
@ApiParam(value ="账号类型(枚举,待定)" , example ="-1")
|
||||
private Integer userType;
|
||||
|
||||
@Column(name="USER_EMAIL")
|
||||
@ApiParam(value ="邮箱" , access ="邮箱")
|
||||
private String userEmail;
|
||||
|
||||
@Column(name="USER_PHONE")
|
||||
@ApiParam(value ="手机号" , access ="手机号")
|
||||
private String userPhone;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:19
|
||||
* @Modify:
|
||||
**/
|
||||
package cn.estsh.i3plus.pojo.ptl;
|
||||
|
||||
/**
|
||||
* Bean对象包说明 cn.estsh.i3plus.pojo.ptl.bean
|
||||
* 创建Bean 以Ptl 开头
|
||||
* Bean 必须实现序列号ID (未实现会造成序列化问题)
|
||||
*/
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlTestUser;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-1-10 下午5:18
|
||||
* @Modify:
|
||||
**/
|
||||
public interface PtlTestUserRepository extends BaseRepository<PtlTestUser, Long> {
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.annotation.FieldAnnotation;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import org.hibernate.annotations.GenericGenerator;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 零件包装主数据信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 14:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name="QAD_ITEM_PACKING")
|
||||
@Api("零件包装主数据信息")
|
||||
public class QadItemPacking implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -9204074690166851001L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name="ID")
|
||||
@ApiParam(value = "主键",example = "0")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
||||
public Long id;
|
||||
|
||||
//get单独处理
|
||||
public Long getId() {
|
||||
if(id != null) {
|
||||
return id.longValue();
|
||||
}else{
|
||||
return id;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* MonogoDB _id映射
|
||||
* @param id
|
||||
*/
|
||||
@JSONField(name="_id")
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Column(name="IN_ADDR")
|
||||
@ApiParam("收货时是供应商编号,发运时是客户发往地")
|
||||
public String inAddr;
|
||||
|
||||
@Column(name="IN_BOP_CODE")
|
||||
@ApiParam("BOP编号")
|
||||
public String inBopCode;
|
||||
|
||||
@Column(name="IN_DOMAIN")
|
||||
@ApiParam("所属Domain")
|
||||
public String inDomain;
|
||||
|
||||
@Column(name="IN_PART")
|
||||
@ApiParam("物料代码")
|
||||
public String inPart;
|
||||
|
||||
@Column(name="IN_SITE")
|
||||
@ApiParam("工厂代码")
|
||||
public String inSite;
|
||||
|
||||
@Column(name="IN_TRANS_TYPE")
|
||||
@ApiParam("交易类型")
|
||||
public String inTransType;
|
||||
|
||||
@Column(name="CREATE_DATE_TIME")
|
||||
@ApiParam("创建时间")
|
||||
public String createDateTime;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.QadBop;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 15:06
|
||||
* @Modify:
|
||||
**/
|
||||
public interface QadBopRepository extends BaseRepository<QadBop, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.QadItemPacking;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 15:06
|
||||
* @Modify:
|
||||
**/
|
||||
public interface QadItemPackingRepository extends BaseRepository<QadItemPacking, Long> {
|
||||
}
|
Loading…
Reference in New Issue