|
@ -1086,8 +1086,8 @@ public class DoctorSchemeService extends BaseService{
|
|
|
" t.del='1' " +
|
|
|
" AND t.doctor_code = '"+doctor+"' " +
|
|
|
" AND t.team_code = "+teamCode +
|
|
|
" AND t.create_time >= '"+startDate+"' " +
|
|
|
" AND t.create_time <= '"+endDate+"'";
|
|
|
" AND t.create_time >= '"+startDate+" 00:00:00' " +
|
|
|
" AND t.create_time <= '"+endDate+" 23:59:59'";
|
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
if(list!=null&&list.size()>0){
|
|
|
Long total = (Long)list.get(0).get("total");
|
|
@ -1554,7 +1554,8 @@ public class DoctorSchemeService extends BaseService{
|
|
|
" p.`name`, " +
|
|
|
" IFNULL(year( from_days( datediff( now(), p.birthday))),'未知') age, " +
|
|
|
" p.photo, " +
|
|
|
" p.idcard " +
|
|
|
" p.idcard," +
|
|
|
" p.sex " +
|
|
|
" FROM " +
|
|
|
" " +
|
|
|
"( " +
|
|
@ -1811,7 +1812,8 @@ public class DoctorSchemeService extends BaseService{
|
|
|
" t3.total AS highCount, " +
|
|
|
" p.`name`, " +
|
|
|
" IFNULL(year( from_days( datediff( now(), p.birthday))),'未知') age, " +
|
|
|
" p.photo " +
|
|
|
" p.photo, " +
|
|
|
" p.sex" +
|
|
|
" FROM " +
|
|
|
" " +
|
|
|
" ( " +
|