|
@ -10,7 +10,6 @@ import com.yihu.wlyy.repository.prescription.PrescriptionDao;
|
|
|
import com.yihu.wlyy.repository.prescription.PrescriptionReviewedDao;
|
|
|
import com.yihu.wlyy.service.BaseService;
|
|
|
import com.yihu.wlyy.service.third.jw.JwPrescriptionService;
|
|
|
import com.yihu.wlyy.util.DateUtil;
|
|
|
import com.yihu.wlyy.util.ImUtill;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@ -84,14 +83,6 @@ public class PrescriptionAdjustService extends BaseService {
|
|
|
prescription.setRecipeNo(recipeNo);
|
|
|
prescriptionDao.save(prescription);
|
|
|
|
|
|
//发送Im消息
|
|
|
JSONObject content = new JSONObject();
|
|
|
content.put("title", "我已经审核您" + DateUtil.dateToStr(prescription.getCreateTime(), "yyyy-MM-dd") + "发起的续方申请");
|
|
|
content.put("result", "审核通过");
|
|
|
content.put("reason", "");
|
|
|
content.put("url", "");
|
|
|
imUtill.sendTopicIM(prescription.getDoctor(), prescription.getDoctorName(), prescription.getConsult(), "15", content.toString(), null);
|
|
|
|
|
|
//添加日志
|
|
|
prescriptionLogService.addLog(prescription,PrescriptionLog.PrescriptionLogType.zy.getValue(),1,2);
|
|
|
|