|
@ -356,6 +356,16 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
Integer newtotalCount = 0;
|
|
|
com.alibaba.fastjson.JSONObject returnJson = new com.alibaba.fastjson.JSONObject();
|
|
|
com.alibaba.fastjson.JSONArray filterJsonArray = new com.alibaba.fastjson.JSONArray();
|
|
|
|
|
|
if(StringUtils.isEmpty(applyTimeFrom)){
|
|
|
applyTimeEnd = DateUtil.getStringDateShort();
|
|
|
Calendar c = Calendar.getInstance();
|
|
|
c.setTime(new Date());
|
|
|
c.add(Calendar.MONTH, -2);
|
|
|
c.add(Calendar.DATE, 1);
|
|
|
applyTimeFrom = DateUtil.dateToStrShort(c.getTime());
|
|
|
}
|
|
|
|
|
|
com.alibaba.fastjson.JSONObject re = jwPrescriptionService.getRecipeMasterList(patientCode,applyTimeFrom,applyTimeEnd);
|
|
|
totalCount = re.getInteger("totalCount");
|
|
|
if(totalCount>start){
|
|
@ -422,7 +432,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
//糖尿病
|
|
|
dis = tnb;
|
|
|
}
|
|
|
|
|
|
|
|
|
for (int j = 0; j < des.size(); j++) {
|
|
|
PrescriptionDiagnosis ds = des.getObject(j, PrescriptionDiagnosis.class);
|
|
|
//如果含有选择病症,标记为true
|