|
@@ -32,10 +32,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="ipadStatus" column="ipad_status" />
|
|
|
<result property="serverId" column="server_id" />
|
|
|
<result property="serverStatus" column="server_status" />
|
|
|
+ <result property="avatar" column="avatar" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectQwUserVo">
|
|
|
- select id, qw_user_id,server_id,server_status,ipad_status,config_id,vid,uid,contact_way,app_key, qw_user_name, department, openid, company_id, company_user_id, corp_id, status, is_del, welcome_text, welcome_image, is_send_msg,app_key,qw_hook_id,fastGpt_role_id,login_status,tool_status,login_code_url,version from qw_user
|
|
|
+ select id, qw_user_id,server_id,server_status,ipad_status,config_id,vid,uid,contact_way,app_key, qw_user_name, department, openid, company_id, company_user_id, corp_id, status, is_del, welcome_text, welcome_image, is_send_msg,app_key,qw_hook_id,fastGpt_role_id,login_status,tool_status,login_code_url,version,avatar from qw_user
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectQwUserList" parameterType="QwUser" resultMap="QwUserResult">
|
|
@@ -58,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="toolStatus != null "> and tool_status = #{toolStatus}</if>
|
|
|
<if test="loginCodeUrl != null "> and login_code_url = #{loginCodeUrl}</if>
|
|
|
<if test="version != null "> and version = #{version}</if>
|
|
|
+ <if test="avatar != null "> and avatar = #{avatar}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -95,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ipadStatus != null">ipad_status,</if>
|
|
|
<if test="serverId != null">server_id,</if>
|
|
|
<if test="serverStatus != null">server_status,</if>
|
|
|
+ <if test="avatar != null">avatar,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="qwUserId != null">#{qwUserId},</if>
|
|
@@ -122,6 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ipadStatus != null">#{ipadStatus},</if>
|
|
|
<if test="serverId != null">#{serverId},</if>
|
|
|
<if test="serverStatus != null">#{serverStatus},</if>
|
|
|
+ <if test="avatar != null">#{avatar},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -154,6 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ipadStatus != null">ipad_status = #{ipadStatus},</if>
|
|
|
<if test="serverId != null">server_id = #{serverId},</if>
|
|
|
<if test="serverStatus != null">server_status = #{serverStatus},</if>
|
|
|
+ <if test="avatar != null">avatar = #{avatar},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|