|
|
|
|
@ -94,9 +94,10 @@ public class FinePenaltyDisableProcessingController {
|
|
|
|
|
if(receiptKbn.equals("미납") && (noticeKbn == null || noticeKbn.equals(""))){
|
|
|
|
|
String tt = statList1.get("tt");
|
|
|
|
|
if(tt != null && !tt.equals("") && !tt.equals("0")){
|
|
|
|
|
String aiTotAmt = statList1.get("aiTotAmt");
|
|
|
|
|
String penalty = statList1.get("penalty");
|
|
|
|
|
String aiTotAmt = String.valueOf(statList1.get("aiTotAmt"));
|
|
|
|
|
String penalty = String.valueOf(statList1.get("penalty"));
|
|
|
|
|
if(penalty.equals(aiTotAmt)){
|
|
|
|
|
System.out.println("test4");
|
|
|
|
|
int penaltyNum = Integer.parseInt(penalty);
|
|
|
|
|
int add = (int)(penaltyNum*0.03);
|
|
|
|
|
penaltyNum = penaltyNum + add;
|
|
|
|
|
@ -111,8 +112,10 @@ public class FinePenaltyDisableProcessingController {
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}catch (Exception ex) {
|
|
|
|
|
ex.printStackTrace();
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|