|
@@ -160,10 +160,10 @@ public class BankFrzandpenaltyController extends BaseController
|
|
bt.setRtnTdracctnobnknm(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/TDRACCTNOBNKNM"));
|
|
bt.setRtnTdracctnobnknm(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/TDRACCTNOBNKNM"));
|
|
bt.setRtnDuetp(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/DUETP"));
|
|
bt.setRtnDuetp(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/DUETP"));
|
|
bt.setRtnTdrnum(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/TDRNUM"));
|
|
bt.setRtnTdrnum(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/TDRNUM"));
|
|
- bt.setRtnMrgnamt(new BigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/MRGNAMT")));
|
|
|
|
- bt.setRtnTdramt(new BigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/TDRAMT")));
|
|
|
|
- bt.setRtnFrzamt(new BigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/FRZAMT")));
|
|
|
|
- bt.setRtnFineamt(new BigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/FINEAMT")));
|
|
|
|
|
|
+ bt.setRtnMrgnamt(JsonUtils.checkBigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/MRGNAMT")));
|
|
|
|
+ bt.setRtnTdramt(JsonUtils.checkBigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/TDRAMT")));
|
|
|
|
+ bt.setRtnFrzamt(JsonUtils.checkBigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/FRZAMT")));
|
|
|
|
+ bt.setRtnFineamt(JsonUtils.checkBigDecimal(JsonUtils.findXML(rtnxml, "FOX/SECURITIES_MSGSRSV1/QUERYFRZANDPENALTYTRNRS/RSBODY/CONTENT/FINEAMT")));
|
|
|
|
|
|
return bankFrzandpenaltyService.updateBankFrzandpenalty(bt);
|
|
return bankFrzandpenaltyService.updateBankFrzandpenalty(bt);
|
|
}
|
|
}
|