|
|
|
@ -166,9 +166,14 @@ public class T_Scan_AssortServiceImpl implements T_Scan_AssortService {
|
|
|
|
//将原图片地址转换成映射地址
|
|
|
|
//将原图片地址转换成映射地址
|
|
|
|
//获取盘符并转换映射地址的头部地址
|
|
|
|
//获取盘符并转换映射地址的头部地址
|
|
|
|
root = selectRootByNotWater(srcPath);
|
|
|
|
root = selectRootByNotWater(srcPath);
|
|
|
|
|
|
|
|
if (root == null) {
|
|
|
|
|
|
|
|
fileUrl = indexFds.getScanFile();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
//获取盘符后面的地址
|
|
|
|
//获取盘符后面的地址
|
|
|
|
picPath = srcPath.substring(srcPath.indexOf('/') + 1);
|
|
|
|
picPath = srcPath.substring(srcPath.indexOf('/') + 1);
|
|
|
|
fileUrl = NEW_EMR_RECORD_JSP + File.separator + root + picPath.replace("/", File.separator);
|
|
|
|
fileUrl = NEW_EMR_RECORD_JSP + File.separator + root + picPath.replace("/", File.separator);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
//获取盘符并转换映射地址的头部地址
|
|
|
|
//获取盘符并转换映射地址的头部地址
|
|
|
|
root = selectRootByNotWater(indexFds.getScanFile());
|
|
|
|
root = selectRootByNotWater(indexFds.getScanFile());
|
|
|
|
|