|
@@ -25,7 +25,8 @@
|
|
|
|
|
|
<select id="getByIds" resultMap="BaseResultMap">
|
|
|
SELECT * FROM biz_payment
|
|
|
- WHERE id IN <foreach item="id" index="index" collection="ids" open="(" separator="," close=")">
|
|
|
+ WHERE id IN
|
|
|
+ <foreach item="id" index="index" collection="ids" open="(" separator="," close=")">
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</select>
|
|
@@ -72,6 +73,9 @@
|
|
|
<if test="id != null">
|
|
|
AND t1.id = #{id}
|
|
|
</if>
|
|
|
+ <if test="contractNo != null and contractNo!=''">
|
|
|
+ AND t4.contract_no like concat('%',#{contractNo},'%' )
|
|
|
+ </if>
|
|
|
<if test="tenantId != null">
|
|
|
AND t1.tenant_id = #{tenantId}
|
|
|
</if>
|
|
@@ -92,7 +96,7 @@
|
|
|
)
|
|
|
</if>
|
|
|
<if test="dateFilter != null">
|
|
|
- AND (
|
|
|
+ AND (
|
|
|
DATE_FORMAT(t1.verify_date,'%Y-%m-%d') >= #{dateFilter[0]}
|
|
|
AND
|
|
|
DATE_FORMAT(t1.verify_date,'%Y-%m-%d') <= #{dateFilter[1]}
|