Pojo 合并代码
commit
1e5e35ee6f
@ -0,0 +1,74 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_BROADCAST")
|
||||
@Api("安灯广播")
|
||||
public class AndonBroadCast extends BaseBean {
|
||||
@Column(name="DEVICE_NUM")
|
||||
@ApiParam("广播设备编号")
|
||||
private String targetIds;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="DEVICE_DEC")
|
||||
@ApiParam("广播设备名称")
|
||||
private String deviceDec;
|
||||
|
||||
@Column(name="DEVICE_IP")
|
||||
@ApiParam("广播设备ip")
|
||||
private String deviceIp;
|
||||
|
||||
@Column(name="PLAY_INTERVAL")
|
||||
@ApiParam("播放间隔")
|
||||
private Integer playInterval = 0;
|
||||
|
||||
@Column(name="PLAY_PRIORITY")
|
||||
@ApiParam("播放优先级")
|
||||
private Integer playPriority = 500;
|
||||
|
||||
@Column(name="VOLUME")
|
||||
@ApiParam("播放音量")
|
||||
private Integer volume;
|
||||
|
||||
@Column(name="TTS_NAME")
|
||||
@ApiParam("广播语音引擎")
|
||||
private String voiceEngine;
|
||||
|
||||
@Column(name="TEXT_ENCODE")
|
||||
@ApiParam("广播内容编码格式")
|
||||
private String textEncode = "UTF-8";
|
||||
|
||||
@Column(name="PLAY_SPEED")
|
||||
@ApiParam("播放语速")
|
||||
private Integer playSpeed = 0;
|
||||
|
||||
@Column(name="PLAY_TIME")
|
||||
@ApiParam("播放循环次数")
|
||||
private Integer playTime = 1;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
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.util.List;
|
||||
|
||||
/**
|
||||
* @Description :广播配置
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_BROADCAST_CFG")
|
||||
@Api("生产区域")
|
||||
public class AndonBroadCastCfg extends BaseBean {
|
||||
@Column(name="ALARM_CODE")
|
||||
@ApiParam("安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name="DEVICE_NUM")
|
||||
@ApiParam("广播设备编号")
|
||||
private String targetIds;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmCause;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonBroadCastCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 安灯广播配置持久层
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonBroadCastCfgRepository extends BaseRepository<AndonBroadCastCfg, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmCause;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonBroadCast;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 安灯广播持久层
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonBroadCastRepository extends BaseRepository<AndonBroadCast, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.aps.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.FIELD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface RippleAnnotation {
|
||||
String[] dependence() default {};
|
||||
String method() default "";
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="OperResource">
|
||||
<Relation field="Resource" name="Resource" reverse="OperResources" type="MULTI_TO_ONE" owner="false">
|
||||
<Relation field="Resource" name="Resource" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
</Class>
|
@ -1,5 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="StandOperation">
|
||||
<Relation field="Operations" name="Operation" reverse="StandOperation" type="ONE_TO_MULTI" owner="false">
|
||||
</Relation>
|
||||
</Class>
|
@ -0,0 +1,33 @@
|
||||
package cn.estsh.i3plus.pojo.base.util;
|
||||
|
||||
import org.springframework.cglib.beans.BeanMap;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class BeanMapUtils {
|
||||
/**
|
||||
* 将对象属性转化为map结合
|
||||
*/
|
||||
public static <T> Map<String, Object> beanToMap(T bean) {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
if (bean != null) {
|
||||
BeanMap beanMap = BeanMap.create(bean);
|
||||
for (Object key : beanMap.keySet()) {
|
||||
map.put(key + "", beanMap.get(key));
|
||||
}
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
/**
|
||||
* 将map集合中的数据转化为指定对象的同名属性中
|
||||
*/
|
||||
public static <T> T mapToBean(Map<String, Object> map, Class<T> clazz) throws Exception {
|
||||
T bean = clazz.newInstance();
|
||||
BeanMap beanMap = BeanMap.create(bean);
|
||||
beanMap.putAll(map);
|
||||
return bean;
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.base.util;
|
||||
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* 字符串转大写换成下滑线加小写
|
||||
*/
|
||||
public class StringCastUtils {
|
||||
public static String upperCharToUnderLine(String param) {
|
||||
Pattern p= Pattern.compile("[A-Z]");
|
||||
if(param==null ||param.equals("")){
|
||||
return "";
|
||||
}
|
||||
StringBuilder builder=new StringBuilder(param);
|
||||
Matcher mc=p.matcher(param);
|
||||
int i=0;
|
||||
while (mc.find()) {
|
||||
builder.replace(mc.start()+i, mc.end()+i, "_"+mc.group().toLowerCase());
|
||||
i++;
|
||||
}
|
||||
if('_' == builder.charAt(0)){
|
||||
builder.deleteCharAt(0);
|
||||
}
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.base.util;
|
||||
|
||||
public class StringUtil {
|
||||
|
||||
public static boolean isEmpty(Object obj){
|
||||
|
||||
if(obj ==null || obj.toString().trim().equals("")){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/10/10 8:37 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FI_CFG")
|
||||
@Api("首检件配置")
|
||||
public class MesFiCfg extends BaseBean {
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name="FI_QTY")
|
||||
@ApiParam("首检数量")
|
||||
private String fiQty;
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\12 16:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QC_CHECK_DATA")
|
||||
@Api("质量过程检测数据")
|
||||
public class MesQcCheckData extends BaseBean {
|
||||
|
||||
@Column(name = "CHECK_ID")
|
||||
@ApiParam("检测id")
|
||||
private String checkId;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private String checkType;
|
||||
|
||||
@Column(name = "CHECK_ITEM")
|
||||
@ApiParam("检测项")
|
||||
private String checkItem;
|
||||
|
||||
@Column(name = "CHECK_STANDARD")
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@Column(name = "CHECK_GUIDE")
|
||||
@ApiParam("检测指导")
|
||||
private String checkGuide;
|
||||
|
||||
@Column(name = "CHECK_FREQUENCY")
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
@Column(name = "CHECK_VALUE")
|
||||
@ApiParam("检测值")
|
||||
private String checkValue;
|
||||
|
||||
@Column(name = "CHECK_RESULT")
|
||||
@ApiParam("判定结果")
|
||||
private String checkResult;
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam("产品条码")
|
||||
private String sn;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("产品数量")
|
||||
private String qty;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("工单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
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.MesQcCheckData;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\12 16:43
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesQcCheckDataRepository extends BaseRepository<MesQcCheckData, Long> {
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAULT_CAUSE")
|
||||
@Api("PLC配置表")
|
||||
public class MesFaultCause extends BaseBean {
|
||||
|
||||
@Column(name = "FC_CODE")
|
||||
@ApiParam("故障原因代码")
|
||||
private String fcCode;
|
||||
|
||||
@Column(name = "FC_NAME")
|
||||
@ApiParam("故障原因描述")
|
||||
private String fcName;
|
||||
|
||||
@Column(name = "PARENT_FC_CODE")
|
||||
@ApiParam("父阶原因代码")
|
||||
private String parentFcCode;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAULT_METHOD")
|
||||
@Api("PLC配置表")
|
||||
public class MesFaultMethod extends BaseBean {
|
||||
|
||||
@Column(name = "FM_CODE")
|
||||
@ApiParam("故障方法代码")
|
||||
private String fmCode;
|
||||
|
||||
@Column(name = "FM_NAME")
|
||||
@ApiParam("故障方法描述")
|
||||
private String fmName;
|
||||
|
||||
@Column(name = "PARENT_FM_CODE")
|
||||
@ApiParam("父阶故障代码")
|
||||
private String parentFmCode;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAULT_PHENOMENON")
|
||||
@Api("PLC配置表")
|
||||
public class MesFaultPhenomenon extends BaseBean {
|
||||
|
||||
@Column(name = "FP_CODE")
|
||||
@ApiParam("故障现象代码")
|
||||
private String fpCode;
|
||||
|
||||
@Column(name = "FP_NAME")
|
||||
@ApiParam("故障现象描述")
|
||||
private String fpName;
|
||||
|
||||
@Column(name = "PARENT_FP_CODE")
|
||||
@ApiParam("父阶现象代码")
|
||||
private String parentFpCode;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/10/10 8:37 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FI_CFG")
|
||||
@Api("首检件配置")
|
||||
public class MesFiCfg extends BaseBean {
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name="FI_QTY")
|
||||
@ApiParam("首检数量")
|
||||
private String fiQty;
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
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: joke.wang
|
||||
* @CreateDate:2019\10\9 0009
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PLC")
|
||||
@Api("PLC配置表")
|
||||
public class MesPlc extends BaseBean {
|
||||
|
||||
@Column(name = "PLC_CODE")
|
||||
@ApiParam("PLC代码")
|
||||
private String plcCode;
|
||||
|
||||
@Column(name = "PLC_NAME")
|
||||
@ApiParam("PLC名称")
|
||||
private String plcName;
|
||||
|
||||
@Column(name = "PLC_MODEL")
|
||||
@ApiParam("PLC型号")
|
||||
private String plcModel;
|
||||
|
||||
@Column(name = "PLC_IP")
|
||||
@ApiParam("PLC IP")
|
||||
private String plcIp;
|
||||
|
||||
@Column(name = "CHANNEL")
|
||||
@ApiParam("通道")
|
||||
private String channel;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam("标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam("标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签数据类型")
|
||||
private String dataType;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiParam("分组名称")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "EQU_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "ENABLED")
|
||||
@ApiParam("是否启用 0 false 1 true")
|
||||
private Integer enabled;
|
||||
|
||||
@Column(name = "PLC_CFG")
|
||||
@ApiParam("PLC的值的设定")
|
||||
private String plcCfg;
|
||||
|
||||
@Column(name = "ANALYSIS_RULE")
|
||||
@ApiParam("解析规则")
|
||||
private String analysisRule;
|
||||
|
||||
@Column(name = "IS_ANALYSIS")
|
||||
@ApiParam("是否解析")
|
||||
private String isAnalysis;
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\12 14:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QC_CHECK_STANDARD")
|
||||
@Api("质量检测标准")
|
||||
public class MesQcCheckStandard extends BaseBean {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@Column(name = "CHECK_ITEM")
|
||||
@ApiParam("检测项")
|
||||
private String checkItem;
|
||||
|
||||
@Column(name = "CHECK_STANDARD")
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@Column(name = "CHECK_GUIDE")
|
||||
@ApiParam("检测指导")
|
||||
private String checkGuide;
|
||||
|
||||
@Column(name = "CHECK_FREQUENCY")
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
}
|
@ -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.MesDatasource;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate:2019\10\9
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesDatasourceRepository extends BaseRepository<MesDatasource,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.MesFaultCause;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:08
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFaultCauseRepository extends BaseRepository<MesFaultCause, 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.MesFaultMethod;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFaultMethodRepository extends BaseRepository<MesFaultMethod, 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.MesFaultPhenomenon;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:05
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFaultPhenomenonRepository extends BaseRepository<MesFaultPhenomenon, 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.MesPlc;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate:2019\10\9 0009 11:16
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesPlcRepository extends BaseRepository<MesPlc, 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.MesQcCheckStandard;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\12 0012 14:58
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesQcCheckStandardRepository extends BaseRepository<MesQcCheckStandard, Long> {
|
||||
}
|
@ -1,79 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.iotio;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@Data
|
||||
public class WmsCSOrderDetailsModel implements Serializable {
|
||||
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 工厂代码
|
||||
*/
|
||||
@ApiParam("工厂代码")
|
||||
public String organizeCode;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 库位编码
|
||||
*/
|
||||
@ApiParam("库位编码")
|
||||
public String locateNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 订单编码
|
||||
*/
|
||||
@ApiParam("订单编号")
|
||||
public String orderNo;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 物料代码
|
||||
*/
|
||||
@ApiParam("物料代码")
|
||||
public String partNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 物料名称
|
||||
*/
|
||||
@ApiParam("物料名称")
|
||||
public String partNameRdd;
|
||||
|
||||
/******
|
||||
*
|
||||
* 冻结数量
|
||||
*/
|
||||
@ApiParam("冻结数量")
|
||||
public String qty;
|
||||
|
||||
/******
|
||||
*
|
||||
* 实盘数量
|
||||
*/
|
||||
@ApiParam("实盘数量")
|
||||
public String factQty;
|
||||
|
||||
/******
|
||||
*
|
||||
* 条码
|
||||
*/
|
||||
@ApiParam("条码编号")
|
||||
public String sn;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 仓库编码
|
||||
*/
|
||||
@ApiParam("仓库编码")
|
||||
public String whNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 区域编码
|
||||
*/
|
||||
@ApiParam("区域编码")
|
||||
public String zoneNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 状态
|
||||
*/
|
||||
@ApiParam("状态")
|
||||
public String wmStatus;
|
||||
}
|
||||
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.BasVendor;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsZones;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :供应商编码
|
||||
* @Reference :
|
||||
* @Author : libiwei
|
||||
* @CreateDate : 2018-11-06 13:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsBasVendorRepository extends BaseRepository<BasVendor,Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue