Browse Source

Merge branch 'dev' of chenweida/patient-co-management into dev

chenweida 8 years ago
parent
commit
fe083c0136

+ 2 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/job/consult/EvaluateScoreJob.java

@ -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) {
                //获取医生的所有评价信息