冲突解决
commit
f9fa5814f6
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
|
||||
/**
|
||||
* @Description : 人员model
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2018-10-11 11:02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("用户信息model")
|
||||
public class AndonUserModel extends BaseBean {
|
||||
|
||||
@ApiParam(value ="部门名称")
|
||||
private String departmentNameRdd;
|
||||
|
||||
@ApiParam(value ="用户名称" , access ="账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name="USER_LOGIN_NAME")
|
||||
@ApiParam(value ="员工编号")
|
||||
private String userEmpNo;
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
<?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-PROD-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-base-mongo</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-platform</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
@ -0,0 +1,47 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :配置表
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-06-04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_STATUS")
|
||||
@Api("工位运行状态")
|
||||
public class MesWorkCellStatus extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 102975351699481524L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "TIME_OUT_STATUS")
|
||||
@ApiParam("超时状态")
|
||||
private Integer timeOutStatus;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
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.MesWorkCellStatus;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\15 11:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellStatusRepository extends BaseRepository<MesWorkCellStatus, Long> {
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :设备运行履历表
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQUIPMENT_TRAVEL")
|
||||
@Api("设备运行履历表")
|
||||
public class MesEquipmentTravel extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -419342647505833190L;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("设备状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "EQUIPMENT_TYPE")
|
||||
@ApiParam("设备类型")
|
||||
private Integer equipmentType;
|
||||
|
||||
@Column(name = "EQUIPMENT_CATEGORY")
|
||||
@ApiParam("设备类别")
|
||||
private String equipmentCategory;
|
||||
|
||||
@Column(name = "EQUIPMENT_MODEL")
|
||||
@ApiParam("型号")
|
||||
private String equipmentModel;
|
||||
|
||||
@Column(name = "EQUIPMENT_SPEC")
|
||||
@ApiParam("规格")
|
||||
private String equipmentSpec;
|
||||
|
||||
@Column(name = "EQUIPMENT_MAKER")
|
||||
@ApiParam("制造商")
|
||||
private String equipmentMaker;
|
||||
|
||||
@Column(name = "RELEASE_DATE")
|
||||
@ApiParam("出厂日期")
|
||||
private String releaseDate;
|
||||
|
||||
@Column(name = "RECEIVE_DATE")
|
||||
@ApiParam("接收日期")
|
||||
private String receiveDate;
|
||||
|
||||
@Column(name = "ENABLE_DATE")
|
||||
@ApiParam("启用日期")
|
||||
private String enableDate;
|
||||
|
||||
@Column(name = "CONNECT_TYPE")
|
||||
@ApiParam("连接类型")
|
||||
private Integer connectType;
|
||||
|
||||
@Column(name = "CHECK_MODEL")
|
||||
@ApiParam("作业校验模式")
|
||||
private Integer checkModel;
|
||||
|
||||
@Column(name = "STATUS_START_TIME")
|
||||
@ApiParam("状态开始时间")
|
||||
private String statusStartTime;
|
||||
|
||||
@Column(name = "STATUS_END_TIME")
|
||||
@ApiParam("状态结束时间")
|
||||
private String statusEndTime;
|
||||
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES_库位信息
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_LOCATION")
|
||||
@Api("MES_库位信息")
|
||||
public class MesLocation extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -896118285166769048L;
|
||||
@Column(name = "LOCATION_CODE")
|
||||
@ApiParam("库位代码")
|
||||
private String locationCode;
|
||||
|
||||
@Column(name = "LOCATION_NAME")
|
||||
@ApiParam("库位名称")
|
||||
private String locationName;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty = 0d;
|
||||
|
||||
@Column(name = "MAX_QTY")
|
||||
@ApiParam("最大存储量")
|
||||
private Integer maxQty = 0;
|
||||
|
||||
@Transient
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
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 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;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "MES_LOG")
|
||||
@Api("MES_日志表")
|
||||
public class MesLog extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4089347882308864216L;
|
||||
|
||||
@Column(name = "METHOD_NAME")
|
||||
@ApiParam(value = "方法名")
|
||||
private String methodName;
|
||||
|
||||
@Column(name = "LOG")
|
||||
@ApiParam(value = "日志")
|
||||
private String log;
|
||||
|
||||
@Column(name = "RESULT")
|
||||
@ApiParam(value = "更新结果")
|
||||
private String result;
|
||||
}
|
@ -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;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/21 1:45 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WC_CURRENT_STATUS")
|
||||
@Api("工位实时状态表")
|
||||
public class MesWcCurrentStatus extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4224360275760211780L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("当前VIN号")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "LAST_VIN_CODE")
|
||||
@ApiParam("上一VIN号")
|
||||
private String lastVinCode;
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
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 java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :配置表
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-06-04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_STATUS")
|
||||
@Api("工位运行状态")
|
||||
public class MesWorkCellStatus extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 102975351699481524L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "TIME_OUT_STATUS")
|
||||
@ApiParam("超时状态")
|
||||
private Integer timeOutStatus;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("海纳川数据复核model")
|
||||
public class HncDataReviewModel {
|
||||
|
||||
@ApiParam("关键件")
|
||||
private String itemPartNo;
|
||||
|
||||
@ApiParam("关键件名称")
|
||||
private String itemPartName;
|
||||
|
||||
@ApiParam("需要数量")
|
||||
private String needNum;
|
||||
|
||||
@ApiParam("实际数量")
|
||||
private String realNum;
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@ApiParam("是否合格标识")
|
||||
private Integer reviewFlag;
|
||||
|
||||
@ApiParam("是否合格")
|
||||
private String reviewResult;
|
||||
|
||||
@ApiParam("关键件颜色")
|
||||
private String keyPartColor;
|
||||
|
||||
@ApiParam("生产数据颜色")
|
||||
private String prodDataColor;
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipment;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentTravel;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :设备运行履历
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquipmentTravelRepository extends BaseRepository<MesEquipmentTravel, 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.IfProductOffLine;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLocation;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\18 10:32
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesLocationRepository extends BaseRepository<MesLocation, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLog;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\18 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesLogRepository extends BaseRepository<MesLog, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWcCurrentStatus;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/23 7:30 PM
|
||||
* @Description:
|
||||
**/
|
||||
public interface MesWcCurrentStatusRepository extends BaseRepository<MesWcCurrentStatus, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellStatus;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\15 11:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellStatusRepository extends BaseRepository<MesWorkCellStatus, Long> {
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
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 : 2020-08-10 15:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_USER_CUSTOMIZE_CONFIG")
|
||||
@ApiModel(value="用户定制化配置",description = "用户定制化配置")
|
||||
public class SysUserCustomizeConfig extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -3757585990009089233L;
|
||||
|
||||
@Column(name="USER_ID")
|
||||
@ApiModelProperty(value ="用户id" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userId;
|
||||
|
||||
@Column(name="CUSTOMIZE_CONFIG_TYPE")
|
||||
@ApiModelProperty(value ="定制化配置类型" , example = "-1")
|
||||
@AnnoOutputColumn(refClass = ImppEnumUtil.USER_CUSTOMIZE_CONFIG_TYPE.class)
|
||||
private Integer customizeConfigType;
|
||||
|
||||
public String getCustomizeConfigTypeTxt() {
|
||||
return customizeConfigType == null ? "无" : ImppEnumUtil.USER_CUSTOMIZE_CONFIG_TYPE.valueOf(customizeConfigType);
|
||||
}
|
||||
|
||||
@Column(name="CONFIG_KEY")
|
||||
@ApiModelProperty(value ="定制化配置类型" , example = "-1")
|
||||
private String configKey;
|
||||
|
||||
@Column(name="CONFIG_VALUE")
|
||||
@ApiModelProperty(value ="配置值" , example = "-1")
|
||||
private String configValue;
|
||||
|
||||
public String getRedisKey(String keyPrefix) {
|
||||
String redisKey = this.getUserId() + ":" + this.getCustomizeConfigType() + ":" + this.getConfigKey();
|
||||
if (StringUtils.isNotBlank(keyPrefix)) {
|
||||
return keyPrefix + ":" + redisKey;
|
||||
} else {
|
||||
return redisKey;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysUserCustomizeConfig;
|
||||
|
||||
/**
|
||||
* @Description : 用户定制化配置
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-08-10 15:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface SysUserCustomizeConfigRepository extends BaseRepository<SysUserCustomizeConfig, Long> {
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.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 java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_LOG")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_LOG")
|
||||
public class PtlLog extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3885987217528730391L;
|
||||
|
||||
@Column(name = "METHOD_NAME")
|
||||
@ApiParam(value = "方法名")
|
||||
private String methodName;
|
||||
|
||||
@Column(name = "EXCEPTION_LOG")
|
||||
@ApiParam(value = "异常日志")
|
||||
private String exceptionLog;
|
||||
|
||||
@Column(name = "CONTROL_CODE")
|
||||
@ApiParam(value = "控制器")
|
||||
private String controlCode;
|
||||
|
||||
@Column(name = "IP")
|
||||
@ApiParam(value = "IP")
|
||||
private String ip;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam(value = "区域")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "SECTION_CODE")
|
||||
@ApiParam(value = "区段")
|
||||
private String sectionCode;
|
||||
|
||||
@Column(name = "TAG_NO")
|
||||
@ApiParam(value = "标签地址")
|
||||
private Integer tagNo;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.IfPickData;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlLog;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
public interface PtlLogRepository extends BaseRepository<PtlLog, Long> {
|
||||
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-06-10
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SWEB_PO_SN_TO_WMS")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class SwebPoSnToWms extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 746409789382994374L;
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
@ApiParam("供应商编号")
|
||||
@Column(name = "VENDOR_CODE")
|
||||
private String vendorCode;
|
||||
|
||||
@ApiParam("供应商名称")
|
||||
@Column(name = "VENDOR_NAME")
|
||||
private String vendorName;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam(value = "零件名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("零件类型")
|
||||
@Column(name = "PART_TYPE")
|
||||
private Integer partType;
|
||||
|
||||
@ApiParam(value = "单位")
|
||||
@Column(name = "UNIT")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "BOX_QTY")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "箱数", example = "0")
|
||||
private Integer boxQty;
|
||||
|
||||
@Column(name = "SERIAL_NO")
|
||||
@ApiParam(value = "序列号")
|
||||
private String serialNo;
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam(value = "箱条码")
|
||||
private String sn;
|
||||
|
||||
@Column(name = "ERP_WAREHOUSE")
|
||||
@ApiParam("库存地")
|
||||
private String erpWarehouse;
|
||||
|
||||
@Column(name = "PRODUCTION_TIME")
|
||||
@ApiParam(value = "产生时间")
|
||||
private String productionTime;
|
||||
|
||||
@Column(name = "PRINT_TIME")
|
||||
@ApiParam(value = "打印时间")
|
||||
private String printTime;
|
||||
|
||||
@Column(name = "PRINTS")
|
||||
@ApiParam("打印次数")
|
||||
private Integer prints;
|
||||
|
||||
@Column(name = "CHECK_CODE")
|
||||
@ApiParam(value = "检验编号")
|
||||
private String checkCode;
|
||||
|
||||
@Column(name = "STOVE_NO")
|
||||
@ApiParam(value = "特殊批号")
|
||||
private String stoveNo;
|
||||
|
||||
@Column(name = "BATCH_NO")
|
||||
@ApiParam(value = "批次号")
|
||||
private String batchNo;
|
||||
|
||||
@ApiParam("是否同步")
|
||||
@Column(name = "IS_SYN")
|
||||
private String isSyn;
|
||||
|
||||
@Column(name = "REC_TIME")
|
||||
@ApiParam(value = "收货时间")
|
||||
private String recTime;
|
||||
|
||||
@Column(name = "PACKAGE_NO")
|
||||
@ApiParam(value = "包装编号")
|
||||
private String packageNo;
|
||||
|
||||
@ColumnDefault("0")
|
||||
@Column(name = "WEIGHT")
|
||||
@ApiParam(value = "重量")
|
||||
private Double weight;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue