|
|
|
@@ -27,10 +27,10 @@ |
|
|
|
<if test=" null != id ">and tt.`id` = #{id}</if> |
|
|
|
<if test=" null != tenantId ">and tt.`tenant_id` = #{tenantId}</if> |
|
|
|
<if test=" null != merchantName and merchantName !='' ">and tt.merchantName like concat('%', #{merchantName},'%')</if> |
|
|
|
<if test="starttime != null and starttime !=''"> |
|
|
|
<if test="starttime != null"> |
|
|
|
and tt.createtime >= #{starttime} |
|
|
|
</if> |
|
|
|
<if test="endtime != null and endtime !=''"> |
|
|
|
<if test="endtime != null"> |
|
|
|
and tt.createtime <= #{endtime} |
|
|
|
</if> |
|
|
|
<if test=" null != settleNumber and settleNumber !='' ">and tt.`settle_number` = #{settleNumber}</if> |
|
|
|
|