|
@@ -13,6 +13,7 @@
|
|
u.userPermission as userPermission,
|
|
u.userPermission as userPermission,
|
|
u.userIdentity as userIdentity,
|
|
u.userIdentity as userIdentity,
|
|
u.password as password,
|
|
u.password as password,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus
|
|
u.manufacturerStatus as shopStatus
|
|
from user u
|
|
from user u
|
|
@@ -31,6 +32,7 @@
|
|
u.userPermission as userPermission,
|
|
u.userPermission as userPermission,
|
|
u.userIdentity as userIdentity,
|
|
u.userIdentity as userIdentity,
|
|
u.password as password,
|
|
u.password as password,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
cu.id as operationId,
|
|
cu.id as operationId,
|
|
@@ -56,6 +58,7 @@
|
|
u.userPermission as userPermission,
|
|
u.userPermission as userPermission,
|
|
u.userIdentity as userIdentity,
|
|
u.userIdentity as userIdentity,
|
|
u.password as password,
|
|
u.password as password,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
cu.id as operationId,
|
|
cu.id as operationId,
|
|
@@ -63,9 +66,8 @@
|
|
cu.mobile as operationMobile
|
|
cu.mobile as operationMobile
|
|
from user u
|
|
from user u
|
|
left join cm_mall_operation_user cu on cu.userID = u.userID
|
|
left join cm_mall_operation_user cu on cu.userID = u.userID
|
|
- where u.userOrganizeID = 0 and cu.delFlag != 1
|
|
|
|
- and (u.bindMobile = #{mobile} or cu.mobile = #{mobile} )
|
|
|
|
- and u.userIdentity in (1,2,3,4)
|
|
|
|
|
|
+ where (u.bindMobile = #{mobile} or (cu.mobile = #{mobile} and cu.delFlag != 1))
|
|
|
|
+ and u.userOrganizeID = 0 and u.userIdentity in (1,2,3,4)
|
|
limit 1
|
|
limit 1
|
|
</select>
|
|
</select>
|
|
<select id="getServiceProviderUserByOpenId" resultType="com.caimei365.user.model.vo.UserLoginVo">
|
|
<select id="getServiceProviderUserByOpenId" resultType="com.caimei365.user.model.vo.UserLoginVo">
|
|
@@ -77,6 +79,7 @@
|
|
u.email as email,
|
|
u.email as email,
|
|
u.userPermission as userPermission,
|
|
u.userPermission as userPermission,
|
|
u.userIdentity as userIdentity,
|
|
u.userIdentity as userIdentity,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.password as password
|
|
u.password as password
|
|
from serviceprovider s
|
|
from serviceprovider s
|
|
left join user u on s.userID = u.userID
|
|
left join user u on s.userID = u.userID
|
|
@@ -103,6 +106,7 @@
|
|
u.userPermission as userPermission,
|
|
u.userPermission as userPermission,
|
|
u.userIdentity as userIdentity,
|
|
u.userIdentity as userIdentity,
|
|
u.password as password,
|
|
u.password as password,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
o.unionId as unionId,
|
|
o.unionId as unionId,
|
|
@@ -135,6 +139,7 @@
|
|
u.userPermission as userPermission,
|
|
u.userPermission as userPermission,
|
|
u.userIdentity as userIdentity,
|
|
u.userIdentity as userIdentity,
|
|
u.password as password,
|
|
u.password as password,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
o.unionId as unionId,
|
|
o.unionId as unionId,
|
|
@@ -196,6 +201,7 @@
|
|
u.shopID as shopId,
|
|
u.shopID as shopId,
|
|
u.userName as userName,
|
|
u.userName as userName,
|
|
u.userIdentity,
|
|
u.userIdentity,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
cou.invitationCodeTime,
|
|
cou.invitationCodeTime,
|
|
@@ -218,6 +224,7 @@
|
|
u.shopID as shopId,
|
|
u.shopID as shopId,
|
|
u.userName as userName,
|
|
u.userName as userName,
|
|
u.userIdentity,
|
|
u.userIdentity,
|
|
|
|
+ u.guideFlag as guideFlag,
|
|
u.clubStatus as clubStatus,
|
|
u.clubStatus as clubStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
u.manufacturerStatus as shopStatus,
|
|
cou.invitationCodeTime,
|
|
cou.invitationCodeTime,
|