|
|
@ -51,6 +51,7 @@
|
|
|
|
ON sc.client_id = scb.client_id
|
|
|
|
ON sc.client_id = scb.client_id
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
|
|
|
|
re.is_valid = 1
|
|
|
|
<if test="risk_id != null">
|
|
|
|
<if test="risk_id != null">
|
|
|
|
AND re.risk_id = #{risk_id}
|
|
|
|
AND re.risk_id = #{risk_id}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -175,6 +176,7 @@
|
|
|
|
ON re.risk_id = ro.risk_id
|
|
|
|
ON re.risk_id = ro.risk_id
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
|
|
|
|
re.is_valid = 1
|
|
|
|
<if test="risk_id != null">
|
|
|
|
<if test="risk_id != null">
|
|
|
|
AND re.risk_id = #{risk_id}
|
|
|
|
AND re.risk_id = #{risk_id}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -257,6 +259,7 @@
|
|
|
|
) ro
|
|
|
|
) ro
|
|
|
|
ON re.risk_id = ro.risk_id
|
|
|
|
ON re.risk_id = ro.risk_id
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
|
|
|
|
re.is_valid = 1
|
|
|
|
<if test="risk_id != null">
|
|
|
|
<if test="risk_id != null">
|
|
|
|
AND re.risk_id = #{risk_id}
|
|
|
|
AND re.risk_id = #{risk_id}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|