Răsfoiți Sursa

三水厂的订单校验再加上

fubin 2 ani în urmă
părinte
comite
01fd84b6ce
1 a modificat fișierele cu 12 adăugiri și 10 ștergeri
  1. 12 10
      DK.Service/PMModuleLogic/PMModuleLogicDAL.cs

+ 12 - 10
DK.Service/PMModuleLogic/PMModuleLogicDAL.cs

@@ -23062,11 +23062,12 @@ updateuserid=:updateuserid where barcode=:barcode";
                         return entity;
                     }
 
-                    //if (!"5000".Equals(EV_WERKS))
-                    //{
-                    //    entity.Result = -1;
-                    //    entity.Message += "订单不属于当前工厂\n";
-                    //}
+                    // 只有三水厂校验
+                    if (!"5000".Equals(EV_WERKS))
+                    {
+                        entity.Result = -1;
+                        entity.Message += "订单不属于当前工厂\n";
+                    }
 
                     if (string.IsNullOrEmpty(EV_MATNR))
                     {
@@ -23346,11 +23347,12 @@ updateuserid=:updateuserid where barcode=:barcode";
                             return entity;
                         }
 
-                        //if (!"5000".Equals(EV_WERKS))
-                        //{
-                        //    entity.Result = -1;
-                        //    entity.Message += "订单不属于当前工厂\n";
-                        //}
+                        // 只有三水厂校验
+                        if (!"5000".Equals(EV_WERKS))
+                        {
+                            entity.Result = -1;
+                            entity.Message += "订单不属于当前工厂\n";
+                        }
 
                         if (string.IsNullOrEmpty(EV_MATNR))
                         {