parent
f47a6b6e16
commit
b8e8ef2fb1
|
|
@ -966,7 +966,7 @@ public class MainController
|
|||
List<Map<String, Object>> lstFile = fileService.selectFiles(map);
|
||||
mv.addObject("files", lstFile);
|
||||
} catch (SQLException e) {
|
||||
System.out.println(e.getMessage());
|
||||
System.out.println("thkim test: " + e.getMessage());
|
||||
|
||||
if (true && e.getMessage().contains("Already closed")) {
|
||||
System.out.println("Already closed");
|
||||
|
|
|
|||
|
|
@ -1506,7 +1506,18 @@ public class SandController {
|
|||
params.put("SAMPLE_CODE", oSAMPLE_CODE);
|
||||
}else {
|
||||
List<EgovMap> sampleItems = sandService.selectCountTempSampleInfo1(params);
|
||||
if( sampleItems.size() == 0) {
|
||||
// 기본물성시험 정보가 없을 때 에러가 나는 것으로 추측된다. 따라서 기본물성시험 정보가 필요 하다는 문구를 안내해야 한다.
|
||||
System.out.println(
|
||||
"\n--------------------------------------------------------------\n" +
|
||||
request.getRequestURI() + " " + " sampleItems.size() == 0" +
|
||||
"\n--------------------------------------------------------------\n" +
|
||||
"SAMPLE_CODE:[" + "null" + "]\n" +
|
||||
"\n--------------------------------------------------------------\n"
|
||||
);
|
||||
} else {
|
||||
params.put("SAMPLE_CODE", sampleItems.get(0).get("codeValue"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ function fn_saveNumberCheckKendo(type, gridRoot, dataGrid, grid, startIndex, ite
|
|||
|
||||
if(kind != "rockJoinshear" && kind != "rockPointload" && kind != "rockUniaxial"){
|
||||
//중복 체크 함수에 심도 값을 담은 배열을 전달
|
||||
if(!chkDuplicates(chkDupFrom) || !chkDuplicates(chkDupTo)){
|
||||
if(false && (!chkDuplicates(chkDupFrom) || !chkDuplicates(chkDupTo))){
|
||||
alert("심도 값이 중복되었습니다. 확인 후 다시 저장 바랍니다.")
|
||||
return false;
|
||||
}
|
||||
|
|
@ -568,7 +568,7 @@ function fn_saveNumberCheckKendo(type, gridRoot, dataGrid, grid, startIndex, ite
|
|||
}
|
||||
|
||||
//중복 체크 함수에 심도 값을 담은 배열을 전달
|
||||
if(!chkDuplicates(chkDupFrom) || !chkDuplicates(chkDupTo)){
|
||||
if(false && (!chkDuplicates(chkDupFrom) || !chkDuplicates(chkDupTo))){
|
||||
alert("심도 값이 중복되었습니다. 확인 후 다시 저장 바랍니다.")
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue