Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
5f74c26466
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 委外材料发运
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2019-06-22 10:03
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api(value = "委外材料发运", description = "委外材料发运")
|
||||
public class SapCgio extends SapBase{
|
||||
|
||||
@ApiParam(value = "编号")
|
||||
@AnnoOutputColumn
|
||||
private String zinstno;
|
||||
|
||||
@ApiParam(value = "行号")
|
||||
@AnnoOutputColumn
|
||||
private String zeile;
|
||||
|
||||
@ApiParam(value = "工厂")
|
||||
@AnnoOutputColumn
|
||||
private String werks;
|
||||
|
||||
@ApiParam(value = "发(退)料库存地点")
|
||||
@AnnoOutputColumn
|
||||
private String lgort;
|
||||
|
||||
@ApiParam(value = "供应商代码")
|
||||
@AnnoOutputColumn
|
||||
private String zlifnr;
|
||||
|
||||
@ApiParam(value = "物料编码")
|
||||
@AnnoOutputColumn
|
||||
private String matnr;
|
||||
|
||||
@ApiParam(value = "发(退)料数量")
|
||||
@AnnoOutputColumn
|
||||
private String erfmg;
|
||||
|
||||
@ApiParam(value = "计量单位")
|
||||
@AnnoOutputColumn
|
||||
private String erfme;
|
||||
|
||||
@ApiParam(value = "状态")
|
||||
@AnnoOutputColumn
|
||||
private String zzlzt;
|
||||
|
||||
@ApiParam(value = "业务类型")
|
||||
@AnnoOutputColumn
|
||||
private String zaction;
|
||||
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :盘点
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2019-06-22 10:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api(value="盘点",description = "盘点")
|
||||
public class SapCyco extends SapBase{
|
||||
|
||||
@ApiParam(value = "盘点凭证号")
|
||||
@AnnoOutputColumn
|
||||
private String iblnr;
|
||||
|
||||
@ApiParam(value = "行号")
|
||||
@AnnoOutputColumn
|
||||
private Integer zeili;
|
||||
|
||||
@ApiParam(value = "物料编码")
|
||||
@AnnoOutputColumn
|
||||
private String matnr;
|
||||
|
||||
@ApiParam(value = "计量单位")
|
||||
@AnnoOutputColumn
|
||||
private String meins;
|
||||
|
||||
@ApiParam(value = "工厂")
|
||||
@AnnoOutputColumn
|
||||
private String werks;
|
||||
|
||||
@ApiParam(value = "库存地点")
|
||||
@AnnoOutputColumn
|
||||
private String lgort;
|
||||
|
||||
@ApiParam(value = "库存状态")
|
||||
@AnnoOutputColumn
|
||||
private String zstat;
|
||||
|
||||
@ApiParam(value = "特殊库存标识")
|
||||
@AnnoOutputColumn
|
||||
private String sobkz;
|
||||
|
||||
@ApiParam(value = "项目号")
|
||||
@AnnoOutputColumn
|
||||
private String zxm;
|
||||
|
||||
@ApiParam(value = "库存帐冻结标识")
|
||||
@AnnoOutputColumn
|
||||
private String zdjbs;
|
||||
|
||||
@ApiParam(value = "删除标识")
|
||||
@AnnoOutputColumn
|
||||
private String xloek;
|
||||
|
||||
@ApiParam(value = "年度")
|
||||
@AnnoOutputColumn
|
||||
private Integer gjahr;
|
||||
|
||||
public Integer getZeilVal() {
|
||||
return zeili== null ? 0 : this.zeili.intValue();
|
||||
}
|
||||
|
||||
public Integer getGjahrVal() {
|
||||
return gjahr== null ? 0 : this.gjahr.intValue();
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 盘点调差
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2019-06-22 10:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api(value="盘点调差",description = "盘点调差")
|
||||
public class SapDifo extends SapBase{
|
||||
|
||||
@ApiParam(value = "工厂")
|
||||
@AnnoOutputColumn
|
||||
private String werks;
|
||||
|
||||
@ApiParam(value = "盘点凭证号")
|
||||
@AnnoOutputColumn
|
||||
private String iblnr;
|
||||
|
||||
@ApiParam(value = "行号")
|
||||
@AnnoOutputColumn
|
||||
private String zeili;
|
||||
|
||||
@ApiParam(value = "调整")
|
||||
@AnnoOutputColumn
|
||||
private String ztzbs;
|
||||
|
||||
@ApiParam(value = "年度")
|
||||
@AnnoOutputColumn
|
||||
private String gjahr;
|
||||
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package cn.estsh.i3plus.pojo.wms.dbinterface;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
public class WmsInterfaceEnumUtil {
|
||||
|
||||
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
||||
public enum DIRECTION_TYPE {
|
||||
SAP2WMS(10, "SAP2WMS", "SAP --> WMS"),
|
||||
WMS2SAP(20, "WMS2SAP", "WMS --> SAP"),
|
||||
MES2WMS(30, "MES2WMS", "MES --> WMS"),
|
||||
WMS2MES(40, "WMS2MES", "WMS --> MES");
|
||||
|
||||
private int value;
|
||||
private String name;
|
||||
private String description;
|
||||
|
||||
DIRECTION_TYPE() {
|
||||
}
|
||||
|
||||
DIRECTION_TYPE(int value, String name, String description) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public static String valueOf(int val) {
|
||||
String tmp = null;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].value == val) {
|
||||
tmp = values()[i].getName();
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
|
||||
public static int nameOf(String val) {
|
||||
int tmp = -1;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].name.equals(val)) {
|
||||
tmp = values()[i].value;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
|
||||
/**
|
||||
* -1 不在范围内
|
||||
* @param desc
|
||||
* @return
|
||||
*/
|
||||
public static int descOf(String desc) {
|
||||
int tmp = -1;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].description.equals(desc)) {
|
||||
tmp = values()[i].value;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
}
|
@ -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.WmsCustomerPart;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 对象持久层仓用方法控制(客户零件号关系)
|
||||
* @Reference :
|
||||
* @Author : sky.meng
|
||||
* @CreateDate : 2019-06-21 20:22
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsCustomerPartRepository extends BaseRepository<WmsCustomerPart, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue