|
@@ -15,6 +15,7 @@ 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="isMember" column="is_member" />
|
|
<result property="score" column="score" />
|
|
<result property="score" column="score" />
|
|
<result property="ranking" column="ranking" />
|
|
<result property="ranking" column="ranking" />
|
|
<result property="grade" column="grade" />
|
|
<result property="grade" column="grade" />
|
|
@@ -27,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectMemberInfoVo">
|
|
<sql id="selectMemberInfoVo">
|
|
- select member_id, user_id, name, card, boundary, party_affiliation, phonenumber, avatar, unit, studio,score,ranking,grade, del_flag, create_by, create_time, update_by, update_time, remark from member_info
|
|
|
|
|
|
+ select member_id, user_id, name, card, boundary, is_member,party_affiliation, phonenumber, avatar, unit, studio,score,ranking,grade, 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">
|
|
@@ -42,6 +43,7 @@ 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="isMember != null and isMember != ''"> and is_member = #{isMember}</if>
|
|
<if test="score != null and score != ''"> and score = #{score}</if>
|
|
<if test="score != null and score != ''"> and score = #{score}</if>
|
|
<if test="ranking != null and ranking != ''"> and ranking = #{ranking}</if>
|
|
<if test="ranking != null and ranking != ''"> and ranking = #{ranking}</if>
|
|
<if test="grade != null and grade != ''"> and find_in_set(#{grade}, grade)</if>
|
|
<if test="grade != null and grade != ''"> and find_in_set(#{grade}, grade)</if>
|
|
@@ -69,6 +71,7 @@ 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="isMember != null and isMember !=''">is_member,</if>
|
|
<if test="score != null">score,</if>
|
|
<if test="score != null">score,</if>
|
|
<if test="ranking != null">ranking,</if>
|
|
<if test="ranking != null">ranking,</if>
|
|
<if test="grade != null">grade,</if>
|
|
<if test="grade != null">grade,</if>
|
|
@@ -89,6 +92,7 @@ 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="isMember != null and isMember != ''">#{isMember},</if>
|
|
<if test="score != null">#{score},</if>
|
|
<if test="score != null">#{score},</if>
|
|
<if test="ranking != null">#{ranking},</if>
|
|
<if test="ranking != null">#{ranking},</if>
|
|
<if test="grade != null">#{grade},</if>
|
|
<if test="grade != null">#{grade},</if>
|
|
@@ -113,6 +117,7 @@ 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="isMember != null and isMember != ''">is_member = #{isMember},</if>
|
|
<if test="score != null and score != ''">score = #{score},</if>
|
|
<if test="score != null and score != ''">score = #{score},</if>
|
|
<if test="ranking != null and ranking != ''">ranking = #{ranking},</if>
|
|
<if test="ranking != null and ranking != ''">ranking = #{ranking},</if>
|
|
<if test="grade != null and grade != ''">grade = #{grade},</if>
|
|
<if test="grade != null and grade != ''">grade = #{grade},</if>
|