Przeglądaj źródła

/。bug

release_toaliyun_real
xhxu 4 lat temu
rodzic
commit
4e2788ede3
1 zmienionych plików z 5 dodań i 1 usunięć
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml

+ 5
- 1
mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml Wyświetl plik

@@ -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>


Ładowanie…
Anuluj
Zapisz