Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
3111806b7b
@ -0,0 +1,63 @@
|
||||
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 javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description :物料关键数据
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_KP_DATA")
|
||||
@Api("生产区域")
|
||||
public class MesKpData extends BaseBean {
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="KEY_DATA_CODE")
|
||||
@ApiParam("关键数据代码")
|
||||
private String keyDataCode;
|
||||
|
||||
@Column(name="KEY_DATA_NAME")
|
||||
@ApiParam("关键数据名称")
|
||||
private String keyDataName;
|
||||
|
||||
@Column(name="KEY_DATA_COUNT")
|
||||
@ApiParam("关键数据数量")
|
||||
private Integer keyDataCount;
|
||||
|
||||
@Column(name="UPPER_LIMIT")
|
||||
@ApiParam("数据上限")
|
||||
private Double upperLimit;
|
||||
|
||||
@Column(name="LOWER_LIMIT")
|
||||
@ApiParam("数据下限")
|
||||
private Double lowerLimit;
|
||||
|
||||
@Transient
|
||||
@ApiParam("扭矩值")
|
||||
private Double torqueValue;
|
||||
|
||||
@Transient
|
||||
@ApiParam("是否在范围之内")
|
||||
private Boolean ok;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesKpData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesKpDataRepository extends BaseRepository<MesKpData, Long> {
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRouteProcess;
|
||||
import cn.estsh.i3plus.pojo.model.wms.WmsActionGroupDetailsModel;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 流程Model
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-15 13:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("流程Model")
|
||||
public class MesRouteModel implements Serializable {
|
||||
@ApiParam("流程代码")
|
||||
public String routeCode;
|
||||
@ApiParam("工厂代码")
|
||||
public String organizeCode;
|
||||
@ApiParam("GOJS位置")
|
||||
public String position;
|
||||
@ApiParam("流程明细Model集合")
|
||||
public List<MesRouteProcessModel> mesRouteProcessModelList;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesProdRouteOptParam;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRouteProcess;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRouteProcessStep;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 流程工序Model
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-04-29 15:39
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("流程工序Model")
|
||||
public class MesRouteProcessModel {
|
||||
@ApiParam("流程工序")
|
||||
public MesRouteProcess mesRouteProcess;
|
||||
@ApiParam("流程工步参数配置表(根据Seq分组)")
|
||||
public Map<String, List<MesRouteProcessStep>> mesRouteProcessStepMap;
|
||||
@ApiParam("流程工步参数配置表(根据Seq分组)")
|
||||
public Map<String, List<MesProdRouteOptParam>> mesProdRouteOptParamMap;
|
||||
}
|
Loading…
Reference in New Issue