|
@@ -25,11 +25,11 @@ public interface ProjectRecodeDao extends JpaRepository<ProjectRecode,Long>,JpaS
|
|
|
Long sumMoney(@Param("uuid")Long uuid);
|
|
Long sumMoney(@Param("uuid")Long uuid);
|
|
|
|
|
|
|
|
//查询所有项目已筹集金额
|
|
//查询所有项目已筹集金额
|
|
|
- @Query("select sum(amount) from ProjectRecode ")
|
|
|
|
|
|
|
+ @Query("select sum(amount) from ProjectRecode where status=2")
|
|
|
Double totality();
|
|
Double totality();
|
|
|
|
|
|
|
|
//查询所有的项目历史总参与人数
|
|
//查询所有的项目历史总参与人数
|
|
|
- @Query("select count(*) from ProjectRecode")
|
|
|
|
|
|
|
+ @Query("select count(*) from ProjectRecode where status=2")
|
|
|
Long historyPerson();
|
|
Long historyPerson();
|
|
|
|
|
|
|
|
//查询某项目参与总人数
|
|
//查询某项目参与总人数
|