xhxu 5 лет назад
Родитель
Сommit
add7590121
1 измененных файлов: 1 добавлений и 7 удалений
  1. +1
    -7
      mallinkService/src/main/resources/mapper/WxDataRuleTargetMapper.xml

+ 1
- 7
mallinkService/src/main/resources/mapper/WxDataRuleTargetMapper.xml Просмотреть файл

@@ -3,8 +3,6 @@
<mapper namespace="com.iformall.mapper.WxDataRuleTargetMapper"> <mapper namespace="com.iformall.mapper.WxDataRuleTargetMapper">
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxDataRuleTarget"> <resultMap id="BaseResultMap" type="com.iformall.domain.po.WxDataRuleTarget">
<id column="id" jdbcType="BIGINT" property="id"/> <id column="id" jdbcType="BIGINT" property="id"/>
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/>
<result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId" />
<result column="parent" jdbcType="BIGINT" property="parent"/> <result column="parent" jdbcType="BIGINT" property="parent"/>
<result column="name" jdbcType="VARCHAR" property="name"/> <result column="name" jdbcType="VARCHAR" property="name"/>
<result column="tag" jdbcType="VARCHAR" property="tag"/> <result column="tag" jdbcType="VARCHAR" property="tag"/>
@@ -13,7 +11,7 @@
</resultMap> </resultMap>
<sql id="allColumns"> <sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`parent`,`name`,`tag`,`create_time`,`update_time`
`id`,`parent`,`name`,`tag`,`create_time`,`update_time`
</sql> </sql>
<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -23,10 +21,6 @@
and `id` = #{id} and `id` = #{id}
</if> </if>
<if test=" null != tenantId ">
and `tenant_id` = #{tenantId}
</if>
<if test=" null != name "> <if test=" null != name ">
and `name` like concat('%',#{name},'%') and `name` like concat('%',#{name},'%')
</if> </if>


Загрузка…
Отмена
Сохранить