|
@@ -15,6 +15,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="avatar" column="avatar" />
|
|
<result property="avatar" column="avatar" />
|
|
<result property="unit" column="unit" />
|
|
<result property="unit" column="unit" />
|
|
<result property="studio" column="studio" />
|
|
<result property="studio" column="studio" />
|
|
|
|
+ <result property="score" column="score" />
|
|
|
|
+ <result property="ranking" column="ranking" />
|
|
<result property="delFlag" column="del_flag" />
|
|
<result property="delFlag" column="del_flag" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
@@ -24,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectMemberInfoVo">
|
|
<sql id="selectMemberInfoVo">
|
|
- select member_id, user_id, member_name, member_card, boundary, party_affiliation, phonenumber, avatar, unit, studio, del_flag, create_by, create_time, update_by, update_time, remark from member_info
|
|
|
|
|
|
+ select member_id, user_id, member_name, member_card, boundary, party_affiliation, phonenumber, avatar, unit, studio, score,ranking,del_flag, create_by, create_time, update_by, update_time, remark from member_info
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectMemberInfoList" parameterType="MemberInfo" resultMap="MemberInfoResult">
|
|
<select id="selectMemberInfoList" parameterType="MemberInfo" resultMap="MemberInfoResult">
|
|
@@ -39,6 +41,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="avatar != null and avatar != ''"> and avatar = #{avatar}</if>
|
|
<if test="avatar != null and avatar != ''"> and avatar = #{avatar}</if>
|
|
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
|
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
|
<if test="studio != null and studio != ''"> and studio = #{studio}</if>
|
|
<if test="studio != null and studio != ''"> and studio = #{studio}</if>
|
|
|
|
+ <if test="score != null and score != ''"> and score = #{score}</if>
|
|
|
|
+ <if test="ranking != null and ranking != ''"> and ranking = #{ranking}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -59,6 +63,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="avatar != null">avatar,</if>
|
|
<if test="avatar != null">avatar,</if>
|
|
<if test="unit != null">unit,</if>
|
|
<if test="unit != null">unit,</if>
|
|
<if test="studio != null">studio,</if>
|
|
<if test="studio != null">studio,</if>
|
|
|
|
+ <if test="score != null">score,</if>
|
|
|
|
+ <if test="ranking != null">ranking,</if>
|
|
<if test="delFlag != null">del_flag,</if>
|
|
<if test="delFlag != null">del_flag,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -76,6 +82,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="avatar != null">#{avatar},</if>
|
|
<if test="avatar != null">#{avatar},</if>
|
|
<if test="unit != null">#{unit},</if>
|
|
<if test="unit != null">#{unit},</if>
|
|
<if test="studio != null">#{studio},</if>
|
|
<if test="studio != null">#{studio},</if>
|
|
|
|
+ <if test="score != null">#{score},</if>
|
|
|
|
+ <if test="ranking != null">#{ranking},</if>
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -97,6 +105,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="avatar != null">avatar = #{avatar},</if>
|
|
<if test="avatar != null">avatar = #{avatar},</if>
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
<if test="studio != null">studio = #{studio},</if>
|
|
<if test="studio != null">studio = #{studio},</if>
|
|
|
|
+ <if test="score != null and score != ''">score = #{score},</if>
|
|
|
|
+ <if test="ranking != null and ranking != ''">ranking = #{ranking},</if>
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|