|
@ -50,8 +50,8 @@ public class PrescriptionDiagnosisService extends BaseService{
|
|
if(list!=null&&list.size()>0){
|
|
if(list!=null&&list.size()>0){
|
|
for (PrescriptionDiagnosis diagnosis:list){
|
|
for (PrescriptionDiagnosis diagnosis:list){
|
|
JSONObject json = new JSONObject();
|
|
JSONObject json = new JSONObject();
|
|
json.put("code",diagnosis.getCode());//疾病代码
|
|
|
|
json.put("name",diagnosis.getName());//疾病名称
|
|
|
|
|
|
json.put("code",diagnosis.getHealthProblem());//疾病代码
|
|
|
|
json.put("name",diagnosis.getHealthProblemName());//疾病名称
|
|
jsonArray.add(json);
|
|
jsonArray.add(json);
|
|
}
|
|
}
|
|
re = jsonArray.toString();
|
|
re = jsonArray.toString();
|