public md_cashdraw_app UpdateCashdraw(md_cashdraw_app info, out string error)
 {
     error = string.Empty;
     try
     {
         md_cashdraw_app_DA da = new md_cashdraw_app_DA();
         da.UpdateCashdraw(info, out error);
         return info;
     }
     catch (Exception ex)
     {
         error = Share.BaseTool.FormatExceptionMessage(ex);
         return null;
     }
 }
 public List<md_cashdraw_app> SearchCashdrawList(int drid, DateTime? app_time1, DateTime? app_time2, string opuser, DateTime? optime1, DateTime? optime2, int opstatus, orderbyEnum? orderby, string orderbyCol, int pageIndex, int pageSize, out int record, out string error)
 {
     record = 0;
     error = string.Empty;
     try
     {
         md_cashdraw_app_DA da = new md_cashdraw_app_DA();
         var resultList = da.SearchCashdrawList(drid, app_time1, app_time2, opuser, optime1, optime2, opstatus, orderby, orderbyCol, pageIndex, pageSize, out record,out error);
         return resultList;
     }
     catch (Exception ex)
     {
         error += BaseTool.FormatExceptionMessage(ex);
         return null;
     }
 }
 /// <summary>
 /// 更新提现申请集合
 /// </summary>
 /// <param name="list"></param>
 /// <param name="error"></param>
 /// <returns></returns>
 public bool UpdateChashdrawList(List<md_cashdraw_app> list,out string error)
 {
     error = string.Empty;
     try
     {
         md_cashdraw_app_DA da = new md_cashdraw_app_DA();
         return da.UpdateChashdrawList(list, out error);
     }
     catch (Exception ex)
     {
         error = "修改失败";
         return false;
     }
 }