|
|
|
@@ -23,11 +23,15 @@ |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
|
|
|
|
where wcuc.`tenant_id` = #{tenantId} |
|
|
|
where 1=1 |
|
|
|
<if test=" null != id "> |
|
|
|
and wcuc.`id` = #{id} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and wcuc.`tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and wcuc.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
|