Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
7016f20282
@ -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,46 @@
|
||||
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 :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ACTION")
|
||||
@Api("mes系统业务动作")
|
||||
public class MesAction extends BaseBean {
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "ACTION_NAME")
|
||||
@ApiParam("动作名称")
|
||||
private String actionName;
|
||||
|
||||
@Column(name = "ACTION_TYPE")
|
||||
@ApiParam("动作类型")
|
||||
private Integer actionType;
|
||||
|
||||
public int getActionTypeVal() {
|
||||
return this.actionType == null ? 0 : this.actionType;
|
||||
}
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作方法
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ACTION_METHOD")
|
||||
@Api("系统业务动作方法")
|
||||
public class MesActionMethod extends BaseBean {
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "METHOD_CODE")
|
||||
@ApiParam("方法代码")
|
||||
private String methodCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("序号")
|
||||
private Integer seq;
|
||||
|
||||
public int getSeqVal() {
|
||||
return this.seq == null ? 0 : this.seq;
|
||||
}
|
||||
|
||||
}
|
@ -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.MesActionMethod;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesActionMethodRepository extends BaseRepository<MesActionMethod, Long> {
|
||||
}
|
@ -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.MesAction;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesActionRepository extends BaseRepository<MesAction, Long> {
|
||||
|
||||
}
|
@ -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.MesEventAction;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEventActionRepository extends BaseRepository<MesEventAction, Long> {
|
||||
|
||||
}
|
@ -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.MesMethod;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesMethodRepository extends BaseRepository<MesMethod, 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,64 @@
|
||||
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;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description : 车辆信息
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2019-12-06 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_CAR")
|
||||
@Api("车辆信息")
|
||||
public class WmsCar extends BaseBean {
|
||||
|
||||
@Column(name="CAR_NO")
|
||||
@ApiParam(value ="车牌号")
|
||||
private String carNo;
|
||||
|
||||
@Column(name="CAR_DESC")
|
||||
@ApiParam(value ="车辆描述")
|
||||
private String carDesc;
|
||||
|
||||
@Column(name="MAX_CAPACITY")
|
||||
@ApiParam(value ="载重量(KG)")
|
||||
private String maxCapacity;
|
||||
|
||||
@Column(name="DRIVER_NO")
|
||||
@ApiParam(value ="默认驾驶员")
|
||||
private String driverNo;
|
||||
|
||||
@Column(name="PHONE")
|
||||
@ApiParam(value ="车主电话")
|
||||
private String phone;
|
||||
|
||||
@Column(name="VENDOR_NO")
|
||||
@ApiParam(value ="所属供应商")
|
||||
private String vendorNo;
|
||||
|
||||
@Transient
|
||||
@ApiParam("司机名称")
|
||||
private String driverNameRdd;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "供应商名称")
|
||||
private String vendorNameRdd;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
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 : 班次表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2019-11-05 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_SHIFT")
|
||||
@Api("班次信息")
|
||||
public class WmsShift extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592714L;
|
||||
|
||||
@Column(name="SHIFT_NO")
|
||||
@ApiParam("班次编码")
|
||||
private String shiftNo;
|
||||
|
||||
@Column(name="SHIFT_NAME")
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam("开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name="END_TIME")
|
||||
@ApiParam("结束时间")
|
||||
private String endTime;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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 : 班休表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2019-11-05 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_SHIFT_REST")
|
||||
@Api("班休信息")
|
||||
public class WmsShiftRest extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592715L;
|
||||
|
||||
@Column(name="REST_NO")
|
||||
@ApiParam("班休代码")
|
||||
private String restNo;
|
||||
|
||||
@Column(name="REST_NAME")
|
||||
@ApiParam("班休名称")
|
||||
private String restName;
|
||||
|
||||
@Column(name="SHIFT_NO")
|
||||
@ApiParam("班次编码")
|
||||
private String shiftNo;
|
||||
|
||||
@Column(name="START_REST_TIME")
|
||||
@ApiParam("开始休息时间")
|
||||
private String startRestTime;
|
||||
|
||||
@Column(name="END_REST_TIME")
|
||||
@ApiParam("结束休息时间")
|
||||
private String endRestTime;
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
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 : 驾驶员信息
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2019-12-06 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_TMS_DRIVER")
|
||||
@Api("驾驶员信息")
|
||||
public class WmsTmsDriver extends BaseBean {
|
||||
|
||||
@Column(name="DRIVER_NO")
|
||||
@ApiParam(value ="驾驶员编号")
|
||||
private String driverNo;
|
||||
|
||||
@Column(name="DRIVER_NAME")
|
||||
@ApiParam(value ="驾驶员姓名")
|
||||
private String driverName;
|
||||
|
||||
@Column(name="SEX")
|
||||
@ApiParam(value ="驾驶员性别")
|
||||
private Integer sex;
|
||||
|
||||
@Column(name="AGE")
|
||||
@ApiParam(value ="驾驶员年龄")
|
||||
private String age;
|
||||
|
||||
@Column(name="ID_NO")
|
||||
@ApiParam(value ="驾驶员身份证号")
|
||||
private String idNo;
|
||||
|
||||
@Column(name="ADRESS")
|
||||
@ApiParam(value ="驾驶员籍贯")
|
||||
private String adress;
|
||||
|
||||
@Column(name="PHONE")
|
||||
@ApiParam(value ="车牌号")
|
||||
private String phone;
|
||||
|
||||
@Column(name="LOGIN_NO")
|
||||
@ApiParam(value =" 登录账号")
|
||||
private String loginNo;
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
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 : 车辆信息
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2019-12-06 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_TMS_SHIPPING_EXT")
|
||||
@Api("装车单信息")
|
||||
public class WmsTmsShippingExt extends BaseBean {
|
||||
|
||||
@Column(name="MOVE_NO")
|
||||
@ApiParam(value ="移库单号")
|
||||
private String moveNo;
|
||||
|
||||
@Column(name="DESTINATION")
|
||||
@ApiParam(value ="到货地点")
|
||||
private String destination;
|
||||
|
||||
@Column(name="REC_USER")
|
||||
@ApiParam(value ="接收人")
|
||||
private String recUser;
|
||||
|
||||
@Column(name="REC_PHONE")
|
||||
@ApiParam(value ="接收人电话")
|
||||
private String recPhone;
|
||||
|
||||
@Column(name="DOCK_NO")
|
||||
@ApiParam(value ="道口")
|
||||
private String dockNo;
|
||||
|
||||
@Column(name="VENDOR_NO")
|
||||
@ApiParam(value ="承运商编号")
|
||||
private String vendorNo;
|
||||
|
||||
@Column(name="VENDOR_NAME")
|
||||
@ApiParam(value ="承运商名称RDD")
|
||||
private String vendorName;
|
||||
|
||||
@Column(name="DRIVER_NO")
|
||||
@ApiParam(value ="驾驶员编号")
|
||||
private String driverNo;
|
||||
|
||||
@Column(name="DRIVER_NAME")
|
||||
@ApiParam(value ="驾驶员名称RDD")
|
||||
private String driverName;
|
||||
|
||||
@Column(name="PHONE")
|
||||
@ApiParam(value ="驾驶员联系方式RDD")
|
||||
private String phone;
|
||||
|
||||
@Column(name="ORDER_STATUS")
|
||||
@ApiParam(value ="单据状态")
|
||||
private String orderStatus;
|
||||
|
||||
@Column(name="CUST_NAME")
|
||||
@ApiParam(value ="客户名称RDD")
|
||||
private String custName;
|
||||
|
||||
@Column(name="CUST_NO")
|
||||
@ApiParam(value ="客户编号RDD")
|
||||
private String custNo;
|
||||
|
||||
@Column(name="CAR_NO")
|
||||
@ApiParam(value ="车牌号RDD")
|
||||
private String carNo;
|
||||
|
||||
@Column(name="DELIVERY_TIME")
|
||||
@ApiParam(value ="计划发车时间")
|
||||
private String deliveryTime;
|
||||
|
||||
@Column(name="ARRIVEL_TIME")
|
||||
@ApiParam(value ="要求到货时间")
|
||||
private String arrivelTime;
|
||||
|
||||
@Column(name="DEPART")
|
||||
@ApiParam(value =" 申请部门")
|
||||
private String depart;
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
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 implements Serializable {
|
||||
|
||||
@Column(name="CAR_NO")
|
||||
@ApiParam(value ="车牌号")
|
||||
private String carNo;
|
||||
|
||||
@Column(name="CAR_DESC")
|
||||
@ApiParam(value ="车辆描述")
|
||||
private String carDesc;
|
||||
|
||||
@Column(name="MAX_CAPACITY")
|
||||
@ApiParam(value ="载重量(KG)")
|
||||
private String maxCapacity;
|
||||
|
||||
@Column(name="DRIVER_NO")
|
||||
@ApiParam(value ="默认驾驶员")
|
||||
private String driverNo;
|
||||
|
||||
@Column(name="PHONE")
|
||||
@ApiParam(value ="车主电话")
|
||||
private String phone;
|
||||
|
||||
@Column(name="VENDOR_NO")
|
||||
@ApiParam(value ="所属供应商")
|
||||
private String vendorNo;
|
||||
|
||||
@Transient
|
||||
@ApiParam("司机名称")
|
||||
private String driverNameRdd;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "供应商名称")
|
||||
private String vendorNameRdd;
|
||||
|
||||
@ApiParam(value = "是否删除,默认否")
|
||||
private Integer isDeleted = 2;
|
||||
|
||||
@ApiParam("是否有效,默认是")
|
||||
private Integer isValid = 1;
|
||||
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.wms.dto;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class WmsTmsDriverDto implements Serializable {
|
||||
|
||||
@Column(name="DRIVER_NO")
|
||||
@ApiParam(value ="驾驶员编号")
|
||||
private String driverNo;
|
||||
|
||||
@Column(name="DRIVER_NAME")
|
||||
@ApiParam(value ="驾驶员姓名")
|
||||
private String driverName;
|
||||
|
||||
@Column(name="SEX")
|
||||
@ApiParam(value ="驾驶员性别")
|
||||
private Integer sex;
|
||||
|
||||
@Column(name="AGE")
|
||||
@ApiParam(value ="驾驶员年龄")
|
||||
private String age;
|
||||
|
||||
@Column(name="ID_NO")
|
||||
@ApiParam(value ="驾驶员身份证号")
|
||||
private String idNo;
|
||||
|
||||
@Column(name="ADRESS")
|
||||
@ApiParam(value ="驾驶员籍贯")
|
||||
private String adress;
|
||||
|
||||
@Column(name="PHONE")
|
||||
@ApiParam(value ="车牌号")
|
||||
private String phone;
|
||||
|
||||
@Column(name="LOGIN_NO")
|
||||
@ApiParam(value =" 登录账号")
|
||||
private String loginNo;
|
||||
|
||||
@ApiParam("是否删除,默认否")
|
||||
private Integer isDeleted = 2;
|
||||
|
||||
@ApiParam("是否有效,默认是")
|
||||
private Integer isValid = 1;
|
||||
}
|
@ -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> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsCar;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 车辆
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2019-12-04 15:29
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsCarRepository extends BaseRepository<WmsCar, 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.WmsShift;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTerminal;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :班次信息
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-12-05 14:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsShiftRepository extends BaseRepository<WmsShift, 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.WmsShift;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsShiftRest;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :班休信息
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2018-12-05 14:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsShiftRestRepository extends BaseRepository<WmsShiftRest, 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.WmsCar;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsTmsDriver;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 驾驶员
|
||||
* @Reference :
|
||||
* @Author : gcj
|
||||
* @CreateDate : 2019-12-04 15:29
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsTmsDriverRepository extends BaseRepository<WmsTmsDriver, Long> {
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue