|
|
@@ -606,6 +606,9 @@ public class FsPrescribeServiceImpl implements IFsPrescribeService
|
|
|
o.setTelPhone(f.getPatientTel());
|
|
|
FsDoctor fsDoctor = doctorMapper.selectFsDoctorByDoctorId(f.getDoctorId());
|
|
|
Asserts.notNull(fsDoctor,String.format("医生 %s 未找到!",f.getDoctorId()));
|
|
|
+ //执业证号
|
|
|
+ o.setJobLicenseNumber(fsDoctor.getPractiseCode());
|
|
|
+ //医生证号
|
|
|
o.setDoctorNo(fsDoctor.getCertificateCode());
|
|
|
o.setDoctorTitle(fsDoctor.getPosition());
|
|
|
|
|
|
@@ -684,6 +687,9 @@ public class FsPrescribeServiceImpl implements IFsPrescribeService
|
|
|
o.setTelPhone(f.getPatientTel());
|
|
|
FsDoctor fsDoctor = doctorMapper.selectFsDoctorByDoctorId(f.getDoctorId());
|
|
|
Asserts.notNull(fsDoctor,String.format("医生 %s 未找到!",f.getDoctorId()));
|
|
|
+ //执业证号
|
|
|
+ o.setJobLicenseNumber(fsDoctor.getPractiseCode());
|
|
|
+ //医生证号
|
|
|
o.setDoctorNo(fsDoctor.getCertificateCode());
|
|
|
o.setDoctorTitle(fsDoctor.getPosition());
|
|
|
|
|
|
@@ -1400,9 +1406,18 @@ public class FsPrescribeServiceImpl implements IFsPrescribeService
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ //TODO 医生确认处方后立即生成处方图片
|
|
|
|
|
|
}
|
|
|
|
|
|
+ //即时生成处方图片
|
|
|
+ private void createImg(Long prescribeId) {
|
|
|
+ String prescribeImgUrl = this.PrescribeImgYsyTask(prescribeId,1);//1-处方只带医生签名
|
|
|
+// fsPrescribe.setPrescribeImgUrl(prescribeImgUrl);
|
|
|
+// fsPrescribeService.updateFsPrescribe(fsPrescribe);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@Override
|
|
|
public void collectionPrescribe(Long prescribeId) {
|
|
|
FsPrescribe fsPrescribe = fsPrescribeMapper.selectFsPrescribeByPrescribeId(prescribeId);
|