|
@ -171,12 +171,12 @@ public class PatientController extends WeixinBaseController {
|
|
|
@RequestParam(required = false) String street) {
|
|
|
try {
|
|
|
Patient patient = patientInfoService.findByCode(getUID());
|
|
|
// if (StringUtils.isEmpty(photo)) {
|
|
|
// photo = fetchWxImages();
|
|
|
// }
|
|
|
// if (StringUtils.isNotEmpty(photo)) {
|
|
|
// photo = CommonUtil.copyTempImage(photo);
|
|
|
// }
|
|
|
if (StringUtils.isEmpty(photo)) {
|
|
|
photo = fetchWxImages();
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(photo)) {
|
|
|
photo = CommonUtil.copyTempImage(photo);
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(photo)) {
|
|
|
patient.setPhoto(photo);
|
|
|
}
|