|
|
|
@@ -13,8 +13,8 @@ |
|
|
|
<result column="tag_id" jdbcType="BIGINT" property="tagId"/> |
|
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
|
<!-- <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> |
|
|
|
<result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId"/>--> |
|
|
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> |
|
|
|
<result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId"/> |
|
|
|
<result column="final_tenant_id" jdbcType="VARCHAR" property="finalTenantId"/> |
|
|
|
<result column="name" jdbcType="VARCHAR" property="name"/> |
|
|
|
<result column="level" jdbcType="VARCHAR" property="level"/> |
|
|
|
@@ -31,7 +31,7 @@ |
|
|
|
<sql id="allColumns"> |
|
|
|
distinct wcubi.`id`,wcubi.`phone`,wcubi.`birthdate`,wcubi.`education`,wcubi.`sex`,wcubi.`email`, |
|
|
|
wcubi.`address`,wcubi.`poins`,wcubi.`tag_id`,wcubi.`create_date`,wcubi.`update_date`, |
|
|
|
wcubi.`final_tenant_id`,wcubi.`name`,wcubi.`nick_name`, |
|
|
|
wcubi.`final_tenant_id`,wcubi.`tenant_id`,wcubi.`parent_tenant_id`,wcubi.`name`,wcubi.`nick_name`, |
|
|
|
wcubi.`avatar_url`,wcubi.`credit`,wcubi.`active_time`,wcubi.`login_count`,wcubi.`act_record` |
|
|
|
,(select level from wx_level_config |
|
|
|
where poins >= points and tenant_id=wcubi.final_tenant_id |
|
|
|
|