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