|
|
|
@ -103,18 +103,18 @@ |
|
|
|
version |
|
|
|
FROM plm_properties_model_header |
|
|
|
<where> |
|
|
|
site = #{site} |
|
|
|
<if test="codeNo != null and codeNo != ''"> |
|
|
|
AND code_no like '%' + #{codeNo} +'%' |
|
|
|
site = #{query.site} |
|
|
|
<if test="query.codeNo != null and query.codeNo != ''"> |
|
|
|
AND code_no like '%' + #{query.codeNo} +'%' |
|
|
|
</if> |
|
|
|
<if test="codeDesc != null and codeDesc != ''"> |
|
|
|
AND code_desc like '%' + #{codeDesc} +'%' |
|
|
|
<if test="query.codeDesc != null and query.codeDesc != ''"> |
|
|
|
AND code_desc like '%' + #{query.codeDesc} +'%' |
|
|
|
</if> |
|
|
|
<if test="active != null and active != ''"> |
|
|
|
AND active = #{active} |
|
|
|
<if test="query.active != null and query.active != ''"> |
|
|
|
AND active = #{query.active} |
|
|
|
</if> |
|
|
|
<if test="functionType != null and functionType != ''"> |
|
|
|
and function_type = #{functionType} |
|
|
|
<if test="query.functionType != null and query.functionType != ''"> |
|
|
|
and function_type = #{query.functionType} |
|
|
|
</if> |
|
|
|
|
|
|
|
</where> |
|
|
|
|