|
@@ -51,15 +51,12 @@ public class CW06210001UService {
|
|
|
Map<String, String> result = new HashMap<>();
|
|
|
|
|
|
for (CW06210001U cW06210001U : CW06210001U) {
|
|
|
- // ... (rest of your code)
|
|
|
+
|
|
|
+ mapper.updateCre(cW06210001U);
|
|
|
+ String errCode = cW06210001U.getErrCode(); // 출력 파라미터 값 가져오기
|
|
|
+ String errMsg = cW06210001U.getErrMsg();
|
|
|
|
|
|
- // Add error handling for PL/SQL calls
|
|
|
- Map<String, Object> outParams = mapper.updateCre(cW06210001U);
|
|
|
- String errCode = (String) outParams.get("errCode");
|
|
|
- String errMsg = (String) outParams.get("errMsg");
|
|
|
-
|
|
|
- //System.out.println("=========================================== "+errCode + " ======== " + errMsg);
|
|
|
- if (!errCode.equals("X")) {
|
|
|
+ if (errCode.equals("X")) {
|
|
|
result.put("errCode", errCode);
|
|
|
result.put("errMsg", errMsg);
|
|
|
return result;
|