public static PriceSetEntity GetPriceSetById(long gid) { PriceSetEntity result = new PriceSetEntity(); PriceSetRepository mr = new PriceSetRepository(); PriceSetInfo info = mr.GetPriceSetByKey(gid); result = TranslatePriceSetEntity(info); return(result); }
public static PriceSetEntity GetPriceSetEntityById(long cid) { PriceSetEntity result = new PriceSetEntity(); PriceSetRepository mr = new PriceSetRepository(); PriceSetInfo info = mr.GetPriceSetByKey(cid); result = TranslatePriceSetEntity(info); //获取联系人信息 //result.listContact= ContactService.GetContactByRule(UnionType.PriceSet.ToString(), info.PriceSetID); return(result); }