|
@ -1,9 +1,20 @@
|
|
|
package com.yihu.wlyy.service.app.prescription;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.yihu.wlyy.entity.dict.SystemDict;
|
|
|
import com.yihu.wlyy.entity.patient.prescription.PrescriptionInfo;
|
|
|
import com.yihu.wlyy.repository.dict.SystemDictDao;
|
|
|
import com.yihu.wlyy.repository.prescription.PrescriptionInfoDao;
|
|
|
import com.yihu.wlyy.service.BaseService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* Created by Trick on 2017/7/25.
|
|
|
*/
|
|
@ -12,7 +23,8 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
public class PrescriptionInfoService extends BaseService {
|
|
|
@Autowired
|
|
|
private PrescriptionInfoDao prescriptionInfoDao;
|
|
|
|
|
|
@Autowired
|
|
|
private SystemDictDao systemDictDao;
|
|
|
/**
|
|
|
* 获取处方下的详细药品
|
|
|
* @param prescriptionCode
|
|
@ -21,8 +33,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
public List<PrescriptionInfo> getPrescriptionInfo(String prescriptionCode) {
|
|
|
return prescriptionInfoDao.findByPrescriptionCode(prescriptionCode);
|
|
|
}
|
|
|
@Autowired
|
|
|
private SystemDictDao systemDictDao;
|
|
|
|
|
|
|
|
|
public JSONObject getPrescriptionFilter(){
|
|
|
|