提交代码

This commit is contained in:
2024-09-24 14:48:23 +08:00
parent 1e2fb71789
commit a010e5e2a2
4 changed files with 171 additions and 169 deletions
+35 -34
View File
@@ -1,38 +1,38 @@
using System.Collections.Generic;
namespace BLL;
public class TwConst
namespace BLL
{
public enum InOutType : int
public class TwConst
{
= 1,
= 2,
}
public enum TypeInt : int
{
= 10,
退 = 20,
= 30,
= 40,
= 50,
= 60,
}
public enum Category : int
{
= 0,
= 1,
= 2,
}
public enum State : int
{
= -1,
= 0,
= 1,
= 2,
= 3,
}
public static Dictionary<string, int> TypeIntMap = new Dictionary<string, int>
public enum InOutType : int
{
= 1,
= 2,
}
public enum TypeInt : int
{
= 10,
退 = 20,
= 30,
= 40,
= 50,
= 60,
}
public enum Category : int
{
= 0,
= 1,
= 2,
}
public enum State : int
{
= -1,
= 0,
= 1,
= 2,
= 3,
}
public static Dictionary<string, int> TypeIntMap = new Dictionary<string, int>
{
{ "采购入库" ,(int)TypeInt.},
{ "退料入库" ,(int)TypeInt.退},
@@ -41,7 +41,7 @@ public class TwConst
{ "补料出库" ,(int)TypeInt.},
{ "其他出库" ,(int)TypeInt.}
};
public static Dictionary<string, int> StateMap = new Dictionary<string, int>
public static Dictionary<string, int> StateMap = new Dictionary<string, int>
{
{ "待提交" ,(int)State.},
{ "待审核" ,(int)State.},
@@ -49,9 +49,10 @@ public class TwConst
{ "已完成" ,(int)State.},
{ "审核被拒" ,(int)State.},
};
public static Dictionary<string, int> CategoryMap = new Dictionary<string, int>
public static Dictionary<string, int> CategoryMap = new Dictionary<string, int>
{
{ "管件" ,(int)Category.},
{ "管段" ,(int)Category.},
{ "管段" ,(int)Category.},
};
}
}