|
|
@@ -38,8 +38,11 @@ |
|
|
<include refid="dynamicWhereConditions" /> |
|
|
<include refid="dynamicWhereConditions" /> |
|
|
</select> |
|
|
</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> |
|
|
|
|
|
|
|
|
<select id="hasBrand" parameterType="com.iformall.domain.po.WxBrand" resultType="Integer"> |
|
|
<select id="hasBrand" parameterType="com.iformall.domain.po.WxBrand" resultType="Integer"> |
|
|
|