|
@ -281,8 +281,8 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
*/
|
|
|
public com.alibaba.fastjson.JSONObject getPrescription(String code,String patient) {
|
|
|
Patient p = patientDao.findByCode(patient);
|
|
|
|
|
|
String rs = jwPrescriptionService.getRecipe(code, p.getSsc());
|
|
|
Prescription prescription = prescriptionDao.findByCode(code);
|
|
|
String rs = jwPrescriptionService.getRecipe(prescription.getJwCode(), p.getSsc());
|
|
|
com.alibaba.fastjson.JSONObject r = presModeAdapter.modelToSinglePrescription(rs);
|
|
|
String rState = presCheckStateObj(code);
|
|
|
if ("1".equals(rState)) {
|