|
@ -3652,8 +3652,8 @@ public class StatisticsService extends BaseService {
|
|
|
|
|
|
public JSONArray getTeamGuidLine(String teamCode, String startDate, String endDate, String type) {
|
|
|
|
|
|
startDate = startDate + " 00:00:00";
|
|
|
endDate = endDate + " 23:59:59";
|
|
|
startDate = startDate + " 17:00:00";
|
|
|
endDate = endDate + " 17:00:00";
|
|
|
String SQL;
|
|
|
if ("0".equals(type)) {
|
|
|
//按周统计
|
|
@ -3688,8 +3688,8 @@ public class StatisticsService extends BaseService {
|
|
|
|
|
|
public JSONArray getTeamDoctorGuidLine(String teamCode, String startDate, String endDate, String type, String doctor) {
|
|
|
|
|
|
startDate = startDate + " 00:00:00";
|
|
|
endDate = endDate + " 23:59:59";
|
|
|
startDate = startDate + " 17:00:00";
|
|
|
endDate = endDate + " 17:00:00";
|
|
|
String SQL;
|
|
|
if ("0".equals(type)) {
|
|
|
//按周统计
|
|
@ -3725,8 +3725,8 @@ public class StatisticsService extends BaseService {
|
|
|
}
|
|
|
|
|
|
public JSONArray getTeamGuidList(String teamCode, String startDate, String endDate, String sort, String sortType) {
|
|
|
startDate = startDate + " 00:00:00";
|
|
|
endDate = endDate + " 23:59:59";
|
|
|
startDate = startDate + " 17:00:00";
|
|
|
endDate = endDate + " 17:00:00";
|
|
|
String totalSql = "SELECT " +
|
|
|
" IFNULL(c.guidanceCount,0) AS guidanceCount, " +
|
|
|
" d.`code` AS doctorCode, " +
|
|
@ -3835,8 +3835,8 @@ public class StatisticsService extends BaseService {
|
|
|
}
|
|
|
|
|
|
public JSONObject getTeamDoctorGuiTitle(String teamCode, String doctor, String startDate, String endDate) {
|
|
|
startDate = startDate + " 00:00:00";
|
|
|
endDate = endDate + " 23:59:59";
|
|
|
startDate = startDate + " 17:00:00";
|
|
|
endDate = endDate + " 17:00:00";
|
|
|
String totalSQL = "SELECT " +
|
|
|
" COUNT(1) AS guidanceCount " +
|
|
|
" FROM " +
|