Преглед изворни кода

/。bug

release_toaliyun_real
xhxu пре 4 година
родитељ
комит
4e2788ede3
1 измењених фајлова са 5 додато и 1 уклоњено
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml

+ 5
- 1
mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml Прегледај датотеку

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


Loading…
Откажи
Сачувај