【宁德问题清单】

yun-zuoyi
1111 6 years ago
parent 88a69ac7f8
commit 7378df1b9e

@ -3548,10 +3548,7 @@ public class WmsEnumUtil {
public enum REC_STATUS {
UNRECEIVED("UNRECEIVED", "未收货"),
COMPLETE_RECEIPT("COMPLETE_RECEIPT", "完成收货"),
PARTIAL_RECEIPT("PARTIAL_RECEIPT", "部分收货"),
OVER_RECEIVED_GOODS("OVER_RECEIVED_GOODS", "超量收货"),
OTHER("ELSE", "其他"),
;
PARTIAL_RECEIPT("PARTIAL_RECEIPT", "部分收货");
private String value;
private String description;
@ -4057,4 +4054,39 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
* MQ
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SPEC_LEVEL {
FIRST_LEVEL(10, "一层"), SECOND_LEVEL(20, "二层"), THIRD_LEVEL(30, "三层"), FOURTH_LEVEL(40, "四层"), FIFTH_LEVEL(50, "五层");
private int value;
private String description;
SPEC_LEVEL(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
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].description;
}
}
return tmp;
}
}
}

@ -19,7 +19,7 @@ import javax.persistence.Transient;
/**
* @Description :
* @Reference :
* @Author :
* @Author : gcj
* @CreateDate : 2019-11-07 16:06
* @Modify:
**/

@ -0,0 +1,27 @@
package cn.estsh.i3plus.pojo.wms.dto;
import cn.estsh.i3plus.pojo.base.common.Pager;
import cn.estsh.i3plus.pojo.wms.bean.WmsPartPackage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
/**
* @Description :
* @Reference :
* @Author : gcj
* @CreateDate : 2019-11-07 16:06
* @Modify:
**/
@Data
@Api("物料包装关系入参")
public class PartPackagDto{
@ApiParam(value = "物料编码")
private String partNo;
@ApiParam(value = "工厂代码")
private List<WmsPartPackage> partPackages;
}

@ -2,15 +2,27 @@ package cn.estsh.i3plus.pojo.wms.dto;
import cn.estsh.i3plus.pojo.base.common.Pager;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : gcj
* @CreateDate : 2019-11-07 16:06
* @Modify:
**/
@Data
@Api("库存预警入参")
public class QuanWarnDto extends Pager {
@ApiParam(value = "工厂代码")
private String organizeCode;
@ApiParam(value = "是否选择")
private Integer checked;
@ApiParam(value = "物料编码")
private String partNo;
@ApiParam(value = "物料类型")
private String partType;
public Integer getChecked() {

@ -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.WmsPackageSpec;
import cn.estsh.i3plus.pojo.wms.bean.WmsPartPackage;
import org.springframework.stereotype.Repository;
/**
* @Description :Repository
* @Reference :
* @Author : gcj
* @CreateDate : 2019-11-08 10:19
* @Modify:
**/
@Repository
public interface WmsPartPackageRepository extends BaseRepository<WmsPartPackage, Long> {
}
Loading…
Cancel
Save