Commit 68e5cd86 by wuwenlong

inventType update

parent d12fe09d
...@@ -9,12 +9,13 @@ import java.util.*; ...@@ -9,12 +9,13 @@ import java.util.*;
* @Date 2024/1/10 14:29 * @Date 2024/1/10 14:29
*/ */
public enum InventTypeEnum { public enum InventTypeEnum {
MATERIAL(1,"原材料"), RAW(1,"原料"),
CONSUMABLE(2,"耗材"), CONSUMABLE(2,"耗材"),
SEMI_FINISHED_PRODUCT(3,"零部件"), SEMI_FINISHED_PRODUCT(3,"零部件"),
FINISHED_PRODUCT(4,"部件"), FINISHED_PRODUCT(4,"部件"),
WASTE(5,"废料"), WASTE(5,"废料"),
OTHER(6,"其他"); OTHER(6,"其他"),
MATERIAL(7,"材料");
private Integer code; private Integer code;
......
...@@ -31,7 +31,7 @@ public class ServiceHPBI001 extends ServiceBase { ...@@ -31,7 +31,7 @@ public class ServiceHPBI001 extends ServiceBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode()}; InventTypeEnum.CONSUMABLE.getCode()};
/** /**
......
...@@ -36,7 +36,7 @@ public class ServiceHPKC001 extends ServiceBase { ...@@ -36,7 +36,7 @@ public class ServiceHPKC001 extends ServiceBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode()}; InventTypeEnum.CONSUMABLE.getCode()};
/** /**
......
...@@ -32,7 +32,7 @@ import java.util.Map; ...@@ -32,7 +32,7 @@ import java.util.Map;
public class ServiceHPKC002 extends ServiceBase { public class ServiceHPKC002 extends ServiceBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode()}; InventTypeEnum.CONSUMABLE.getCode()};
/** /**
......
...@@ -36,7 +36,7 @@ import java.util.Map; ...@@ -36,7 +36,7 @@ import java.util.Map;
public class ServiceHPKC002A extends ServiceEPBase { public class ServiceHPKC002A extends ServiceEPBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode()}; InventTypeEnum.CONSUMABLE.getCode()};
/** /**
......
...@@ -31,7 +31,7 @@ import java.util.Map; ...@@ -31,7 +31,7 @@ import java.util.Map;
public class ServiceHPKC004 extends ServiceBase { public class ServiceHPKC004 extends ServiceBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.SEMI_FINISHED_PRODUCT.getCode(), InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.SEMI_FINISHED_PRODUCT.getCode(),
InventTypeEnum.FINISHED_PRODUCT.getCode()}; InventTypeEnum.FINISHED_PRODUCT.getCode()};
......
...@@ -38,7 +38,7 @@ import java.util.Map; ...@@ -38,7 +38,7 @@ import java.util.Map;
public class ServiceHPKC006 extends ServiceBase { public class ServiceHPKC006 extends ServiceBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.WASTE.getCode()}; InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.WASTE.getCode()};
/** /**
......
...@@ -38,7 +38,7 @@ import java.util.Map; ...@@ -38,7 +38,7 @@ import java.util.Map;
public class ServiceHPKC007 extends ServiceBase { public class ServiceHPKC007 extends ServiceBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.WASTE.getCode()}; InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.WASTE.getCode()};
/** /**
......
...@@ -35,7 +35,7 @@ import java.util.Map; ...@@ -35,7 +35,7 @@ import java.util.Map;
public class ServiceHPKC007A extends ServiceEPBase { public class ServiceHPKC007A extends ServiceEPBase {
// 指定存货类型 // 指定存货类型
private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.MATERIAL.getCode(), private static final Integer[] DEFAULT_INVENT_CODE = {InventTypeEnum.RAW.getCode(),
InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.WASTE.getCode()}; InventTypeEnum.CONSUMABLE.getCode(), InventTypeEnum.WASTE.getCode()};
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment