|
@ -1932,12 +1932,12 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
businessOrderService.savePrescriptionOrder(prescription.getId());
|
|
|
BusinessOrderDO businessOrderDO = businessOrderDao.selectByRelationCode(outpatientDO.getId());
|
|
|
BusinessOrderDO businessOrderDO1 = businessOrderDao.selectByRelationCode(prescription.getId());
|
|
|
ykyyEntranceService.findByRealOrder(prescription.getId());
|
|
|
List<WlyyPrescriptionDO> prescriptionDOList = prescriptionDao.findById(prescription.getId());
|
|
|
if(prescriptionDOList!=null&&prescriptionDOList.size()!=0){
|
|
|
WlyyPrescriptionDO wlyyPrescriptionDO = prescriptionDOList.get(0);
|
|
|
ykyyService.updateDrugorderInfo(businessOrderDO.getOrderNo(),businessOrderDO1.getYkOrderId(),wlyyPrescriptionDO.getRealOrder());
|
|
|
}
|
|
|
ykyyEntranceService.findByRealOrder(prescription.getId());
|
|
|
result.put("code", 1);
|
|
|
result.put("mes", "诊断完成");
|
|
|
return result;
|