|
|
|
@@ -240,16 +240,6 @@ |
|
|
|
where `open_app_id` = #{openAppId} and `union_id` = #{unionId} |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="BaseCUserResultMap" type="com.iformall.domain.po.base.BaseCUserEntity"> |
|
|
|
<id column="id" jdbcType="BIGINT" property="id"/> |
|
|
|
<result column="user_id" jdbcType="BIGINT" property="userId"/> |
|
|
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> |
|
|
|
<result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId"/> |
|
|
|
<result column="token" jdbcType="VARCHAR" property="token"/> |
|
|
|
<result column="expire_time" jdbcType="TIMESTAMP" property="expireTime"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="findByToken" resultMap="BaseResultMap"> |
|
|
|
select <include refid="allColumns"/> from wx_c_user |
|
|
|
where `token` = #{token} |
|
|
|
|