|
|
|
|
|
|
|
|
<include refid="selectInspectionVo"/> |
|
|
<include refid="selectInspectionVo"/> |
|
|
<where> |
|
|
<where> |
|
|
<if test="1 == 1"> and mark = 1 </if> |
|
|
<if test="1 == 1"> and mark = 1 </if> |
|
|
|
|
|
<if test="request.type != null and request.type != 0"> and type = #{request.type} </if> |
|
|
<if test="request.code != null and request.code != ''"> and code like concat('%', #{request.code}, '%') </if> |
|
|
<if test="request.code != null and request.code != ''"> and code like concat('%', #{request.code}, '%') </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.airportId != null and request.airportId != 0"> and airport_id = #{request.airportId} </if> |
|
|
<if test="request.airportId != null and request.airportId != 0"> and airport_id = #{request.airportId} </if> |