/// <summary> /// 修改包裹打包明细 /// </summary> /// <param name="mod"></param> /// <returns></returns> public override void UpdateModList(Model.Transport.DsWhPackageList mod) { Context.Update("DsWhPackage", mod).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute(); }
/// <summary> /// 修改包裹打包明细 /// </summary> /// <param name="mod"></param> /// <returns></returns> public void UpdateModList(Model.Transport.DsWhPackageList mod) { IDsWhPackageDao.Instance.UpdateModList(mod); }
/// <summary> /// 添加包裹打包明细 /// </summary> /// <param name="mod"></param> /// <returns></returns> public override int InsertModList(Model.Transport.DsWhPackageList mod) { return(Context.Insert("DsWhPackageList", mod).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo")); }
/// <summary> /// 添加包裹打包明细 /// </summary> /// <param name="mod"></param> /// <returns></returns> public int InsertModList(Model.Transport.DsWhPackageList mod) { return IDsWhPackageDao.Instance.InsertModList(mod); }