/// <summary> /// 获取所有提成比例 /// </summary> /// <returns></returns> public static Dt_commission[] query() { try { return(Dt_commissionDao.FindAll(new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中))); } catch (Exception ex) { Log.Error(ex.Message); MessageHelper.ShowMessage("E999", ex.Message); return(null); } }
/// <summary> /// 查询 /// </summary> /// <param name="obj"></param> /// <returns></returns> public static Dt_commission[] Query() { try { Dt_commission[] c = Dt_commissionDao.FindAll(new Order("Name", true), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中)); return(c); //return true; } catch (Exception ex) { Log.Error(ex.Message); return(null); } }