|
|
|
@@ -46,14 +46,13 @@ |
|
|
|
|
|
|
|
<select id="queryBrandByTenant" parameterType="com.iformall.domain.po.WxBrand" resultType="hashmap"> |
|
|
|
select id,`name` value from wx_brand |
|
|
|
<where> |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and `parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
where is_del = 0 |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and `parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="hasBrand" parameterType="com.iformall.domain.po.WxBrand" resultType="Integer"> |
|
|
|
|