|
|
|
|
|
|
|
|
from th_accident |
|
|
from th_accident |
|
|
<where> |
|
|
<where> |
|
|
<if test="1 == 1"> and mark = 1 </if> |
|
|
<if test="1 == 1"> and mark = 1 </if> |
|
|
|
|
|
<if test="1 == 1"> and flag = 0 </if> |
|
|
<if test="request.tenantId != null and request.tenantId != ''"> and tenant_id = #{request.tenantId} </if> |
|
|
<if test="request.tenantId != null and request.tenantId != ''"> and tenant_id = #{request.tenantId} </if> |
|
|
<if test="request.statusList != null and request.statusList.size() > 0"> |
|
|
<if test="request.statusList != null and request.statusList.size() > 0"> |
|
|
and status in |
|
|
and status in |