@@ -171,4 +173,31 @@ public class FilmReportServiceImpl implements FilmReportService {
...
@@ -171,4 +173,31 @@ public class FilmReportServiceImpl implements FilmReportService {
res.put("list",list);
res.put("list",list);
returnres;
returnres;
}
}
staticBigDecimalNUM_100=BigDecimal.valueOf(100);
@Override
publicObjectqueryFilmReport(){
Integercount_quanbu=jdbcTemplate.queryForInt("select count(id) from fc_review");
Integercount_canzan=jdbcTemplate.queryForInt("select count(id) from fc_review where opt_state = 3 and (enroll_type_id = 4 and review_state = 1)");
Integercount_cansai=jdbcTemplate.queryForInt("select count(id) from fc_review where opt_state = 3 and ((enroll_type_id = 1 and review_state = 1) or (enroll_type_id = 2 and review_state = 1))");
Integercount_foujue=jdbcTemplate.queryForInt("select count(id) from fc_review where opt_state = 3 and review_state = 2");