1
huanghongfeng
2 天以前 a34059e688e947a2ea079a0646872f1a21089940
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_SelectionStandardsService.cs
@@ -27,6 +27,7 @@
                decimal upperValue = Convert.ToDecimal(saveModel.MainData["upperValue"]);
                int isCantainGK = saveModel.MainData["isCantainGK"].ObjToInt();
                string PostContainer = saveModel.MainData["postContainer"].ToString();
                decimal Estimatedvalue = Convert.ToDecimal(saveModel.MainData["estimatedvalue"]);
                if (lowerValue < 0 || upperValue < 0) throw new Exception("过盈量值异常");
@@ -61,6 +62,7 @@
                    upperValue_gk = upperValue_gk,
                    upperValue = upperValue,
                    PostContainer = PostContainer,
                    Estimatedvalue = Estimatedvalue,
                };
                if (BaseDal.AddData(selectionStandards) > 0)
@@ -94,13 +96,15 @@
                string gkdj = saveModel.MainData["gkdj"].ToString();
                decimal lowerValue = Convert.ToDecimal(saveModel.MainData["lowerValue"]);
                decimal upperValue = Convert.ToDecimal(saveModel.MainData["upperValue"]);
                decimal Estimatedvalue = Convert.ToDecimal(saveModel.MainData["estimatedvalue"]);
                string PostContainer = saveModel.MainData["postContainer"].ToString();
                int isCantainGK = saveModel.MainData["isCantainGK"].ObjToInt();
                Dt_SelectionStandards dt_Selection = BaseDal.QueryFirst(x => x.ID == id);
                dt_Selection.Estimatedvalue = Estimatedvalue;
                dt_Selection.CarType = carType;
                dt_Selection.mttype = mttype;
                dt_Selection.neworold = neworold;