public abstract void UpdateItem(FnPurchasePaymentOrderItem item);
public abstract int InsertItem(FnPurchasePaymentOrderItem item);
public override void UpdateItem(FnPurchasePaymentOrderItem item) { Context.Update("FnPurchasePaymentOrderItem", item).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute(); }
public override int InsertItem(FnPurchasePaymentOrderItem item) { return(Context.Insert("FnPurchasePaymentOrderItem", item).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo")); }
/// <summary> /// 更新采购单明细 /// </summary> /// <param name="item"></param> public void UpdateItem(FnPurchasePaymentOrderItem item) { IPurchasePaymentOrderDao.Instance.UpdateItem(item); }
/// <summary> /// 添加采购申请单明细 /// </summary> /// <param name="item"></param> /// <returns></returns> public int InsertItem(FnPurchasePaymentOrderItem item) { return(IPurchasePaymentOrderDao.Instance.InsertItem(item)); }