Commit 9597e114 by wangweidong

土工平台修改

parent 25de501c
...@@ -2704,6 +2704,14 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap ...@@ -2704,6 +2704,14 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap
}else if (expname.contains("三轴压缩")&&(expname.contains("三轴压缩"))){ }else if (expname.contains("三轴压缩")&&(expname.contains("三轴压缩"))){
expname="三轴压缩重塑"; expname="三轴压缩重塑";
} }
String nouKuoZhanName = name.replace(".bmp","");
String lastName = nouKuoZhanName.substring(nouKuoZhanName.length()-1,nouKuoZhanName.length());
if ("r".equals(lastName)){
if (name.contains("三轴压缩")){
name=name.replace("三轴压缩","三轴压缩重塑");
}
}
if (name.contains(expname)){ if (name.contains(expname)){
SoilSample sample = soilSampleService.getBySampleCode(type.getSampleCode()); SoilSample sample = soilSampleService.getBySampleCode(type.getSampleCode());
if (null !=sample){ if (null !=sample){
...@@ -2772,6 +2780,8 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap ...@@ -2772,6 +2780,8 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap
} }
}else{
} }
......
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