ACE - APK - LOS ABONOS QUE SE GENERAN EN APK Y MULTAS HAY QUE RESTAR 6 HORAS EN EL WS
This commit is contained in:
parent
d614edf933
commit
c269ac5570
@ -10,7 +10,6 @@ package com.arrebol.apc.controller.mobile.controller.loan;
|
|||||||
import com.arrebol.apc.controller.mobile.json.loan.AuthorizeTransferList;
|
import com.arrebol.apc.controller.mobile.json.loan.AuthorizeTransferList;
|
||||||
import com.arrebol.apc.controller.mobile.json.loan.AuthorizeTransferPaymentsDto;
|
import com.arrebol.apc.controller.mobile.json.loan.AuthorizeTransferPaymentsDto;
|
||||||
import com.arrebol.apc.controller.mobile.json.loan.DeleteLoanDetailsJaxb;
|
import com.arrebol.apc.controller.mobile.json.loan.DeleteLoanDetailsJaxb;
|
||||||
import com.arrebol.apc.model.ws.parsed.LoanRequestedJaxb;
|
|
||||||
import com.arrebol.apc.controller.mobile.json.loan.LoanTypeJaxb;
|
import com.arrebol.apc.controller.mobile.json.loan.LoanTypeJaxb;
|
||||||
import com.arrebol.apc.controller.mobile.json.loan.LoanTypeListJaxb;
|
import com.arrebol.apc.controller.mobile.json.loan.LoanTypeListJaxb;
|
||||||
import com.arrebol.apc.controller.mobile.json.loan.UpdateLoanToDeliveryStatusDTO;
|
import com.arrebol.apc.controller.mobile.json.loan.UpdateLoanToDeliveryStatusDTO;
|
||||||
@ -65,6 +64,7 @@ import com.arrebol.apc.model.views.constance.LoanInPendingStatusToDeliveryViewCf
|
|||||||
import com.arrebol.apc.model.views.constance.TransferInPendingStatusViewCfg;
|
import com.arrebol.apc.model.views.constance.TransferInPendingStatusViewCfg;
|
||||||
import com.arrebol.apc.model.ws.parsed.FeesToPayByLoanRequestJaxb;
|
import com.arrebol.apc.model.ws.parsed.FeesToPayByLoanRequestJaxb;
|
||||||
import com.arrebol.apc.model.ws.parsed.LoanDetailJaxb;
|
import com.arrebol.apc.model.ws.parsed.LoanDetailJaxb;
|
||||||
|
import com.arrebol.apc.model.ws.parsed.LoanRequestedJaxb;
|
||||||
import com.arrebol.apc.model.ws.parsed.NewAmountJaxb;
|
import com.arrebol.apc.model.ws.parsed.NewAmountJaxb;
|
||||||
import com.arrebol.apc.model.ws.parsed.NewTransferAccountJaxb;
|
import com.arrebol.apc.model.ws.parsed.NewTransferAccountJaxb;
|
||||||
import com.arrebol.apc.model.ws.parsed.PersonJaxb;
|
import com.arrebol.apc.model.ws.parsed.PersonJaxb;
|
||||||
@ -73,6 +73,7 @@ import java.math.BigDecimal;
|
|||||||
import java.math.RoundingMode;
|
import java.math.RoundingMode;
|
||||||
import java.text.NumberFormat;
|
import java.text.NumberFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
@ -454,8 +455,11 @@ public class LoanController implements Serializable {
|
|||||||
|
|
||||||
LoanFeeNotification notification = null;
|
LoanFeeNotification notification = null;
|
||||||
try {
|
try {
|
||||||
//DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
//DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//dateFormat.parse(newAmountJaxb.getStrDate());
|
||||||
Date date = new Date();//dateFormat.parse(newAmountJaxb.getStrDate());
|
Calendar calendar = Calendar.getInstance();
|
||||||
|
calendar.setTime(new Date());
|
||||||
|
calendar.add(Calendar.HOUR_OF_DAY, -7);
|
||||||
|
Date date = calendar.getTime();
|
||||||
List<ModelParameter> parameters = new ArrayList<>();
|
List<ModelParameter> parameters = new ArrayList<>();
|
||||||
|
|
||||||
if (newAmountJaxb.isFee()) {
|
if (newAmountJaxb.isFee()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user