| | |
| | | throw (e); |
| | | } |
| | | } |
| | | //å é¤å表 |
| | | //ä¿å
»è®¡åå é¤å表1 |
| | | public void DeleteBillSub(Int64 lngBillKey) |
| | | { |
| | | oCn.RunProc("Delete From " + MvarItemKeySub + " where HInterID=" + lngBillKey.ToString()); |
| | | } |
| | | //å é¤å表 |
| | | //ä¿å
»è®¡åå é¤å表2 |
| | | public void DeleteBillSub2(Int64 lngBillKey) |
| | | { |
| | | if (MvarItemKeySub2 != "") |
| | |
| | | //忮巿¯å¦éå¤ |
| | | public virtual bool IsExistBillNo(ref string sReturn, string sBillNo, ClsPub.Enum_BillStatus oBillStatus, Int64 lngBillKey) |
| | | { |
| | | string sSql = ""; |
| | | try |
| | | { |
| | | string sSql = ""; |
| | | |
| | | if (oBillStatus == ClsPub.Enum_BillStatus.BillStatus_AddNew) |
| | | { |
| | | sSql = "Select HInterID from " + MvarItemKey + " where hbilltype='" + BillType + "'and HBillNO ='" + sBillNo + "'"; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | sReturn = e.Message; |
| | | throw (e); |
| | | sReturn = e.Message+"sql:"+ sSql; |
| | | return false; |
| | | } |
| | | } |
| | | #endregion |