Explorar o código

新增登录账号的企业条件

zhangxin hai 3 semanas
pai
achega
0d2d942047
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      yami-shop-sys/src/main/resources/mapper/SysUserMapper.xml

+ 1 - 0
yami-shop-sys/src/main/resources/mapper/SysUserMapper.xml

@@ -18,5 +18,6 @@
 		select c.* from tz_sys_user a
 		left join tz_sys_user_channel b on a.user_id = b.user_id
 		left join  tz_channel c on  b.channel_id = c.id
+		where a.user_id = #{userId}
 	</select>
 </mapper>