|
|
|
@@ -33,12 +33,24 @@ |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != beginTime "> |
|
|
|
and `begin_time` >= #{beginTime} |
|
|
|
|
|
|
|
<if test='statusStr =="0,2" or status==1'> |
|
|
|
<if test=" null != beginTime "> |
|
|
|
and `begin_time` >= #{beginTime} |
|
|
|
</if> |
|
|
|
<if test=" null != endTime "> |
|
|
|
and `begin_time` <= #{endTime} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test=" null != endTime "> |
|
|
|
and `end_time` <= #{endTime} |
|
|
|
<if test='status ==2 or status==3'> |
|
|
|
<if test=" null != beginTime "> |
|
|
|
and `end_time` >= #{beginTime} |
|
|
|
</if> |
|
|
|
<if test=" null != endTime "> |
|
|
|
and `end_time` <= #{endTime} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != status "> |
|
|
|
and `status` = #{status} |
|
|
|
</if> |
|
|
|
|