Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
ce1dd45842
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsDocMovementDetails;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-04-22 19:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class WmsMoveDetailsBySnModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3023644672955363786L;
|
||||
|
||||
@ApiParam("明细数据")
|
||||
private List<WmsDocMovementDetails> detailsList;
|
||||
|
||||
@ApiParam("分页")
|
||||
private Pager pager;
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
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.enumutil.WmsEnumUtil;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import org.hibernate.annotations.GenericGenerator;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : SOD_DET信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-04-22 16:12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name="SOD_DET")
|
||||
@Api("SOD_DET信息")
|
||||
public class SodDet implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 539607553249262854L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name="ID")
|
||||
@ApiParam(value = "主键",example = "0")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
||||
public Long id;
|
||||
|
||||
//get单独处理
|
||||
public Long getId() {
|
||||
if(id != null) {
|
||||
return id.longValue();
|
||||
}else{
|
||||
return id;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* MonogoDB _id映射
|
||||
* @param id
|
||||
*/
|
||||
@JSONField(name="_id")
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Column(name="COLUMN_GROUP")
|
||||
@ApiParam("分组列名")
|
||||
public String columnGroup;
|
||||
|
||||
@Column(name="COLUMN_GROUP_VALUE")
|
||||
@ApiParam("分组列名值")
|
||||
public String columnGroupValue;
|
||||
|
||||
@Column(name="PROPERTIES_NAME")
|
||||
@ApiParam("参数名")
|
||||
public String propertiesName;
|
||||
|
||||
@Column(name="PROPERTIES_VALUE")
|
||||
@ApiParam("参数值")
|
||||
public String propertiesValue;
|
||||
|
||||
@Column(name="table_name")
|
||||
@ApiParam("表名")
|
||||
public String tableName;
|
||||
|
||||
@Transient
|
||||
private String dockcode;
|
||||
|
||||
@Transient
|
||||
private String storagelocation;
|
||||
|
||||
@Transient
|
||||
private String requerimentCode;
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
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.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
|
||||
/**
|
||||
* @Description :窗口输出类
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-04-21 2:37 下午
|
||||
* @Modify:
|
||||
**/
|
||||
@Entity
|
||||
@Data
|
||||
@Api("窗口输出类")
|
||||
public class WmsCustWindowDto {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name = "ID")
|
||||
@ApiParam(value = "主键", example = "0")
|
||||
public Long id;
|
||||
|
||||
|
||||
@ApiParam(value = "窗口时间")
|
||||
private String custWindowTime;
|
||||
|
||||
@ApiParam(value = "星期一客户")
|
||||
private String mondayCust;
|
||||
|
||||
@ApiParam(value = "星期二客户")
|
||||
private String tuesdayCust;
|
||||
|
||||
@ApiParam(value = "星期三客户")
|
||||
private String wednesdayCust;
|
||||
|
||||
@ApiParam(value = "星期四客户")
|
||||
private String thursdayCust;
|
||||
|
||||
@ApiParam(value = "星期五客户")
|
||||
private String fridayCust;
|
||||
|
||||
@ApiParam(value = "星期六客户")
|
||||
private String saturdayCust;
|
||||
|
||||
@ApiParam(value = "星期日客户")
|
||||
private String sundayCust;
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
|
||||
/**
|
||||
* @Description :移动单效率(出参)
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-04-10 3:21 下午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Api("移动单效率(出参)")
|
||||
public class WmsMoveMovementEffectivenessDto {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name = "ID")
|
||||
@ApiParam(value = "主键", example = "0")
|
||||
public Long id;
|
||||
|
||||
@ApiParam(value = "日期")
|
||||
private String date;
|
||||
|
||||
@ApiParam(value = "比列")
|
||||
private Double percentage;
|
||||
|
||||
public WmsMoveMovementEffectivenessDto(String date, Double percentage) {
|
||||
this.date = date;
|
||||
this.percentage = percentage;
|
||||
}
|
||||
|
||||
public WmsMoveMovementEffectivenessDto() {
|
||||
}
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
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.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
|
||||
/**
|
||||
* @Description :装车单打印输出model(出参)
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-04-10 3:21 下午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Api("静态盘点查询输出实体类")
|
||||
public class WmsStockSnDto {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name = "ID")
|
||||
@ApiParam(value = "主键", example = "0")
|
||||
public Long id;
|
||||
|
||||
@ApiParam(value = "库位")
|
||||
private String locateNo;
|
||||
@ApiParam(value = "物料号")
|
||||
private String partNo;
|
||||
@ApiParam(value = "物料名称")
|
||||
private String partNameRdd;
|
||||
@ApiParam(value = "数量")
|
||||
private Double qty;
|
||||
@ApiParam(value = "生产批次")
|
||||
private String dateCode;
|
||||
|
||||
@ApiParam(value = "规格")
|
||||
private String partSpec;
|
||||
|
||||
@ApiParam(value = "存储区")
|
||||
private String zoneNo;
|
||||
|
||||
public WmsStockSnDto(String locateNo, String partNo, String partNameRdd, Double qty, String dateCode) {
|
||||
this.locateNo = locateNo;
|
||||
this.partNo = partNo;
|
||||
this.partNameRdd = partNameRdd;
|
||||
this.qty = qty;
|
||||
this.dateCode = dateCode;
|
||||
}
|
||||
|
||||
public WmsStockSnDto(String locateNo, String partNo, String partNameRdd, Double qty, String dateCode, String partSpec) {
|
||||
this.locateNo = locateNo;
|
||||
this.partNo = partNo;
|
||||
this.partNameRdd = partNameRdd;
|
||||
this.qty = qty;
|
||||
this.dateCode = dateCode;
|
||||
this.partSpec = partSpec;
|
||||
}
|
||||
|
||||
public WmsStockSnDto(String locateNo, String partNo, String partNameRdd, Double qty, String dateCode, String partSpec, String zoneNo) {
|
||||
this.locateNo = locateNo;
|
||||
this.partNo = partNo;
|
||||
this.partNameRdd = partNameRdd;
|
||||
this.qty = qty;
|
||||
this.dateCode = dateCode;
|
||||
this.partSpec = partSpec;
|
||||
this.zoneNo = zoneNo;
|
||||
}
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.wms.dto;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :供应商延期输出实体类(出参)
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-04-10 3:21 下午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("供应商延期输出实体类")
|
||||
public class WmsSupplierExtensionDto {
|
||||
|
||||
@ApiParam(value = "序号")
|
||||
private Integer rn;
|
||||
|
||||
@ApiParam(value = "供应商编号")
|
||||
private String vendorNo;
|
||||
|
||||
@ApiParam(value = "数量")
|
||||
private Integer num;
|
||||
|
||||
public WmsSupplierExtensionDto() {
|
||||
|
||||
}
|
||||
|
||||
public WmsSupplierExtensionDto(String vendorNo, Integer num) {
|
||||
this.vendorNo = vendorNo;
|
||||
this.num = num;
|
||||
}
|
||||
}
|
@ -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.QadBop;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.SodDet;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : SOD_DET信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 15:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface SodDetRepository extends BaseRepository<SodDet, Long> {
|
||||
}
|
Loading…
Reference in New Issue