Commit bd4d32c4 authored by zhengjiawei's avatar zhengjiawei

bug

parent 23d84aa6
...@@ -403,7 +403,8 @@ public class EquipmentServiceImpl implements IEquipmentService { ...@@ -403,7 +403,8 @@ public class EquipmentServiceImpl implements IEquipmentService {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
throw new YeeException("上传图片失败"); throw new YeeException("上传图片失败");
} }
String picture = fireAutoSys+"/"+path + fileName; String[] split = fireAutoSys.split("/");
String picture = split[1]+"/"+path + fileName;
pp.setPicture(picture); pp.setPicture(picture);
preplanPictureDao.saveAndFlush(pp); preplanPictureDao.saveAndFlush(pp);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment