|
@ -1479,7 +1479,7 @@ public class ImService {
|
|
|
net.sf.json.JSONObject data = new net.sf.json.JSONObject();
|
|
|
data.put("name",patient.getName());
|
|
|
data.put("age",IdCardUtil.getAgeForIdcard(patient.getIdcard()));
|
|
|
data.put("gender",patient.getSex().toString());
|
|
|
data.put("gender", StringUtils.isEmpty(patient.getSex())?null:patient.getSex().toString());
|
|
|
data.put("question",consultTeam.getSymptoms());
|
|
|
|
|
|
String type="";
|
|
@ -2769,7 +2769,7 @@ public class ImService {
|
|
|
" left join wlyy_prescription p on p.outpatient_id = op.id "+
|
|
|
"WHERE op.patient=patient.id " +
|
|
|
"AND op.doctor='"+doctorCode+"' " +
|
|
|
"AND op.status in ('0','1') and op.pay_status=1 ";
|
|
|
"AND op.status in ('0','1','2') and op.pay_status=1 ";
|
|
|
if("9".equals(type)){
|
|
|
//图文复诊
|
|
|
sql =sql +"AND op.type=1 AND op.outpatient_type=1 ";
|