|
@ -43,8 +43,8 @@ public class EvaluateScoreJob implements Job{
|
|
|
try {
|
|
|
System.out.println("calculate evaluate job start");
|
|
|
String doctorsSql = "select w.doctor from wlyy_evaluate w group by w.doctor";
|
|
|
String sql = "select sum(w.score) as score from wlyy_evaluate_socre w where w.doctor =? ";
|
|
|
String evaluateTimesSql = "select count(1) as count from wlyy_evaluate_socre w where w.doctor =? GROUP BY w.doctor";
|
|
|
String sql = "select sum(w.score) as score from wlyy_evaluate_score w where w.doctor =? ";
|
|
|
String evaluateTimesSql = "select count(1) as count from wlyy_evaluate_score w where w.doctor =? GROUP BY w.doctor";
|
|
|
List<Map<String, Object>> doctorList = jdbcTemplate.queryForList(doctorsSql);
|
|
|
for (Map<String, Object> doctorMap : doctorList) {
|
|
|
//获取医生的所有评价信息
|