|
@ -2514,6 +2514,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8" +
|
|
|
" AND c.admin_team_code = " + teamCode +
|
|
|
" AND t.create_time >= '" + startDate + "' " +
|
|
|
" AND t.create_time <= '" + endDate + "' " +
|
|
@ -2534,6 +2535,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8" +
|
|
|
" AND c.admin_team_code = " + teamCode +
|
|
|
" AND t. STATUS <> 10 " +
|
|
|
" AND t.`reply` = 0 " +
|
|
@ -2554,6 +2556,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8" +
|
|
|
" AND c.admin_team_code = " + teamCode +
|
|
|
" AND t.create_time >= '" + startDate + "' " +
|
|
|
" AND t.create_time <= '" + endDate + "' " +
|
|
@ -2758,6 +2761,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8"+
|
|
|
" AND c.admin_team_code = " + teamCode +
|
|
|
" AND t.create_time >= '" + startDate + "' " +
|
|
|
" AND t.create_time <= '" + endDate + "' " +
|
|
@ -2798,6 +2802,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8"+
|
|
|
" AND c.admin_team_code = " + teamCode +
|
|
|
" AND t.create_time >= '" + startDate + "' " +
|
|
|
" AND t.create_time <= '" + endDate + "' " +
|
|
@ -2916,6 +2921,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8"+
|
|
|
" AND c.admin_team_code =" + teamCode +
|
|
|
" AND d.id='" + doctor + "'" +
|
|
|
" AND t.create_time <= '" + endDate + "'";
|
|
@ -2933,6 +2939,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8"+
|
|
|
" AND t.`reply`=1 " +
|
|
|
" AND c.admin_team_code =" + teamCode +
|
|
|
" AND d.id='" + doctor + "'" +
|
|
@ -2952,6 +2959,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8"+
|
|
|
" AND c.admin_team_code =" + teamCode +
|
|
|
" AND d.id='" + doctor + "'" +
|
|
|
" AND t.create_time >= '" + startDate + "' " +
|
|
@ -2970,6 +2978,7 @@ public class StatisticsService extends BaseService {
|
|
|
" AND c.consult = t.id " +
|
|
|
" AND c.patient = s.id " +
|
|
|
" AND p.session_id = t.session_id " +
|
|
|
" AND c.type <> 8"+
|
|
|
" AND t. STATUS <> 10 " +
|
|
|
" AND t.`reply` = 0 " +
|
|
|
" AND c.admin_team_code =" + teamCode +
|