Merge branch 'test'
commit
8694cb1f5a
@ -0,0 +1,100 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.lac.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.LacEnumUtil;
|
||||||
|
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-12-09 14:47
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="LAC_TASK_CHECK")
|
||||||
|
@Api(value="任务检查",description = "任务检查")
|
||||||
|
public class LacTaskCheck extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="COMMAND_STACK_TEMPLATE_ID")
|
||||||
|
@ApiParam(value ="指令集模板ID")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long commandStackTemplateId;
|
||||||
|
|
||||||
|
@Column(name="STEP_ID")
|
||||||
|
@ApiParam(value ="步骤ID")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long stepId;
|
||||||
|
|
||||||
|
@Column(name="STEP_TASK_ID")
|
||||||
|
@ApiParam(value ="步骤ID")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long stepTaskId;
|
||||||
|
|
||||||
|
@Column(name="TASK_ID")
|
||||||
|
@ApiParam(value ="任务ID")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long taskId;
|
||||||
|
|
||||||
|
@Column(name="TASK_NAME_RDD")
|
||||||
|
@ApiParam(value ="任务名称")
|
||||||
|
private String taskNameRdd;
|
||||||
|
|
||||||
|
@Column(name="TASK_CHECK_TYPE")
|
||||||
|
@ApiParam(value ="任务检查类型")
|
||||||
|
@AnnoOutputColumn(refClass = LacEnumUtil.TASK_CHECK_TYPE.class)
|
||||||
|
private Integer taskCheckType;
|
||||||
|
|
||||||
|
@Column(name="TASK_CHECK_GROUP")
|
||||||
|
@ApiParam(value ="任务检查组")
|
||||||
|
private String taskCheckGroup;
|
||||||
|
|
||||||
|
@Column(name="PARAM_ID")
|
||||||
|
@ApiParam(value ="参数id")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long paramId;
|
||||||
|
|
||||||
|
@Column(name="PARAM_NAME_RDD")
|
||||||
|
@ApiParam(value ="任务名称")
|
||||||
|
private String paramNameRdd;
|
||||||
|
|
||||||
|
@Column(name="PARAM_VALUE_TYPE")
|
||||||
|
@ApiParam(value ="参数值类型")
|
||||||
|
@AnnoOutputColumn(refClass = LacEnumUtil.PARAM_VALUE_TYPE.class)
|
||||||
|
private Integer paramValueType;
|
||||||
|
|
||||||
|
@Column(name="RELATIONAL_OPERATOR")
|
||||||
|
@ApiParam(value ="关系运算符")
|
||||||
|
@AnnoOutputColumn(refClass = LacEnumUtil.RELATIONAL_OPERATOR.class)
|
||||||
|
private Integer relationalOperator;
|
||||||
|
|
||||||
|
@Column(name="LOGICAL_OPERATOR")
|
||||||
|
@ApiParam(value ="逻辑运算符")
|
||||||
|
@AnnoOutputColumn(refClass = LacEnumUtil.LOGICAL_OPERATOR.class)
|
||||||
|
private Integer logicalOperator;
|
||||||
|
|
||||||
|
@Column(name="CHECK_VALUE")
|
||||||
|
@ApiParam(value ="检查值")
|
||||||
|
private String checkValue;
|
||||||
|
|
||||||
|
@Column(name="TARGET_STEP_ID")
|
||||||
|
@ApiParam(value ="目标步骤ID")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long targetStepId;
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.lac.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.lac.bean.LacTaskCheck;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2019-12-10 15:10
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface LacTaskCheckRepository extends BaseRepository<LacTaskCheck, Long> {
|
||||||
|
}
|
@ -0,0 +1,62 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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 : MES_生产计划主明细表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2019-11-09 14:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_PP_DETAILS")
|
||||||
|
@Api("MES_生产计划明细表")
|
||||||
|
public class MesPpDetails extends BaseBean{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 9214639813072592727L;
|
||||||
|
|
||||||
|
@Column(name="WROKORDER_NO")
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String woekorderNo;
|
||||||
|
|
||||||
|
@Column(name="ITEM")
|
||||||
|
@ApiParam("行号")
|
||||||
|
private Integer item;
|
||||||
|
|
||||||
|
@Column(name="PART_NO")
|
||||||
|
@ApiParam("零件号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name="PART_NAME_RDD")
|
||||||
|
@ApiParam("零件名称")
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@Column(name = "QTY", columnDefinition = "decimal(18,8)")
|
||||||
|
@ColumnDefault("0")
|
||||||
|
@ApiParam(value = "工单数量", example = "0")
|
||||||
|
public Double qty;
|
||||||
|
|
||||||
|
public Integer getItem() {
|
||||||
|
return item == null ? 0 : this.item.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getQty() {
|
||||||
|
return qty == null ? 0D : this.qty.doubleValue();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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 : MES_生产计划主表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2019-11-09 14:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_PP_MASTER")
|
||||||
|
@Api("MES_生产计划主表")
|
||||||
|
public class MesPpMaster extends BaseBean{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 9214639813072592726L;
|
||||||
|
|
||||||
|
@Column(name="WROKORDER_NO")
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String woekorderNo;
|
||||||
|
|
||||||
|
@Column(name="PDLINE_NO")
|
||||||
|
@ApiParam("产线代码")
|
||||||
|
private String pdlineNo;
|
||||||
|
|
||||||
|
@Column(name="PLAN_PRODUCT_TIME")
|
||||||
|
@ApiParam("生产日期")
|
||||||
|
private String planProductTime;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_NO")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shitNo;
|
||||||
|
|
||||||
|
@Column(name="START_PRODUCT_TIME")
|
||||||
|
@ApiParam("开始生产时间")
|
||||||
|
private String startProductTime;
|
||||||
|
|
||||||
|
@Column(name="END_PRODUCT_TIME")
|
||||||
|
@ApiParam("结束生产时间")
|
||||||
|
private String endProductTime;
|
||||||
|
|
||||||
|
@Column(name="ORDER_STATUS")
|
||||||
|
@ApiParam(value = "单据状态", example = "0")
|
||||||
|
private Integer orderStatus = 0;
|
||||||
|
|
||||||
|
public Integer getOrderStatus() {
|
||||||
|
return orderStatus == null ? 0 : this.orderStatus.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 生产计划模板
|
||||||
|
* @Reference :
|
||||||
|
* @author: jessica.chen
|
||||||
|
* @date: 2019/12/10 17:10
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Api(value="生产计划模板",description = "生产计划模板")
|
||||||
|
public class MesPpTemplate extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 2167743108452607913L;
|
||||||
|
|
||||||
|
@ApiParam(value = "工单号")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String woekorderNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "产线代码")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String pdlineNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "生产日期")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String planProductTime;
|
||||||
|
|
||||||
|
@ApiParam(value = "班次代码")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String shitNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "开始生产时间")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String startProductTime;
|
||||||
|
|
||||||
|
@ApiParam(value = "结束生产时间")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String endProductTime;
|
||||||
|
|
||||||
|
@ApiParam(value = "零件号")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "零件描述")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@ApiParam(value = "工单数量")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private Double qty;
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.dto;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :公共父类入参
|
||||||
|
* @Reference :
|
||||||
|
* @Author : gcj
|
||||||
|
* @CreateDate : 2019-12-07 16:06
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class BaseDto {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.dto;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Transient;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class WmsCarDto extends BaseDto implements Serializable {
|
||||||
|
|
||||||
|
@Column(name="CAR_NO")
|
||||||
|
@ApiParam(value ="车牌号")
|
||||||
|
private String carNo;
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name="DRIVER_NO")
|
||||||
|
@ApiParam(value ="默认驾驶员")
|
||||||
|
private String driverNo;
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name="VENDOR_NO")
|
||||||
|
@ApiParam(value ="所属供应商")
|
||||||
|
private String vendorNo;
|
||||||
|
@ApiParam("是否删除,默认否")
|
||||||
|
|
||||||
|
protected Integer isDeleted = 2;
|
||||||
|
|
||||||
|
@ApiParam("是否有效,默认是")
|
||||||
|
protected Integer isValid = 1;
|
||||||
|
|
||||||
|
protected String organizeCode;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.dto;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :驾驶员入参
|
||||||
|
* @Reference :
|
||||||
|
* @Author : gcj
|
||||||
|
* @CreateDate : 2019-12-07 16:06
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class WmsTmsDriverDto extends BaseDto implements Serializable {
|
||||||
|
|
||||||
|
@Column(name="DRIVER_NO")
|
||||||
|
@ApiParam(value ="驾驶员编号")
|
||||||
|
private String driverNo;
|
||||||
|
|
||||||
|
@Column(name="DRIVER_NAME")
|
||||||
|
@ApiParam(value ="驾驶员姓名")
|
||||||
|
private String driverName;
|
||||||
|
|
||||||
|
@Column(name="LOGIN_NO")
|
||||||
|
@ApiParam(value =" 登录账号")
|
||||||
|
private String loginNo;
|
||||||
|
|
||||||
|
@ApiParam("是否删除,默认否")
|
||||||
|
protected Integer isDeleted = 2;
|
||||||
|
|
||||||
|
@ApiParam("是否有效,默认是")
|
||||||
|
protected Integer isValid = 1;
|
||||||
|
|
||||||
|
protected String organizeCode;
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.dto;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :装车单入参
|
||||||
|
* @Reference :
|
||||||
|
* @Author : gcj
|
||||||
|
* @CreateDate : 2019-12-07 16:06
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Api("装车单入参")
|
||||||
|
@Data
|
||||||
|
public class WmsTmsShipDto extends BaseDto implements Serializable {
|
||||||
|
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
@ApiParam("运输状态")
|
||||||
|
private String carriageStatus;
|
||||||
|
@ApiParam("单据号")
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@ApiParam("是否删除,默认否")
|
||||||
|
protected Integer isDeleted = 2;
|
||||||
|
|
||||||
|
@ApiParam("是否有效,默认是")
|
||||||
|
protected Integer isValid = 1;
|
||||||
|
|
||||||
|
@ApiParam("工厂代码")
|
||||||
|
protected String organizeCode;
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.MesPpDetails;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.MesPpMaster;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :MES_生产计划明细表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica,chen
|
||||||
|
* @CreateDate : 2019-11-27 14:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesPpDetailsRepository extends BaseRepository<MesPpDetails, Long> {
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.MesPpMaster;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsFile;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :MES_生产计划主表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica,chen
|
||||||
|
* @CreateDate : 2019-11-27 14:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesPpMasterRepository extends BaseRepository<MesPpMaster, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue