|
@@ -8,6 +8,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="id" column="id" />
|
|
<result property="id" column="id" />
|
|
<result property="username" column="username" />
|
|
<result property="username" column="username" />
|
|
<result property="mobile" column="mobile" />
|
|
<result property="mobile" column="mobile" />
|
|
|
|
+ <result property="sex" column="sex" />
|
|
|
|
+ <result property="address" column="address" />
|
|
|
|
+ <result property="city" column="city" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -18,7 +21,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysMemberVo">
|
|
<sql id="selectSysMemberVo">
|
|
- select id, username, mobile, create_by, create_time, update_by, update_time, integral, del_flag, open_id from sys_member
|
|
|
|
|
|
+ select id,
|
|
|
|
+ username,
|
|
|
|
+ mobile,
|
|
|
|
+ sex,
|
|
|
|
+ address,
|
|
|
|
+ city,
|
|
|
|
+ create_by,
|
|
|
|
+ create_time,
|
|
|
|
+ update_by,
|
|
|
|
+ update_time,
|
|
|
|
+ integral,
|
|
|
|
+ del_flag,
|
|
|
|
+ open_id
|
|
|
|
+ from sys_member
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectSysMemberList" parameterType="SysMember" resultMap="SysMemberResult">
|
|
<select id="selectSysMemberList" parameterType="SysMember" resultMap="SysMemberResult">
|
|
@@ -39,6 +55,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<if test="username != null">username,</if>
|
|
<if test="username != null">username,</if>
|
|
<if test="mobile != null">mobile,</if>
|
|
<if test="mobile != null">mobile,</if>
|
|
|
|
+ <if test="sex != null">sex,</if>
|
|
|
|
+ <if test="address != null">address,</if>
|
|
|
|
+ <if test="city != null">city,</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>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -50,6 +69,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="username != null">#{username},</if>
|
|
<if test="username != null">#{username},</if>
|
|
<if test="mobile != null">#{mobile},</if>
|
|
<if test="mobile != null">#{mobile},</if>
|
|
|
|
+ <if test="sex != null">#{sex},</if>
|
|
|
|
+ <if test="address != null">addressmobile},</if>
|
|
|
|
+ <if test="city != null">#{city},</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>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -65,6 +87,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="username != null">username = #{username},</if>
|
|
<if test="username != null">username = #{username},</if>
|
|
<if test="mobile != null">mobile = #{mobile},</if>
|
|
<if test="mobile != null">mobile = #{mobile},</if>
|
|
|
|
+ <if test="sex != null">sex = #{sex},</if>
|
|
|
|
+ <if test="address != null">address = #{address},</if>
|
|
|
|
+ <if test="city != null">city = #{city},</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>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|