|
@ -2268,6 +2268,16 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
rs.put("workTime",times);
|
|
|
}
|
|
|
|
|
|
//专家咨询
|
|
|
String zjCountsql = "SELECT id FROM wlyy_consult_team WHERE doctor='"+doctor+"' AND (type=1 OR type=15)";
|
|
|
List<Map<String,Object>> zjList = jdbcTemplate.queryForList(sql);
|
|
|
|
|
|
if(zjList!=null&&zjList.size()>0){
|
|
|
rs.put("zjCount",zjList.size());
|
|
|
}else{
|
|
|
rs.put("zjCount",0);
|
|
|
}
|
|
|
|
|
|
//查询医生各项评价平均分
|
|
|
String sqlscore = "SELECT " +
|
|
|
"AVG(a.score) AS score," +
|