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