|
@@ -140,7 +140,7 @@ public class PayFeeServiceImp implements PayFeeService {
|
|
|
iterator.remove();
|
|
|
remaining = remaining.subtract(payReceivable.getDebt());//修改余额
|
|
|
//生成并保存实收
|
|
|
- PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,payway,payseriesno,payReceivable.getDebt(),feetypeMap, siteId, customerId, userId );
|
|
|
+ PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,5,payseriesno,payReceivable.getDebt(),feetypeMap, siteId, customerId, userId );
|
|
|
//生成交易明细
|
|
|
PayTransactiondetails payTransactiondetails = getPayTransactiondetails(5,paywayName, localDateTime, payCustomRechargeDto, payseriesno, month, year, payReceivable.getDebt().negate(), siteId, customerId, userId );
|
|
|
payTransactiondetails.setReceivedId(payPayReceived.getId());
|
|
@@ -158,7 +158,7 @@ public class PayFeeServiceImp implements PayFeeService {
|
|
|
//生成并保存实收
|
|
|
fees= fees.add(remaining.negate());
|
|
|
|
|
|
- PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,payway,payseriesno,remaining,feetypeMap, siteId, customerId, userId );
|
|
|
+ PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,5,payseriesno,remaining,feetypeMap, siteId, customerId, userId );
|
|
|
|
|
|
PayTransactiondetails payTransactiondetails = getPayTransactiondetails(5, paywayName,localDateTime, payCustomRechargeDto, payseriesno, month, year, remaining.negate() , siteId, customerId, userId );
|
|
|
payTransactiondetails.setReceivedId(payPayReceived.getId());
|
|
@@ -226,7 +226,7 @@ public class PayFeeServiceImp implements PayFeeService {
|
|
|
remaining=remaining.add(transAmount);
|
|
|
//生成交易明细
|
|
|
PayTransactiondetails payTransactiondetails = getPayTransactiondetails(payway, paywayName,localDateTime, payCustomRechargeDto, payseriesno, month, year, transAmount, siteId, customerId, userId );
|
|
|
- payTransactiondetails.setName(payCustomRechargeDto.getAccountname() + payCustomRechargeDto.getAccountnumber() + "充值");
|
|
|
+ payTransactiondetails.setName(payCustomRechargeDto.getAccountname() + payCustomRechargeDto.getAccountnumber() + "缴费");
|
|
|
payTransactiondetails.setTranstype(4);
|
|
|
payTransactiondetails.setTranstypeLabel("账户转预存");
|
|
|
transactiondetailsDtoList.add(payTransactiondetails);
|
|
@@ -384,7 +384,7 @@ public class PayFeeServiceImp implements PayFeeService {
|
|
|
iterator.remove();
|
|
|
remaining = remaining.subtract(payReceivable.getDebt());//修改余额
|
|
|
//生成并保存实收
|
|
|
- PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,payway,payseriesno,payReceivable.getDebt(),feetypeMap, siteId, customerId, userId );
|
|
|
+ PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,5,payseriesno,payReceivable.getDebt(),feetypeMap, siteId, customerId, userId );
|
|
|
//生成交易明细
|
|
|
PayTransactiondetails payTransactiondetails = getPayTransactiondetails(5,paywayName, localDateTime, payCustomRechargeDto, payseriesno, month, year, payReceivable.getDebt().negate(), siteId, customerId, userId );
|
|
|
payTransactiondetails.setReceivedId(payPayReceived.getId());
|
|
@@ -400,7 +400,7 @@ public class PayFeeServiceImp implements PayFeeService {
|
|
|
}else{
|
|
|
//预存余额小于于欠费(部分抵扣)
|
|
|
//生成并保存实收
|
|
|
- PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,payway,payseriesno,remaining,feetypeMap, siteId, customerId, userId );
|
|
|
+ PayPayReceived payPayReceived = getReceived(payReceivable, year, month, localDateTime,5,payseriesno,remaining,feetypeMap, siteId, customerId, userId );
|
|
|
|
|
|
PayTransactiondetails payTransactiondetails = getPayTransactiondetails(5, paywayName,localDateTime, payCustomRechargeDto, payseriesno, month, year, remaining.negate() , siteId, customerId, userId );
|
|
|
payTransactiondetails.setReceivedId(payPayReceived.getId());
|
|
@@ -477,7 +477,7 @@ public class PayFeeServiceImp implements PayFeeService {
|
|
|
remaining=remaining.add(transAmount);
|
|
|
//生成交易明细
|
|
|
PayTransactiondetails payTransactiondetails = getPayTransactiondetails(payway, paywayName,localDateTime, payCustomRechargeDto, payseriesno, month, year, transAmount, siteId, customerId, userId );
|
|
|
- payTransactiondetails.setName(payCustomRechargeDto.getAccountname() + payCustomRechargeDto.getAccountnumber() + "充值");
|
|
|
+ payTransactiondetails.setName(payCustomRechargeDto.getAccountname() + payCustomRechargeDto.getAccountnumber() + "缴费");
|
|
|
payTransactiondetails.setTranstype(4);
|
|
|
payTransactiondetails.setTranstypeLabel("账户转预存");
|
|
|
transactiondetailsDtoList.add(payTransactiondetails);
|