Example #1
0
 /// <summary>
 /// 获取募集进度
 /// </summary>
 /// <param name="projectId"></param>
 /// <returns></returns>
 protected string getInvestmentProgress(li_projects pro)
 {
     return
         (pro.GetInvestmentProgress(
              (total, projectAmount) =>
              new BasePage.ProjectInvestmentProgress {
         total = total, projectAmount = projectAmount
     })
          .GetInvestmentProgress() + "%");
 }
Example #2
0
 /// <summary>
 /// 获取项目进度参数
 /// </summary>
 /// <param name="projectId"></param>
 /// <returns></returns>
 protected static ProjectInvestmentProgress GetProjectInvestmentProgress(li_projects pro)
 {
     return(pro.GetInvestmentProgress((total, projectAmount) => new ProjectInvestmentProgress {
         total = total, projectAmount = projectAmount
     }));
 }