fix:信用卡管理,bug修复。

This commit is contained in:
tianyongbao
2024-07-08 16:42:58 +08:00
parent 27bb02fd51
commit 58dc6bff11
2 changed files with 6 additions and 2 deletions

View File

@@ -72,6 +72,10 @@ public class InvestJobImpl implements IInvestJobService
Date billDate= new Date();
//遍历数据,获取信用卡账单日及数据
for (BankCardLendVo bankCard : bankCardVoList) {
//如果信用卡额度为0不需要生成账单信息
if(bankCard.getCreditLimit()==0){
continue;
}
//0表示当期1表示下期
String isNextBillDate = bankCard.getIsNextBillDate();
String billDateStr=year+"-"+String.format("%02d", month)+"-"+String.format("%02d", bankCard.getBillDate());

View File

@@ -121,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="billDate != null and billDate != ''">#{billDate},</if>
<if test="payDate != null and payDate != ''">#{payDate},</if>
<if test="delayPeriod != null">#{delayPeriod},</if>
<if test="creditLimit != null and creditLimit != ''">#{creditLimit},</if>
<if test="creditLimit != null ">#{creditLimit},</if>
<if test="effectiveDate != null">#{effectiveDate},</if>
<if test="cvv != null and cvv != ''">#{cvv},</if>
<if test="createBy != null">#{createBy},</if>
@@ -149,7 +149,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="billDate != null and billDate != ''">bill_date = #{billDate},</if>
<if test="payDate != null and payDate != ''">pay_date = #{payDate},</if>
<if test="delayPeriod != null">delay_period = #{delayPeriod},</if>
<if test="creditLimit != null and creditLimit != ''">credit_limit = #{creditLimit},</if>
<if test="creditLimit != null">credit_limit = #{creditLimit},</if>
<if test="effectiveDate != null">effective_date = #{effectiveDate},</if>
<if test="cvv != null and cvv != ''">cvv = #{cvv},</if>
<if test="createBy != null">create_by = #{createBy},</if>