|
@ -52,8 +52,9 @@ public class PrescriptionPatientDiseaseConvert implements Convert {
|
|
" wlyy_prescription p, " +
|
|
" wlyy_prescription p, " +
|
|
" wlyy_prescription_diagnosis d " +
|
|
" wlyy_prescription_diagnosis d " +
|
|
"WHERE " +
|
|
"WHERE " +
|
|
"p.`code`=d.prescription_code" ;
|
|
|
|
|
|
"p.`code`=d.prescription_code AND p.status=100 ";
|
|
List<Map<String, Object>> diagnosisList = jdbcTemplate.queryForList(sql);
|
|
List<Map<String, Object>> diagnosisList = jdbcTemplate.queryForList(sql);
|
|
|
|
|
|
for (Map<String, Object> map : diagnosisList) {
|
|
for (Map<String, Object> map : diagnosisList) {
|
|
String key= (String) map.get("patient");
|
|
String key= (String) map.get("patient");
|
|
List<String> healthProblemList=returnMap.get(key);
|
|
List<String> healthProblemList=returnMap.get(key);
|