|
@ -3031,14 +3031,15 @@ public class DsyyEntranceService {
|
|
|
data.put("pageSize",size);
|
|
|
data.put("pageNo",page);
|
|
|
data.put("orders",orders);
|
|
|
JSONObject item = new JSONObject();
|
|
|
if (StringUtils.isNoneBlank(patientId)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","PATIENT_ID");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",patientId);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(visitNo)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","VISIT_NO");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",visitNo);
|
|
@ -3093,32 +3094,37 @@ public class DsyyEntranceService {
|
|
|
data.put("pageSize",size);
|
|
|
data.put("pageNo",page);
|
|
|
data.put("orders",orders);
|
|
|
JSONObject item = new JSONObject();
|
|
|
|
|
|
if (StringUtils.isNoneBlank(idcard)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","idcard");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",idcard);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(cardNo)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","cardNo");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",cardNo);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","startTime");
|
|
|
item.put("type","ge");
|
|
|
item.put("value",startTime);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(endTime)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","endTime");
|
|
|
item.put("type","le");
|
|
|
item.put("value",endTime);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(reportId)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","reportId");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",reportId);
|
|
@ -3170,32 +3176,37 @@ public class DsyyEntranceService {
|
|
|
data.put("pageSize",size);
|
|
|
data.put("pageNo",page);
|
|
|
data.put("orders",orders);
|
|
|
JSONObject item = new JSONObject();
|
|
|
|
|
|
if (StringUtils.isNoneBlank(idcard)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","idcard");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",idcard);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(cardNo)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","cardNo");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",cardNo);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","startTime");
|
|
|
item.put("type","ge");
|
|
|
item.put("value",startTime);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(endTime)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","endTime");
|
|
|
item.put("type","le");
|
|
|
item.put("value",endTime);
|
|
|
condition.add(item);
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(reportId)){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("column","reportId");
|
|
|
item.put("type","eq");
|
|
|
item.put("value",reportId);
|