Commit e00076b9 by wangweidong

土工平台修改

parent d43516a8
......@@ -432,11 +432,19 @@ public class CollectUtil {
public static SoilExperimentCollectDataVO getDataVO(String name,String value,String gcbh,String siteNo,String expName){
SoilExperimentCollectDataVO collectData = new SoilExperimentCollectDataVO();
collectData.setName(name);
if (value.contains("%")){
value = value.replace("%","");
collectData.setUnit("%");
}
collectData.setTestValue(value);
collectData.setEntrustCode(gcbh);
collectData.setSiteNo(siteNo);
collectData.setExpName(expName);
return collectData;
}
......
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