yuyou_x
2024-06-07 e67692e10bd18b95e0320540d0e91bd537acbae8
Wms/WMS.BLL/SysServer/MaterialsServer.cs
@@ -150,7 +150,7 @@
                if (count > 0)
                {
                    throw new Exception("物料编码重复");
                    return 2;
                }
@@ -209,14 +209,6 @@
            //捕获异常
            try
            {
                int count = GetMateByNo(matedto.SkuNo);
                if (count > 0)
                {
                    throw new Exception("物料编码重复");
                }
                if (matedto.AdventTime > 365 && matedto.AdventTime < 30)
                {
                    return 2;