|
|
|
|
@ -146,8 +146,8 @@ public class T_Scan_AssortServiceImpl implements T_Scan_AssortService {
|
|
|
|
|
List<IndexFds> indexFdsList = patientAssortVo.getIndexFds();
|
|
|
|
|
//编辑图片信息
|
|
|
|
|
for (IndexFds indexFds : indexFdsList) {
|
|
|
|
|
String srcPath ="";
|
|
|
|
|
if(indexFds.getScanFile().startsWith("\\\\")){
|
|
|
|
|
String srcPath = "";
|
|
|
|
|
if (indexFds.getScanFile().startsWith("\\\\")) {
|
|
|
|
|
srcPath = indexFds.getScanFile().replaceAll("\\\\", "/");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -166,9 +166,14 @@ public class T_Scan_AssortServiceImpl implements T_Scan_AssortService {
|
|
|
|
|
//将原图片地址转换成映射地址
|
|
|
|
|
//获取盘符并转换映射地址的头部地址
|
|
|
|
|
root = selectRootByNotWater(srcPath);
|
|
|
|
|
if (root == null) {
|
|
|
|
|
fileUrl = indexFds.getScanFile();
|
|
|
|
|
} else {
|
|
|
|
|
//获取盘符后面的地址
|
|
|
|
|
picPath = srcPath.substring(srcPath.indexOf('/')+1);
|
|
|
|
|
fileUrl = NEW_EMR_RECORD_JSP + File.separator + root + picPath.replace("/",File.separator);
|
|
|
|
|
picPath = srcPath.substring(srcPath.indexOf('/') + 1);
|
|
|
|
|
fileUrl = NEW_EMR_RECORD_JSP + File.separator + root + picPath.replace("/", File.separator);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
//获取盘符并转换映射地址的头部地址
|
|
|
|
|
root = selectRootByNotWater(indexFds.getScanFile());
|
|
|
|
|
|