|
@ -1169,7 +1169,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
return rs;
|
|
|
}
|
|
|
|
|
|
public JSONArray getDoctorPrescriptionExpressage(Integer teamCode, String nameKey, String startDate, String endDate, String hospital, String state, String dispensaryType, String AllocationType, Integer page, Integer size) {
|
|
|
public List<Map<String,Object>> getDoctorPrescriptionExpressage(Integer teamCode, String nameKey, String startDate, String endDate, String hospital, String state, String dispensaryType, String AllocationType, Integer page, Integer size) {
|
|
|
|
|
|
StringBuffer pre_sql = new StringBuffer("SELECT " +
|
|
|
" p.`name`, " +
|
|
@ -1182,7 +1182,13 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
" pr.doctor, " +
|
|
|
" pr.dispensary_type AS dispensaryType," +
|
|
|
" e.expressage_code AS expressageCode, " +
|
|
|
" e.expressage_name AS expressageName " +
|
|
|
" e.expressage_name AS expressageName, " +
|
|
|
" e.expressage_hospital_address AS expressageHospitalAddress, " +
|
|
|
" e.expressage_hospital_name AS expressageHospitalName, " +
|
|
|
" e.expressage_hospital_code AS expressageHospitalCode," +
|
|
|
" e.patient_hospital_address AS patientHospitalAddress, " +
|
|
|
" e.patient_hospital_name AS patientHospitalName, " +
|
|
|
" e.patient_hospital_code AS patientHospitalCode " +
|
|
|
" FROM " +
|
|
|
" wlyy_prescription pr " +
|
|
|
" LEFT JOIN wlyy_patient p ON pr.patient = p.`code` " +
|
|
@ -1198,7 +1204,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
map.put("prescriptionInfo", prescriptionDiagnosisService.getPrescriptionInfo(code));
|
|
|
map.put("prescriptionDt", prescriptionDiagnosisService.getPrescriptionDiagnosis(code));
|
|
|
}
|
|
|
return new JSONArray(rs);
|
|
|
return rs;
|
|
|
}
|
|
|
|
|
|
public JSONObject getDoctorPrescriptionExpressageTotal(Integer teamCode, String nameKey, String startDate, String endDate, String hospital, String state, String dispensaryType, String AllocationType) {
|