cup 2 년 전
부모
커밋
3ef8a7884b

+ 1 - 1
mp-admin/src/main/java/com/qs/mp/web/controller/api/common/UserController.java

@@ -483,7 +483,7 @@ public class UserController extends BaseApiController {
         }
         jsonObject.put("openId", sysUser.getOpenId());
         jsonObject.put("channelOpenId", sysUser.getChannelOpenId());
-        jsonObject.put("aliUserId", sysUser.getAliuserId());
+        jsonObject.put("aliuserId", sysUser.getAliuserId());
         JSONArray roleKeys = new JSONArray();
         JSONArray roles = new JSONArray();
         loginUser.getUser().getRoles().forEach(sysRole -> roles.add(sysRole.getRoleName()));

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

@@ -202,7 +202,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="remark != null">remark = #{remark},</if>
 			<if test="gzhOpenId != null">gzh_open_id = #{gzhOpenId},</if>
 			<if test="openId != null">open_id = #{openId},</if>
-			<if test="aliuserId != null ">aliuser_id = #{aliuserId}</if>
+			<if test="aliuserId != null ">aliuser_id = #{aliuserId},</if>
 			<if test="channelOpenId != null">channel_open_id = #{channelOpenId},</if>
 			<if test="unionId != null">union_id = #{unionId},</if>
 			<if test="sessionKey != null">session_key = #{sessionKey},</if>