Merge remote-tracking branch 'origin/test' into test
commit
0e75cde494
@ -0,0 +1,44 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/13
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_IMAGE")
|
||||
@Api("MES_看板图片")
|
||||
public class MesBoardImage extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3757764185082659130L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "IMAGE_URL")
|
||||
@ApiParam("图片路径")
|
||||
private String imageUrl;
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/13
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SWITCH_CFG")
|
||||
@Api("MES_看板切换配置")
|
||||
public class MesBoardSwitchCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -9101785840595985385L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "SWITCH_INTERRVAL")
|
||||
@ApiParam("屏切换频次")
|
||||
private Integer switchInterrval;
|
||||
|
||||
@Column(name = "LINE_SWITCH_INTERRVAL")
|
||||
@ApiParam("产线切换频次")
|
||||
private Integer lineSwitchInterrval;
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesShiftGroup;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkOrder;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 中航-产线概况-产线概况
|
||||
* @CreateDate: 2020/10/19
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
public class MesBoardWorkCenterOverviewModel {
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@ApiParam("图片路径")
|
||||
private String imageUrl;
|
||||
|
||||
@ApiParam("工单列表")
|
||||
List<MesWorkOrder> workOrderList;
|
||||
|
||||
@ApiParam("班组列表")
|
||||
List<MesShiftGroup> shiftGroupList;
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MgnPackageSnTraceReportModel {
|
||||
|
||||
@ApiParam("箱条码")
|
||||
private String packageNo;
|
||||
|
||||
@ApiParam("托条码")
|
||||
private String packageNo2;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("物料编号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@ApiParam(value = "创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam("是否封箱")
|
||||
private Integer isSealed;
|
||||
|
||||
@ApiParam("是否封箱名称")
|
||||
private String isSealedName;
|
||||
|
||||
@ApiParam(value = "工厂")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value="修改日期查询用,查询起始日期")
|
||||
public String createDateTimeStart;
|
||||
|
||||
@ApiParam(value = "修改日期查询用,查询结束日期")
|
||||
public String createDateTimeEnd;
|
||||
|
||||
public MgnPackageSnTraceReportModel() {
|
||||
}
|
||||
|
||||
public MgnPackageSnTraceReportModel(String packageNo, String packageNo2, String serialNumber, String partNo, String partNameRdd, Integer isSealed, String createDatetime, String workCenterCode, String workCenterName) {
|
||||
this.packageNo = packageNo;
|
||||
this.packageNo2 = packageNo2;
|
||||
this.serialNumber = serialNumber;
|
||||
this.partNo = partNo;
|
||||
this.partNameRdd = partNameRdd;
|
||||
this.isSealed = isSealed;
|
||||
this.createDatetime = createDatetime;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.workCenterName = workCenterName;
|
||||
}
|
||||
}
|
@ -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.MesBoardImage;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/13
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardImageRepository extends BaseRepository<MesBoardImage, 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.MesBoardSwitchCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/13
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardSwitchCfgRepository extends BaseRepository<MesBoardSwitchCfg, Long> {
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
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 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 : puxiao.liao
|
||||
* @CreateDate : 2020-10-21 19:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PICKING_WINDOW_TIME")
|
||||
@Api("领料时长分区")
|
||||
public class WmsPickingWindowTime extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592714L;
|
||||
|
||||
@Column(name = "SHIFT_NO")
|
||||
@ApiParam("班次编码")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String shiftNo;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("开始时间")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME)
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("结束时间")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME)
|
||||
private String endTime;
|
||||
|
||||
@Column(name = "LATEST_END_TIME")
|
||||
@ApiParam("最晚领料时间")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME)
|
||||
private String latestEndTime;
|
||||
|
||||
@Transient
|
||||
@ApiParam("班次开始时间")
|
||||
private String shiftStartTime;
|
||||
|
||||
@Transient
|
||||
@ApiParam("班次结束时间")
|
||||
private String shiftEndTime;
|
||||
|
||||
@Transient
|
||||
@ApiParam("源存储区代码")
|
||||
public String srcZoneNo;
|
||||
|
||||
@Transient
|
||||
@ApiParam("目标库位代码")
|
||||
public String destLocateNo;
|
||||
|
||||
|
||||
|
||||
|
||||
public WmsPickingWindowTime() {
|
||||
}
|
||||
|
||||
public WmsPickingWindowTime(Long id, String shiftNo, String startTime, String endTime, String latestEndTime, String shiftStartTime, String shiftEndTime) {
|
||||
this.id = id;
|
||||
this.shiftNo = shiftNo;
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.latestEndTime = latestEndTime;
|
||||
this.shiftStartTime = shiftStartTime;
|
||||
this.shiftEndTime = shiftEndTime;
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -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.WmsPickingWindowTime;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :领料时长分区
|
||||
* @Reference :
|
||||
* @Author : puxiao.liao
|
||||
* @CreateDate : 2020-10-21 19:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPickingWindowTimeRepository extends BaseRepository<WmsPickingWindowTime, Long> {
|
||||
}
|
Loading…
Reference in New Issue