| | |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("Select * from Gy_BarCodeBill_Set_Temp Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | ds_his = oCN.RunProcReturn("Select * from Gy_BarCodeBill_Set_Temp_His Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp_His", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (ds.Tables[0].Rows.Count != 0 || ds_his.Tables[0].Rows.Count != 0) // Setæ¡ç 表æè
Setæ¡ç åå²è¡¨ä¸éè¦æå¯¹åºæ°æ® |
| | | { |
| | | //ds = oCN.RunProcReturn("Select * from Gy_BarCodeBill_Set_Temp Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ds_his = oCN.RunProcReturn("Select * from Gy_BarCodeBill_Set_Temp_His Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp_His", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //if (ds.Tables[0].Rows.Count != 0 || ds_his.Tables[0].Rows.Count != 0) // Setæ¡ç 表æè
Setæ¡ç åå²è¡¨ä¸éè¦æå¯¹åºæ°æ® |
| | | //{ |
| | | DataSet ds_delcheck; |
| | | oCN.BeginTran(); |
| | | //å é¤åæ§å¶========================================= |
| | |
| | | } |
| | | //========================================================= |
| | | |
| | | // 忶坹Set表åSetåå²è¡¨ä¸çæ°æ®è¿è¡å é¤ |
| | | // 忶坹Set临æ¶è¡¨ä¸çæ°æ®è¿è¡å é¤ |
| | | ds = oCN.RunProcReturn("Delete from Gy_BarCodeBill_Set_Temp Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | ds_his = oCN.RunProcReturn("Delete from Gy_BarCodeBill_Set_Temp_His Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp_His", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | //ds_his = oCN.RunProcReturn("Delete from Gy_BarCodeBill_Set_Temp_His Where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill_Set_Temp_His", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | |
| | | //å é¤åæ§å¶========================================= |
| | |
| | | objJsonResult.Message = "å 餿å"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¡ç ä¸åå¨"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //} |
| | | //else |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "æ¡ç ä¸åå¨"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | } |
| | | catch (Exception e) |
| | | { |