update
This commit is contained in:
@@ -337,6 +337,13 @@ public class ExperimentDocServiceImpl extends ServiceImpl<ExperimentDocMapper, E
|
|||||||
new String[] {"生产厂家", getStringOrDefault(info, "sampleManufacturer"), "试验样品数量",
|
new String[] {"生产厂家", getStringOrDefault(info, "sampleManufacturer"), "试验样品数量",
|
||||||
sampleInfoList.size() + ""},
|
sampleInfoList.size() + ""},
|
||||||
new String[] {"放置地点", "", "接收日期", ""},}).border(BorderStyle.DEFAULT).create());
|
new String[] {"放置地点", "", "接收日期", ""},}).border(BorderStyle.DEFAULT).create());
|
||||||
|
String imgUrls = info.getString("picture");
|
||||||
|
if (StringUtils.isNotBlank(imgUrls)) {
|
||||||
|
if(!StringUtils.startsWith(imgUrls, "http")){
|
||||||
|
imgUrls = "http://" + serverIp + imgUrls;
|
||||||
|
}
|
||||||
|
params.put("偏置原理图"+i, imgUrls);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user