Merge remote-tracking branch 'origin/ext-dev' into ext-dev
commit
ebe47b102a
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Dominic
|
||||
* @date 2021/6/27 10:46
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_TARGET")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Api("安灯目标")
|
||||
public class AndonTarget extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8981868292756664265L;
|
||||
|
||||
@Column(name = "TARGET_TYPE")
|
||||
@ApiParam("目标类型")
|
||||
private String targetType;
|
||||
|
||||
@Column(name = "TARGET")
|
||||
@ApiParam("目标值")
|
||||
private String target;
|
||||
|
||||
@Column(name = "WEEK")
|
||||
@ApiParam("星期")
|
||||
private String week;
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : yiming.gu
|
||||
* @CreateDate : 2019-05-20
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_SHIFT_REST")
|
||||
@Api("班次休息信息")
|
||||
public class MesShiftRest extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 5486276486536860088L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "REST_TIMES", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("休息时长")
|
||||
private Double restTimes;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "REST_DESC")
|
||||
@ApiParam("班休描述")
|
||||
private String restDesc;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonTarget;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 安灯目标
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/27 11:39
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonTargetRepository extends BaseRepository<AndonTarget, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.MesShiftRest;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: yiming.gu
|
||||
* @CreateDate:2019-05-20
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesShiftRestRepository extends BaseRepository<MesShiftRest, Long> {
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
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:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TEMPORARY_SN_RECORD")
|
||||
@Api("MES_临时条码记录信息")
|
||||
public class MesTemporarySnRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5274274774653791153L;
|
||||
|
||||
@Column(name = "WORK_ORDER_NO")
|
||||
@ApiParam("生产工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PRODUCT_SN")
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@Column(name = "IF_PACK")
|
||||
@ApiParam("是否打包")
|
||||
private Integer ifPack;
|
||||
|
||||
@Column(name = "PATTERN_CODE")
|
||||
@ApiParam("模式代码")
|
||||
private String patternCode;
|
||||
|
||||
@Column(name = "PATTERN_NAME")
|
||||
@ApiParam("模式名称")
|
||||
private String patternName;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
}
|
@ -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.MesTemporarySnRecord;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\13 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesTemporarySnRecordRepository extends BaseRepository<MesTemporarySnRecord, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesToolingDetail;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/6/26 5:57 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesToolingDetailRepository extends BaseRepository<MesToolingDetail, Long> {
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
package cn.estsh.i3plus.pojo.screen.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.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午1:27
|
||||
* @desc 数据对象管理
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_DATA_OBJECT_PROPERTY")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("数据对象管理")
|
||||
public class ScrDataObjectProperty extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -2729101772049144018L;
|
||||
|
||||
@Column(name = "DATA_OBJECT_CODE")
|
||||
@ApiModelProperty(value = "数据对象代码")
|
||||
private String dataObjectCode;
|
||||
|
||||
@Column(name = "DISPLAY_NAME")
|
||||
@ApiModelProperty(value = "字段名称")
|
||||
private String displayName;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiModelProperty(value = "数据类型")
|
||||
private Integer dataType;
|
||||
|
||||
@Column(name = "DATA_TYPE_NAME")
|
||||
@ApiModelProperty(value = "数据类型名称")
|
||||
private String dataTypeName;
|
||||
|
||||
@Column(name = "FIELD_TYPE")
|
||||
@ApiModelProperty(value = "java类型")
|
||||
private String fieldType;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiModelProperty(value = "字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@Column(name = "NULLABLE")
|
||||
@ApiModelProperty("是否能为空")
|
||||
private Integer nullable;
|
||||
|
||||
@Column(name = "FIELD_NAME")
|
||||
@ApiModelProperty(value = "字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name = "FIELD_SIZE")
|
||||
@ApiModelProperty(value = "字段长度")
|
||||
private Integer fieldSize;
|
||||
|
||||
@Column(name = "DESCRIPTION")
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String description;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.screen.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrDataObjectProperty;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-5-28 下午3:39
|
||||
* @Modify:
|
||||
**/
|
||||
public interface ScrDataObjectPropertyRepository extends BaseRepository<ScrDataObjectProperty, Long> {
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package cn.estsh.i3plus.pojo.wms.dto;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import org.hibernate.annotations.GenericGenerator;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
|
||||
/**
|
||||
* @Description : WmsVendorWindowDto
|
||||
* @Author :gsz
|
||||
* @Date 2021/6/29 16:32
|
||||
* @Modify
|
||||
**/
|
||||
@Data
|
||||
@Api("到货窗口输出类")
|
||||
public class WmsVendorWindowDto {
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name = "ID")
|
||||
@ApiParam(value = "主键", example = "0")
|
||||
public Long id;
|
||||
|
||||
|
||||
@ApiParam(value = "窗口时间")
|
||||
private String vendorWindowTime;
|
||||
|
||||
@ApiParam(value = "星期一供应商")
|
||||
private String mondayVendor;
|
||||
|
||||
@ApiParam(value = "星期二供应商")
|
||||
private String tuesdayVendor;
|
||||
|
||||
@ApiParam(value = "星期三供应商")
|
||||
private String wednesdayVendor;
|
||||
|
||||
@ApiParam(value = "星期四供应商")
|
||||
private String thursdayVendor;
|
||||
|
||||
@ApiParam(value = "星期五供应商")
|
||||
private String fridayVendor;
|
||||
|
||||
@ApiParam(value = "星期六供应商")
|
||||
private String saturdayVendor;
|
||||
|
||||
@ApiParam(value = "星期日供应商")
|
||||
private String sundayVendor;
|
||||
|
||||
public WmsVendorWindowDto() {
|
||||
}
|
||||
|
||||
public WmsVendorWindowDto(WmsVendorWindowDto wmsVendorWindowDto) {
|
||||
this.vendorWindowTime = wmsVendorWindowDto.getVendorWindowTime();
|
||||
this.mondayVendor = wmsVendorWindowDto.getMondayVendor();
|
||||
this.tuesdayVendor = wmsVendorWindowDto.getTuesdayVendor();
|
||||
this.wednesdayVendor = wmsVendorWindowDto.getWednesdayVendor();
|
||||
this.thursdayVendor = wmsVendorWindowDto.getThursdayVendor();
|
||||
this.fridayVendor = wmsVendorWindowDto.getFridayVendor();
|
||||
this.saturdayVendor = wmsVendorWindowDto.getSaturdayVendor();
|
||||
this.sundayVendor = wmsVendorWindowDto.getSundayVendor();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue