|
@@ -545,7 +545,7 @@ public class PrescriptionImageServiceImpl implements PrescriptionImageService {
|
|
|
// 药师签名
|
|
// 药师签名
|
|
|
if (StringUtils.isNotBlank(param.getDrugDoctorUrl())) {
|
|
if (StringUtils.isNotBlank(param.getDrugDoctorUrl())) {
|
|
|
try {
|
|
try {
|
|
|
- BufferedImage pharmacistSign = downloadSignatureImage("https://ysy-1329817240.cos.ap-guangzhou.myqcloud.com/ysy/20251028/ed509381390049c9ad2a17e95d8b8732.png");
|
|
|
|
|
|
|
+ BufferedImage pharmacistSign = downloadSignatureImage(param.getDrugDoctorUrl());
|
|
|
if (pharmacistSign != null) {
|
|
if (pharmacistSign != null) {
|
|
|
Image scaledSign = pharmacistSign.getScaledInstance(120, 80, Image.SCALE_SMOOTH);
|
|
Image scaledSign = pharmacistSign.getScaledInstance(120, 80, Image.SCALE_SMOOTH);
|
|
|
pen.drawImage(scaledSign, 1076, 2028, null);
|
|
pen.drawImage(scaledSign, 1076, 2028, null);
|