|
@@ -21,6 +21,9 @@
|
|
|
<if test="param.riskCode != null and param.riskCode != ''">
|
|
<if test="param.riskCode != null and param.riskCode != ''">
|
|
|
AND risk_code = #{param.riskCode}
|
|
AND risk_code = #{param.riskCode}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="param.clauseCode != null and param.clauseCode != ''">
|
|
|
|
|
+ AND clause_code LIKE CONCAT('%', #{param.clauseCode}, '%')
|
|
|
|
|
+ </if>
|
|
|
<if test="param.clauseName != null and param.clauseName != ''">
|
|
<if test="param.clauseName != null and param.clauseName != ''">
|
|
|
AND clause_name LIKE CONCAT('%', #{param.clauseName}, '%')
|
|
AND clause_name LIKE CONCAT('%', #{param.clauseName}, '%')
|
|
|
</if>
|
|
</if>
|