| | |
| | | } |
| | | oCN.Commit();//ç»æäºå¡ |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®ä¸åå¨,æ æ³å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | |
| | | //else if (DataType == 2) |
| | | //{ |
| | | // var NumData = HInterID.Split(','); |
| | | |
| | | // //è·åç³»ç»åæ° |
| | | // string sReturn = ""; |
| | | // oSystemParameter.ShowBill(ref sReturn); |
| | | |
| | | // for (int i = 0; i < NumData.Length; i++) |
| | | // { |
| | | |
| | | // ds = oCN.RunProcReturn("select * from h_v_JIT_Sc_WorkBillSortBillList_Left where 1=1 and hmainid=" + NumData[i], "h_v_JIT_Sc_WorkBillSortBillList"); |
| | | |
| | | // if (ds.Tables[0].Rows.Count > 0) |
| | | // { |
| | | // if (ds.Tables[0].Rows[0]["åæ®ç¶æ"].ToString() != "1") |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "å½ååæ®ä¸è½å é¤ï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | |
| | | // oCN.BeginTran();//å¼å¯äºå¡ |
| | | |
| | | // oCN.RunProc($"delete from Sc_WorkBillSortBillMain where HInterID={ NumData[i]}"); |
| | | |
| | | // oCN.Commit();//ç»æäºå¡ |
| | | // } |
| | | |
| | | // } |
| | | // objJsonResult.code = "1"; |
| | | // objJsonResult.count = 1; |
| | | // objJsonResult.Message = "å 餿åï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®ä¸åå¨,æ æ³å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |