gotodsp

Mark

SELECT
    tu.id userId,
    tu.avatar_url avatarUrl,
    tu.wx_nick_name wxNickName,
    tu.city city,
    (select dict_label from sys_dict_data where dict_type = \'sys_user_sex\' and dict_value = tu.sex) sex,
    if(1 = (select 1 from sys_user where phonenumber = tu.mobile limit 1), \'代理\', \'用户\') userDesc
FROM
    t_wx_user tu

:)

分类:

技术点:

相关文章:

  • 2021-10-09
  • 2021-11-16
  • 2021-06-04
  • 2021-11-27
  • 2021-11-01
  • 2021-08-14
  • 2021-11-04
猜你喜欢
  • 2021-12-19
  • 2021-12-12
  • 2021-12-10
  • 2021-11-05
  • 2021-05-13
  • 2022-02-09
  • 2021-04-20
相关资源
相似解决方案