|
|
@@ -229,7 +229,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<where> |
|
|
|
<if test="1 == 1"> and tif.mark = 1 </if> |
|
|
|
<if test="request.inspectionName != null and request.inspectionName != ''"> and ti.name like concat('%', #{request.inspectionName}, '%') </if> |
|
|
|
<if test="request.tenantId != null and request.tenantId != ''"> and tenant_id = #{request.tenantId} </if> |
|
|
|
<if test="request.tenantId != null and request.tenantId != ''"> and tif.tenant_id = #{request.tenantId} </if> |
|
|
|
<if test="request.questionCode != null and request.questionCode != ''"> and tif.question_code = #{request.questionCode} </if> |
|
|
|
<if test="request.status != null"> |
|
|
|
<choose> |