feat: [토사시험-일축] 단위중량, 일축압축강도의 입력 단위와 미리보기 출력 단위 불일치 개선
parent
fa5b57d269
commit
34964aca84
|
|
@ -1180,6 +1180,26 @@ public class CommonController {
|
||||||
file25.addField("hole_code", unconfineHolecode[i]);
|
file25.addField("hole_code", unconfineHolecode[i]);
|
||||||
file25.addField("sample_code", unconfineSamplecode[i]);
|
file25.addField("sample_code", unconfineSamplecode[i]);
|
||||||
file25.addField("image1", imagePath1);
|
file25.addField("image1", imagePath1);
|
||||||
|
|
||||||
|
// 단위중량의 단위를 구한다.
|
||||||
|
params.put("INI_UNIT", "kN/㎥");
|
||||||
|
params.put("ITEM_INFO_CODE", "UNCONF_UNDISTURB_RT");
|
||||||
|
String unconfUndisturbRt = masterService.getInfoUnit(params);
|
||||||
|
|
||||||
|
|
||||||
|
// 압축강도의 단위를 구한다.
|
||||||
|
params.replace("INI_UNIT", "kPa");
|
||||||
|
params.replace("ITEM_INFO_CODE", "UNCONF_UNDISTURB_COMPSTRENGTH");
|
||||||
|
String unconfUndisturbCompstrength = masterService.getInfoUnit(params);
|
||||||
|
|
||||||
|
// 구한 단위를 JSON에 넣는다.
|
||||||
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
jsonObject.put(unconfineHolecode[i] + "_UNCONF_UNDISTURB_RT", unconfUndisturbRt );
|
||||||
|
jsonObject.put(unconfineHolecode[i] + "_UNCONF_UNDISTURB_COMPSTRENGTH", unconfUndisturbCompstrength );
|
||||||
|
|
||||||
|
String referenceMap = jsonObject.toString();
|
||||||
|
|
||||||
|
file25.addField("reference_map", referenceMap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(tableName.equals("TEMP_HOLE")) {
|
if(tableName.equals("TEMP_HOLE")) {
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue