/// <summary> /// 更新退货明细表 /// </summary> /// <param name="Keys"></param> /// <param name="ui"></param> /// <param name="status">1--同意/0--拒绝/other--错误</param> /// <returns></returns> public bool UpdateReturnStatus(SalerReturnModel[] Keys, UserInfo ui, string status) { SalerReturnDAO dao = new SalerReturnDAO(); bool flg = false; try { flg = dao.UpdateReturnStatus(Keys, ui, status); } catch (Exception e) { throw e; } return(flg); }
/// <summary> /// 查询退货单列表 /// </summary> /// <param name="plats">受管理的平台集合</param> /// <param name="input">页面输入参数</param> /// <param name="pageParam">分业参数</param> /// <param name="rows">数据行数</param> /// <returns></returns> public DataTable findDealList(string[] plats, SalerReturnModel input, PagedParameter pageParam, out int rows) { SalerReturnDAO dao = new SalerReturnDAO(); DataTable dt = null; try { dt = dao.findDealList(plats, input, pageParam, out rows); } catch (Exception e) { throw e; } return(dt); }