|
@ -142,7 +142,8 @@ public class DoctorHealthGuidanceController extends WeixinBaseController {
|
|
|
guidance.setPatient(patient);
|
|
|
// 找到当前医生
|
|
|
Doctor doctor = doctorService.findDoctorByCode(getUID());
|
|
|
if (images==null) {
|
|
|
if (images==null||"".equals(images)) {
|
|
|
images=null;
|
|
|
}else {
|
|
|
String[] imgs = images.split(",");
|
|
|
for (String image : imgs) {
|
|
@ -186,7 +187,8 @@ public class DoctorHealthGuidanceController extends WeixinBaseController {
|
|
|
guidance.setDoctor(getUID());
|
|
|
guidance.setPatient(patient);
|
|
|
Doctor doctor = doctorService.findDoctorByCode(getUID());
|
|
|
if (images==null) {
|
|
|
if (images==null||"".equals(images)) {
|
|
|
images = null;
|
|
|
}else {
|
|
|
String[] imgs = images.split(",");
|
|
|
for (String image : imgs) {
|