fix: 系统功能升级,账户增加status字段,修改相关功能。
This commit is contained in:
@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="isZeroBill" column="is_zero_bill" />
|
||||
<result property="balance" column="balance" />
|
||||
<result property="availableLimit" column="available_limit" />
|
||||
<result property="status" column="status" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBankCardLendVo">
|
||||
@@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.is_next_bill_date,
|
||||
a.next_bill_date_time,
|
||||
a.is_zero_bill,
|
||||
a.status,
|
||||
t.balance,
|
||||
t.available_limit
|
||||
from bank_card_lend a
|
||||
@@ -73,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="debitType != null and debitType != ''"> and a.debit_type = #{debitType}</if>
|
||||
<if test="creditCardId != null "> and a.id = #{creditCardId}</if>
|
||||
<if test="lendType != null and lendType != ''"> and a.lend_type = #{lendType}</if>
|
||||
<if test="status != null and status != ''"> and a.status = #{status}</if>
|
||||
</where>
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
@@ -110,6 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isNextBillDate != null">is_next_bill_date,</if>
|
||||
<if test="nextBillDateTime != null">next_bill_date_time,</if>
|
||||
<if test="isZeroBill != null">is_zero_bill,</if>
|
||||
<if test="status != null">status,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
@@ -135,6 +139,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isNextBillDate != null">#{isNextBillDate},</if>
|
||||
<if test="nextBillDateTime != null">#{nextBillDateTime},</if>
|
||||
<if test="isZeroBill != null">#{isZeroBill},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -163,6 +168,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isNextBillDate != null">is_next_bill_date = #{isNextBillDate},</if>
|
||||
<if test="nextBillDateTime != null">next_bill_date_time = #{nextBillDateTime},</if>
|
||||
<if test="isZeroBill != null">is_zero_bill = #{isZeroBill},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user