|
@@ -17,6 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="studio" column="studio" />
|
|
|
<result property="score" column="score" />
|
|
|
<result property="ranking" column="ranking" />
|
|
|
+ <result property="grade" column="grade" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -26,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectMemberInfoVo">
|
|
|
- select member_id, user_id, name, card, boundary, party_affiliation, phonenumber, avatar, unit, studio,score,ranking, del_flag, create_by, create_time, update_by, update_time, remark from member_info
|
|
|
+ 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
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectMemberInfoList" parameterType="MemberInfo" resultMap="MemberInfoResult">
|
|
@@ -43,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="grade != null and grade != ''"> and find_in_set(#{grade}, grade)</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -65,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="studio != null">studio,</if>
|
|
|
<if test="score != null">score,</if>
|
|
|
<if test="ranking != null">ranking,</if>
|
|
|
+ <if test="grade != null">grade,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -84,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="studio != null">#{studio},</if>
|
|
|
<if test="score != null">#{score},</if>
|
|
|
<if test="ranking != null">#{ranking},</if>
|
|
|
+ <if test="grade != null">#{grade},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -107,6 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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="grade != null and grade != ''">grade = #{grade},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|