|
|
@@ -663,6 +663,7 @@
|
|
|
<result column="authentication" jdbcType="INTEGER" property="authentication"/>
|
|
|
<result column="head_portrait_url" jdbcType="VARCHAR" property="headPortraitUrl" />
|
|
|
<result column="logo_url" jdbcType="VARCHAR" property="logoUrl" />
|
|
|
+ <result column="expert" jdbcType="VARCHAR" property="expert" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
</resultMap>
|
|
|
|
|
|
@@ -697,21 +698,23 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserBaseByUserId" parameterType="java.lang.String" resultMap="UserPageHomeBo">
|
|
|
- select
|
|
|
- id,
|
|
|
- number,
|
|
|
- type,
|
|
|
- authentication,
|
|
|
- username,
|
|
|
- identify_name,
|
|
|
- nickname,
|
|
|
- create_time,
|
|
|
- authentication,
|
|
|
- status,email,
|
|
|
- head_portrait_url,
|
|
|
- mobile from user
|
|
|
+ select
|
|
|
+ a.id,
|
|
|
+ a.number,
|
|
|
+ a.type,
|
|
|
+ a.authentication,
|
|
|
+ a.username,
|
|
|
+ a.identify_name,
|
|
|
+ a.nickname,
|
|
|
+ a.create_time,
|
|
|
+ a.authentication,
|
|
|
+ a.status,a.email,
|
|
|
+ a.head_portrait_url,
|
|
|
+ b.expert,
|
|
|
+ a.mobile from user a
|
|
|
+ left join user_identity b on a.id=b.uid
|
|
|
where
|
|
|
- id = #{uid,jdbcType = VARCHAR}
|
|
|
+ a.id = #{uid,jdbcType = VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserDownLoadBoByUserId" parameterType="java.lang.String" resultMap="UserDownLoadBo">
|