|
@ -1,6 +1,7 @@
|
|
|
package com.yihu.wlyy.service.service.prescription;
|
|
|
|
|
|
import com.yihu.wlyy.service.common.model.Result;
|
|
|
import com.yihu.wlyy.service.common.util.DateUtil;
|
|
|
import com.yihu.wlyy.service.dao.*;
|
|
|
import com.yihu.wlyy.service.dao.prescription.*;
|
|
|
import com.yihu.wlyy.service.entity.Doctor;
|
|
@ -388,9 +389,16 @@ public class PrescriptionService extends ZysoftBaseService{
|
|
|
|
|
|
Map<String,String> params = new HashMap<>();
|
|
|
params.put("cardNo",cardNo);
|
|
|
if(StringUtils.isEmpty(recipeNo)){
|
|
|
recipeNo = "0";
|
|
|
}
|
|
|
params.put("recipeNo",recipeNo);
|
|
|
// params.put("applyTimeFrom",applyTimeFrom);
|
|
|
// params.put("applyTimeEnd",applyTimeEnd);
|
|
|
if(StringUtils.isEmpty(applyTimeFrom)){
|
|
|
applyTimeEnd = DateUtil.getStringDateShort();
|
|
|
applyTimeFrom = DateUtil.getNextDay(new Date(),-60);
|
|
|
}
|
|
|
params.put("applyTimeFrom",applyTimeFrom);
|
|
|
params.put("applyTimeEnd",applyTimeEnd);
|
|
|
|
|
|
String response = postSecond("getLastRecipe","调阅历史处方接口",params,null,header,false,2);
|
|
|
|