Merge remote-tracking branch 'origin/dev' into test
commit
6d71c01178
@ -0,0 +1,64 @@
|
||||
package cn.estsh.i3plus.pojo.form.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 : yunhao
|
||||
* @CreateDate : 2019-03-21 21:03
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="BF_METHOD_DETAIL_PROPERTY")
|
||||
@Api(value="表单功能明细关联属性",description = "表单功能明细关联属性")
|
||||
public class BfMethodDetailPropertyRef extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -7541677357317732343L;
|
||||
@Column(name="DETAIL_PROPERTY_ID")
|
||||
@ApiParam(value ="功能明细关联属性id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long detailPropertyId;
|
||||
|
||||
@Column(name="PRI_ELEMENT_PROPERTY_ID")
|
||||
@ApiParam(value ="主对象元素属性id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long priElementPropertyId;
|
||||
|
||||
@Column(name="PRI_ELEMENT_PROPERTY_NAME_RDD")
|
||||
@ApiParam(value ="主对象元素属性名称")
|
||||
private String priElementPropertyNameRdd;
|
||||
|
||||
@Column(name="PRI_ELEMENT_PROPERTY_CODE_RDD")
|
||||
@ApiParam(value ="主对象元素属性code")
|
||||
private String priElementPropertyCodeRdd;
|
||||
|
||||
@Column(name="SEC_ELEMENT_PROPERTY_ID")
|
||||
@ApiParam(value ="关联对象元素属性id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long secElementPropertyId;
|
||||
|
||||
@Column(name="SEC_ELEMENT_PROPERTY_NAME_RDD")
|
||||
@ApiParam(value ="关联对象元素属性名称")
|
||||
private String secElementPropertyNameRdd;
|
||||
|
||||
@Column(name="SEC_ELEMENT_PROPERTY_CODE_RDD")
|
||||
@ApiParam(value ="关联对象元素属性Code")
|
||||
private String secElementPropertyCodeRdd;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
//package cn.estsh.i3plus.pojo.form.repository;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
//import cn.estsh.i3plus.pojo.form.bean.BfElementConstraintProperty;
|
||||
//
|
||||
///**
|
||||
// * @Description : 元素约束属性
|
||||
// * @Reference :
|
||||
// * @Author : yunhao
|
||||
// * @CreateDate : 2019-03-21 20:27
|
||||
// * @Modify:
|
||||
// **/
|
||||
//public interface BfElementConstraintPropertyRepository extends BaseRepository<BfElementConstraintProperty, Long> {
|
||||
//}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.form.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.form.bean.BfMethodDetailPropertyRef;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-06-16 16:56
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BfMethodDetailPropertyRefRepository extends BaseRepository<BfMethodDetailPropertyRef, Long> {
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.MesEnumUtil;
|
||||
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: wangjie
|
||||
* @CreateDate: 2019\11\5 10:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EXTEND_OBJECT_CFG")
|
||||
@Api("扩展对象结构")
|
||||
public class MesExtendObjectCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6773040095905972250L;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam("扩展字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@Column(name = "FIELD_NAME")
|
||||
@ApiParam("扩展字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name = "FIELD_TYPE")
|
||||
@ApiParam("扩展字段类型")
|
||||
@AnnoOutputColumn(refClass = MesEnumUtil.DATA_FORMAT.class, refForeignKey = "value", value = "description")
|
||||
private Integer fieldType;
|
||||
|
||||
@Column(name = "FIELD_LENGTH")
|
||||
@ApiParam("扩展字段类型")
|
||||
private String fieldLength;
|
||||
|
||||
@Column(name = "DEFAULT_VALUE")
|
||||
@ApiParam("默认值")
|
||||
private String defaultValue;
|
||||
|
||||
@Column(name = "FIELD_DESC")
|
||||
@ApiParam("扩展字段描述")
|
||||
private String fieldDesc;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
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;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "MES_PART_PROD_CFG_TYPE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("MES_物料项目关系")
|
||||
public class MesPartProdCfgType extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -640972198237355570L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author adair.song
|
||||
* @date 2020/06/17 13:12
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "MES_SCATTER_BOM_CFG")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("MES_散件BOM配置")
|
||||
public class MesScatterBomCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 521506217898252289L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "CUSTOMER_PART_NO")
|
||||
@ApiParam("客户零件号")
|
||||
private String customerPartNo;
|
||||
|
||||
@Column(name = "PART_LOCATION1")
|
||||
@ApiParam("产品位置1")
|
||||
private String partLocation1;
|
||||
|
||||
@Column(name = "PART_LOCATION2")
|
||||
@ApiParam("产品位置2")
|
||||
private String partLocation2;
|
||||
|
||||
@Column(name = "PART_LOCATION3")
|
||||
@ApiParam("产品位置3")
|
||||
private String partLocation3;
|
||||
|
||||
@Column(name = "PART_LOCATION4")
|
||||
@ApiParam("产品位置4")
|
||||
private String partLocation4;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "CATEGORY_CODE2")
|
||||
@ApiParam("类型2")
|
||||
private String categoryCode2;
|
||||
|
||||
@Column(name = "CATEGORY_CODE3")
|
||||
@ApiParam("类型3")
|
||||
private String categoryCode3;
|
||||
|
||||
@Column(name = "IS_BIND_KEY")
|
||||
@ApiParam("是否关键件")
|
||||
private Integer isBindKey = 1;
|
||||
|
||||
@Column(name = "CHECK_GROUP")
|
||||
@ApiParam("校验分组号")
|
||||
private String checkGroup;
|
||||
|
||||
@Column(name = "OPTION_CODE")
|
||||
@ApiParam("选项代码")
|
||||
private String optionCode;
|
||||
|
||||
@Column(name = "RECIPE_ITEM")
|
||||
@ApiParam("配方项")
|
||||
private String recipeItem;
|
||||
|
||||
@Column(name = "RECIPE_SEQ")
|
||||
@ApiParam("配方序号")
|
||||
private String recipeSeq;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean.template;
|
||||
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/6/17 8:39 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_DEFECT")
|
||||
@Api("MES_工位缺陷")
|
||||
public class MesWorkCellDefect extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -528051790747923632L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "PART_ASSEMBLE")
|
||||
@ApiParam("物料集")
|
||||
private String partAssemble;
|
||||
|
||||
@Transient
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectCodeName;
|
||||
}
|
@ -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.MesExtendObjectCfg;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019\11\18 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesExtendObjectCfgRepository extends BaseRepository<MesExtendObjectCfg, 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.MesPartProdCfgType;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate: 2020\06\17 14:01
|
||||
*/
|
||||
@Repository
|
||||
public interface MesPartProdCfgTypeRepository extends BaseRepository<MesPartProdCfgType,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.MesScatterBomCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate: 2020\06\17 14:01
|
||||
*/
|
||||
@Repository
|
||||
public interface MesScatterBomCfgRepository extends BaseRepository<MesScatterBomCfg,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.template.MesWorkCellDefect;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/6/17 8:46 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesWorkCellDefectRepository extends BaseRepository<MesWorkCellDefect, 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.template.MesWorkCellDefect;
|
||||
import org.springframework.stereotype.Repository;
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/6/17 8:46 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesWorkCellDefectsRepository extends BaseRepository<MesWorkCellDefect, Long> {
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
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 cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
|
||||
/**
|
||||
* @Description : 自动化策略主表
|
||||
* @Reference :
|
||||
* @Author : puxiao.liao
|
||||
* @CreateDate : 2020-06-20 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_AUTO_STRATEGY_MASTER", indexes = {
|
||||
@Index(columnList = "STRATEGY_NO"),
|
||||
@Index(columnList = "ROUTING_CODE")
|
||||
})
|
||||
@Api("自动化策略主表")
|
||||
public class WmsAutoStrategyMaster extends BaseBean {
|
||||
private static final long serialVersionUID = -1818481118386594571L;
|
||||
|
||||
@Column(name = "STRATEGY_NO")
|
||||
@ApiParam(value = "策略编码")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String strategyNo;
|
||||
|
||||
@Column(name = "STRATEGY_NAME")
|
||||
@ApiParam(value = "策略名称")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String strategyName;
|
||||
|
||||
@Column(name = "STRATEGY_SPEC")
|
||||
@ApiParam(value = "策略描述")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String strategySpec;
|
||||
|
||||
@Column(name = "STRATEGY_TYPE")
|
||||
@ApiParam(value = "策略类型")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, dataSrc = "OUT_MOVEMENT_MOVE_TYPE")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.OUT_MOVEMENT_MOVE_TYPE.class, refForeignKey = "value", value = "description", hidden = true)
|
||||
private Integer strategyType;
|
||||
|
||||
@Column(name = "ROUTING_CODE")
|
||||
@ApiParam(value = "物料路线代码")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String routingCode;
|
||||
|
||||
@Column(name = "ROUTING_NAME")
|
||||
@ApiParam(value = "物流路线名称")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String routingName;
|
||||
|
||||
@Column(name = "STRATEGY_QTY_CONTROL")
|
||||
@ApiParam(value = "数量控制")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, dataSrc = "SHIPP_QTY_CONTROL")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.SHIPP_QTY_CONTROL.class, refForeignKey = "value", value = "description", hidden = true)
|
||||
private Integer strategyQtyControl;
|
||||
|
||||
@Column(name = "START_EFFECT_DATE")
|
||||
@ApiParam(value = "开始生效时间")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String startEffectDate;
|
||||
|
||||
@Column(name = "END_EFFECT_DATE")
|
||||
@ApiParam(value = "结束生效时间")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
public String endEffectDate;
|
||||
|
||||
}
|
Loading…
Reference in New Issue