|
|
@@ -16,10 +16,7 @@ import com.fs.his.dto.FsPackagePruductDTO;
|
|
|
import com.fs.his.dto.FsPrescribeUsageDTO;
|
|
|
import com.fs.his.mapper.*;
|
|
|
import com.fs.his.param.*;
|
|
|
-import com.fs.his.service.IFsDoctorService;
|
|
|
-import com.fs.his.service.IFsPrescribeDrugService;
|
|
|
-import com.fs.his.service.IFsPrescribeService;
|
|
|
-import com.fs.his.service.IFsStoreOrderService;
|
|
|
+import com.fs.his.service.*;
|
|
|
import com.fs.his.utils.ConfigUtil;
|
|
|
import com.fs.his.utils.qrcode.QRCodeUtils;
|
|
|
import com.fs.his.vo.*;
|
|
|
@@ -89,6 +86,8 @@ public class FsPrescribeServiceImpl implements IFsPrescribeService
|
|
|
private FsExportTaskMapper fsExportTaskMapper;
|
|
|
@Autowired
|
|
|
private PrescriptionTaskRecordMapper prescriptionTaskRecordMapper;
|
|
|
+ @Autowired
|
|
|
+ private PrescriptionImageService prescriptionImageService;
|
|
|
/**
|
|
|
* 查询处方
|
|
|
*
|
|
|
@@ -536,9 +535,9 @@ public class FsPrescribeServiceImpl implements IFsPrescribeService
|
|
|
o.setDispatcher("");
|
|
|
o.setCheckDoctor("");
|
|
|
o.setDoctorName(f.getDoctorName());
|
|
|
- String s = getFsPrescribeXyImg(o);
|
|
|
+ String url = prescriptionImageService.generatePrescriptionImage(o);
|
|
|
FsPrescribe fsPrescribe = new FsPrescribe();
|
|
|
- fsPrescribe.setPrescribeImgUrl(s);
|
|
|
+ fsPrescribe.setPrescribeImgUrl(url);
|
|
|
fsPrescribe.setPrescribeId(f.getPrescribeId());
|
|
|
fsPrescribeMapper.updateFsPrescribe(fsPrescribe);
|
|
|
} else {
|