瀏覽代碼

增加小程序测试登录

Althars123 2 年之前
父節點
當前提交
776510a910

+ 0 - 2
sdjk-service/src/main/resources/mapper/user/UserInfoMapper.xml

@@ -7,7 +7,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="UserInfo" id="UserInfoResult">
         <result property="id"    column="id"    />
         <result property="phone"    column="phone"    />
-        <result property="wechar"    column="wechar"    />
         <result property="headImage"    column="head_image"    />
         <result property="nickName"    column="nick_name"    />
         <result property="openid"    column="openid"    />
@@ -26,7 +25,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectUserInfoVo"/>
         <where>
             <if test="phone != null  and phone != ''"> and phone = #{phone}</if>
-            <if test="wechar != null  and wechar != ''"> and wechar = #{wechar}</if>
             <if test="headImage != null  and headImage != ''"> and head_image = #{headImage}</if>
             <if test="nickName != null  and nickName != ''"> and nick_name like concat('%', #{nickName}, '%')</if>
             <if test="openid != null  and openid != ''"> and openid = #{openid}</if>

+ 1 - 1
sdjk-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </sql>
 
 	<sql id="selectUserInfoVo">
-        select id, name, sex, sfzmlx, id_card, birthday, mobile, password, wechar, openid, inscode, create_time, school_class_type_id, update_time, pxcx, coachnum, status from user_info
+        select id, name, sex, sfzmlx, id_card, birthday, mobile, password,  openid, inscode, create_time, school_class_type_id, update_time, pxcx, coachnum, status from user_info
     </sql>
 
     <select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">