yangle
2024-09-24 cdaf126a48444b9c055f44c7266a7d43343aeb1e
Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
1个文件已修改
8 ■■■■ 已修改文件
WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SBGL/Gy_EquipFileMainController.cs
@@ -513,7 +513,7 @@
                    oCN.RunProc("delete from Gy_EquipFileBillSub_DotCheckRule where HInterID = " + HInterID );
                }
                int i = 0;
                //保存保养规格
                //保存保养规程
                foreach (ClsGy_EquipFileBillSub_MaintainRule oSub in MaintainRuleColl)
                {
                    i++;
@@ -521,9 +521,9 @@
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + i + "行,保养规格不能为空";
                        objJsonResult.Message = "第" + i + "行,保养规程不能为空";
                        objJsonResult.data = null;
                        throw new Exception("保养规格不能为空");
                        throw new Exception("保养规程不能为空");
                }
                    DataSet Cs;
                    Int64 NewHEntryID = 1;
@@ -589,7 +589,7 @@
                //修改上级为非末级代码
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "保存子表成功!";
                objJsonResult.Message = "保存成功!";
                //objJsonResult.data = null;
                return objJsonResult;
        }