| | |
| | | oCN.RunProc("delete from Gy_EquipFileBillSub_DotCheckRule where HInterID = " + HInterID ); |
| | | } |
| | | int i = 0; |
| | | //保存保养规格 |
| | | //保存保养规程 |
| | | foreach (ClsGy_EquipFileBillSub_MaintainRule oSub in MaintainRuleColl) |
| | | { |
| | | i++; |
| | |
| | | { |
| | | 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; |
| | |
| | | //修改上级为非末级代码 |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "保存子表成功!"; |
| | | objJsonResult.Message = "保存成功!"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |