Browse Source

[业态/频道][修改]:取消租户ID

release_toaliyun_real
Stormeye.Wu 7 years ago
parent
commit
42624c031c
2 changed files with 7 additions and 24 deletions
  1. +4
    -11
      mallinkService/src/main/resources/mapper/WxBusinessMapper.xml
  2. +3
    -13
      mallinkService/src/main/resources/mapper/WxChannelMapper.xml

+ 4
- 11
mallinkService/src/main/resources/mapper/WxBusinessMapper.xml View File

@@ -3,7 +3,6 @@
<mapper namespace="com.simple.mapper.WxBusinessMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxBusiness">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="title" jdbcType="VARCHAR" property="title" />
<result column="type" jdbcType="INTEGER" property="type" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
@@ -18,33 +17,27 @@
where 1 = 1
<if test=" null != id ">
and `id` = #{id}
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != type ">
and `type` = #{type}
and `type` = #{type}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in


+ 3
- 13
mallinkService/src/main/resources/mapper/WxChannelMapper.xml View File

@@ -3,7 +3,6 @@
<mapper namespace="com.simple.mapper.WxChannelMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxChannel">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
<result column="channel_id" jdbcType="INTEGER" property="channelId" />
<result column="title" jdbcType="VARCHAR" property="title" />
<result column="img" jdbcType="VARCHAR" property="img" />
@@ -17,28 +16,19 @@
where 1 = 1
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` = #{tenantId}
</if>
and `id` = #{id}
</if>
<if test=" null != channelId ">
and `channel_id` = #{channelId}
and `channel_id` = #{channelId}
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != img ">
and `img` like concat('%', #{img},'%')
</if>
<if test=" null != ids ">
and id in


Loading…
Cancel
Save