| | |
| | | <if test="params.inspectionName != null and params.inspectionName != ''"> |
| | | and s.inspection_name like concat("%",#{params.inspectionName},"%") |
| | | </if> |
| | | <if test="params.checkedCompanyId != null and params.checkedCompanyId != ''"> |
| | | and s.checked_company_id like concat("%",#{params.checkedCompanyId},"%") |
| | | </if> |
| | | <if test="params.checkedCompanyName != null and params.checkedCompanyName != ''"> |
| | | and h.checked_company_name like concat("%",#{params.checkedCompanyName},"%") |
| | | and s.checked_company_name like concat("%",#{params.checkedCompanyName},"%") |
| | | </if> |
| | | <if test="params.flag != null and params.flag != '' "> |
| | | and s.flag = #{params.flag} |