fix: 用户发现问题修复。
This commit is contained in:
@@ -51,12 +51,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
installment_history_detail a
|
||||
left join bank_card_lend bcl on
|
||||
bcl.id = a.bank_card_lend_id
|
||||
left join installment_history ih on ih.id=a.installment_history_id
|
||||
</sql>
|
||||
|
||||
<select id="selectInstallmentHistoryDetailList" parameterType="InstallmentHistoryDetailDto" resultMap="InstallmentHistoryDetailResult">
|
||||
<include refid="selectInstallmentHistoryDetailVo"/>
|
||||
<where>
|
||||
a.del_flag='0'
|
||||
a.del_flag='0' and ih.del_flag='0'
|
||||
<if test="installmentHistoryId != null "> and a.installment_history_id = #{installmentHistoryId}</if>
|
||||
<if test="bankCardLendId != null "> and a.bank_card_lend_id = #{bankCardLendId}</if>
|
||||
<if test="type != null and type != ''"> and a.type = #{type}</if>
|
||||
|
||||
@@ -239,4 +239,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</update>
|
||||
|
||||
<delete id="deleteInstallmentHistoryDetailByIds" parameterType="String">
|
||||
delete from installment_history_detail where installment_history_id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user