添加最后登录时间 1
This commit is contained in:
@@ -15,7 +15,7 @@ public interface ShopUserMapper extends BaseMapper<TbShopUser> {
|
|||||||
@Select("<script>" +
|
@Select("<script>" +
|
||||||
"SELECT su.id as id, su.head_img as headImg, su.name as nickName, su.sex as sex, " +
|
"SELECT su.id as id, su.head_img as headImg, su.name as nickName, su.sex as sex, " +
|
||||||
"su.amount as amount, 0 as totalScore, su.telephone as telephone, u.last_log_in_at as lastLoginAt, " +
|
"su.amount as amount, 0 as totalScore, su.telephone as telephone, u.last_log_in_at as lastLoginAt, " +
|
||||||
"su.birth_day as birthDay, su.is_vip as isVip, su.created_at as createAt, " +
|
"su.birth_day as birthDay, su.is_vip as isVip, su.created_at as createAt " +
|
||||||
"FROM tb_shop_user su " +
|
"FROM tb_shop_user su " +
|
||||||
"left join tb_user_info u on u.id = su.user_id " +
|
"left join tb_user_info u on u.id = su.user_id " +
|
||||||
"<where> " +
|
"<where> " +
|
||||||
|
|||||||
Reference in New Issue
Block a user