fix:信用卡管理,bug修复。
This commit is contained in:
@@ -72,6 +72,10 @@ public class InvestJobImpl implements IInvestJobService
|
|||||||
Date billDate= new Date();
|
Date billDate= new Date();
|
||||||
//遍历数据,获取信用卡账单日及数据
|
//遍历数据,获取信用卡账单日及数据
|
||||||
for (BankCardLendVo bankCard : bankCardVoList) {
|
for (BankCardLendVo bankCard : bankCardVoList) {
|
||||||
|
//如果信用卡额度为0,不需要生成账单信息
|
||||||
|
if(bankCard.getCreditLimit()==0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
//0表示当期,1表示下期
|
//0表示当期,1表示下期
|
||||||
String isNextBillDate = bankCard.getIsNextBillDate();
|
String isNextBillDate = bankCard.getIsNextBillDate();
|
||||||
String billDateStr=year+"-"+String.format("%02d", month)+"-"+String.format("%02d", bankCard.getBillDate());
|
String billDateStr=year+"-"+String.format("%02d", month)+"-"+String.format("%02d", bankCard.getBillDate());
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="billDate != null and billDate != ''">#{billDate},</if>
|
<if test="billDate != null and billDate != ''">#{billDate},</if>
|
||||||
<if test="payDate != null and payDate != ''">#{payDate},</if>
|
<if test="payDate != null and payDate != ''">#{payDate},</if>
|
||||||
<if test="delayPeriod != null">#{delayPeriod},</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="effectiveDate != null">#{effectiveDate},</if>
|
||||||
<if test="cvv != null and cvv != ''">#{cvv},</if>
|
<if test="cvv != null and cvv != ''">#{cvv},</if>
|
||||||
<if test="createBy != null">#{createBy},</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="billDate != null and billDate != ''">bill_date = #{billDate},</if>
|
||||||
<if test="payDate != null and payDate != ''">pay_date = #{payDate},</if>
|
<if test="payDate != null and payDate != ''">pay_date = #{payDate},</if>
|
||||||
<if test="delayPeriod != null">delay_period = #{delayPeriod},</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="effectiveDate != null">effective_date = #{effectiveDate},</if>
|
||||||
<if test="cvv != null and cvv != ''">cvv = #{cvv},</if>
|
<if test="cvv != null and cvv != ''">cvv = #{cvv},</if>
|
||||||
<if test="createBy != null">create_by = #{createBy},</if>
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user