| | |
| | | return objJsonResult; |
| | | } |
| | | |
| | | // 代ç é¤å»èªèº«å¤ ä¸è½éå¤ |
| | | var dsHNumberCheck = oCN.RunProcReturn($@" |
| | | select top 1 HItemID from Gy_RepairCheck where HStopflag = 0 and HNumber = '{HNumber}' and HItemID != {HItemID} |
| | | ", "Gy_Repair"); |
| | | |
| | | if (dsHNumberCheck.Tables[0].Rows.Count > 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç éå¤!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | |
| | | return objJsonResult; |
| | | } |
| | | |
| | | var dsHNumberCheck = oCN.RunProcReturn($@" |
| | | select top 1 HItemID from Gy_RepairCheck where HStopflag = 0 and HNumber = '{HNumber}' |
| | | ", "Gy_Repair"); |
| | | |
| | | if (dsHNumberCheck.Tables[0].Rows.Count > 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç éå¤!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |