|
|
|
@@ -27,11 +27,11 @@ |
|
|
|
<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 !=''"> |
|
|
|
and tt.createtime >= #{startTime} |
|
|
|
<if test="starttime != null and starttime !=''"> |
|
|
|
and tt.createtime >= #{starttime} |
|
|
|
</if> |
|
|
|
<if test="endTime != null and endTime !=''"> |
|
|
|
and tt.createtime <= #{endTime} |
|
|
|
<if test="endtime != null and endtime !=''"> |
|
|
|
and tt.createtime <= #{endtime} |
|
|
|
</if> |
|
|
|
<if test=" null != settleNumber and settleNumber !='' ">and tt.`settle_number` = #{settleNumber}</if> |
|
|
|
<if test=" null != status and status !=''">and tt.`status` = #{status}</if> |
|
|
|
|