|
|
@@ -1770,30 +1770,22 @@ public class Constant {
|
|
|
* @date : 2024/3/21 9:04
|
|
|
*/
|
|
|
public enum InventoryDocCode {
|
|
|
- OUTBOUND("出库", "t_psi_outbound", "", "", ""),
|
|
|
- INTOBOUND("入库", "t_psi_inbound", "", "", "");
|
|
|
- //region todo 看后续是否需要
|
|
|
-// OTHER_OUTBOUND("其他出库", "t_psi_outbound", "", "", ""),
|
|
|
-// SALE_ORDER("销售出库", "t_psi_outbound", "", "", ""),
|
|
|
-// SALE_RETURN("销退出库", "t_psi_outbound", "", "", ""),
|
|
|
-// INVENTORY_LOSS("盘亏出库", "t_psi_outbound", "", "", ""),
|
|
|
-// OTHER_INBOUND("其他入库", "t_psi_inbound", "", "", ""),
|
|
|
-// PURCHASE_ORDER("采购入库", "t_psi_inbound", "", "", ""),
|
|
|
-// PURCHASE_RETURN("采退入库", "t_psi_inbound", "", "", ""),
|
|
|
-// INVENTORY_PROFIT("盘盈入库", "t_psi_inbound", "", "", ""),
|
|
|
-// MOVE("库位移动", "t_psi_transfer", "", "", "");
|
|
|
+ OUTBOUND("出库", "t_psi_outbound"),
|
|
|
+ INTOBOUND("入库", "t_psi_inbound"),
|
|
|
+ OTHER_OUTBOUND("其他出库", "t_psi_outbound"),
|
|
|
+ SALE_ORDER("销售出库", "t_psi_outbound" ),
|
|
|
+ SALE_RETURN("销退出库", "t_psi_outbound" ),
|
|
|
+ INVENTORY_LOSS("盘亏出库", "t_psi_outbound" ),
|
|
|
+ OTHER_INBOUND("其他入库", "t_psi_inbound" ),
|
|
|
+ PURCHASE_ORDER("采购入库", "t_psi_inbound" ),
|
|
|
+ PURCHASE_RETURN("采退入库", "t_psi_inbound" ),
|
|
|
+ INVENTORY_PROFIT("盘盈入库", "t_psi_inbound" ),
|
|
|
+ MOVE("库位移动", "t_psi_transfer" );
|
|
|
//endregion
|
|
|
//单据类型名称
|
|
|
private String value;
|
|
|
//表名
|
|
|
private String tableName;
|
|
|
- //主键
|
|
|
- private String primaryKey;
|
|
|
- //有后续业务流程的才需要以下2个属性
|
|
|
- //feign接口类路径
|
|
|
- private String feignPath;
|
|
|
- //feign接口方法名
|
|
|
- private String methodName;
|
|
|
|
|
|
public String getValue() {
|
|
|
return value;
|
|
|
@@ -1803,24 +1795,9 @@ public class Constant {
|
|
|
return tableName;
|
|
|
}
|
|
|
|
|
|
- public String getPrimaryKey() {
|
|
|
- return primaryKey;
|
|
|
- }
|
|
|
-
|
|
|
- public String getFeignPath() {
|
|
|
- return feignPath;
|
|
|
- }
|
|
|
-
|
|
|
- public String getMethodName() {
|
|
|
- return methodName;
|
|
|
- }
|
|
|
-
|
|
|
- InventoryDocCode(String value, String tableName, String primaryKey, String feignPath, String methodName) {
|
|
|
+ InventoryDocCode(String value, String tableName) {
|
|
|
this.value = value;
|
|
|
this.tableName = tableName;
|
|
|
- this.primaryKey = primaryKey;
|
|
|
- this.feignPath = feignPath;
|
|
|
- this.methodName = methodName;
|
|
|
}
|
|
|
|
|
|
//获取指定的枚举
|