Explorar el Código

是否注册APP

xgb hace 2 días
padre
commit
72b57d9a44

+ 1 - 0
fs-service/src/main/java/com/fs/store/vo/h5/FsUserPageListVO.java

@@ -109,6 +109,7 @@ public class FsUserPageListVO {
     // 项目会员 主键
     private Long id;
 
+    // 是否app用户 1 是 0 不是
     private Integer isAppUser;
 
 }

+ 2 - 1
fs-service/src/main/resources/mapper/his/FsUserMapper.xml

@@ -382,7 +382,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         ucu.company_id,
         ucu.project_id,
         fs_user.integral,
-        if(fs_user.pay_count>0,1,0) as isBuy
+        if(fs_user.pay_count>0,1,0) as isBuy,
+        case when fs_user.app_open_id is not null then 1 else 0 end as isAppUser
         FROM
         fs_user
         left join fs_user_company_user ucu on ucu.user_id = fs_user.user_id