Browse Source

[集团版][修改]:集团版预处理

release_toaliyun_real
Stormeye Wu 6 years ago
parent
commit
dc336f4329
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      mallinkService/src/main/resources/mapper/WxBrandMapper.xml

+ 5
- 2
mallinkService/src/main/resources/mapper/WxBrandMapper.xml View File

@@ -38,8 +38,11 @@
<include refid="dynamicWhereConditions" />
</select>
<select id="queryBrand" resultType="hashmap">
select id,`name` value from wx_brand where tenant_id=#{value}
<select id="queryBrandByTenant" parameterType="com.iformall.domain.po.WxBrand" resultType="hashmap">
select id,`name` value from wx_brand
<where>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
</where>
</select>
<select id="hasBrand" parameterType="com.iformall.domain.po.WxBrand" resultType="Integer">


Loading…
Cancel
Save