|
@@ -35,7 +35,7 @@
|
|
</select>
|
|
</select>
|
|
<select id="getOperationListByUserId" resultType="com.caimei365.user.model.vo.OperationVo">
|
|
<select id="getOperationListByUserId" resultType="com.caimei365.user.model.vo.OperationVo">
|
|
select id, userID as userId, userType, userOrganizeID as organizeId, clubID as clubId, shopID as shopId, account, mobile,
|
|
select id, userID as userId, userType, userOrganizeID as organizeId, clubID as clubId, shopID as shopId, account, mobile,
|
|
- linkName, headimgurl as avatarUrl, invitationCode, status nickName, unionId, openid as openId, crmOpenid as crmOpenId, pcOpenid as pcOpenId,
|
|
|
|
|
|
+ linkName, headimgurl as avatarUrl, invitationCode, status, nickName, unionId, openid as openId, crmOpenid as crmOpenId, pcOpenid as pcOpenId,
|
|
invitationCodeTime, bindTime, updateTime, addTime, delFlag
|
|
invitationCodeTime, bindTime, updateTime, addTime, delFlag
|
|
from cm_mall_operation_user
|
|
from cm_mall_operation_user
|
|
where userID = #{userId} and delFlag = 0
|
|
where userID = #{userId} and delFlag = 0
|
|
@@ -98,19 +98,19 @@
|
|
<insert id="insertOperation" keyColumn="id" keyProperty="id" parameterType="com.caimei365.user.model.po.OperationPo">
|
|
<insert id="insertOperation" keyColumn="id" keyProperty="id" parameterType="com.caimei365.user.model.po.OperationPo">
|
|
insert into cm_mall_operation_user
|
|
insert into cm_mall_operation_user
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
- <if test="userOrganizeID != null">
|
|
|
|
|
|
+ <if test="organizeId != null">
|
|
userOrganizeID,
|
|
userOrganizeID,
|
|
</if>
|
|
</if>
|
|
- <if test="userID != null">
|
|
|
|
|
|
+ <if test="userId != null">
|
|
userID,
|
|
userID,
|
|
</if>
|
|
</if>
|
|
<if test="userType != null">
|
|
<if test="userType != null">
|
|
userType,
|
|
userType,
|
|
</if>
|
|
</if>
|
|
- <if test="shopID != null">
|
|
|
|
|
|
+ <if test="shopId != null">
|
|
shopID,
|
|
shopID,
|
|
</if>
|
|
</if>
|
|
- <if test="clubID != null">
|
|
|
|
|
|
+ <if test="clubId != null">
|
|
clubID,
|
|
clubID,
|
|
</if>
|
|
</if>
|
|
<if test="account != null">
|
|
<if test="account != null">
|
|
@@ -122,7 +122,7 @@
|
|
<if test="linkName != null">
|
|
<if test="linkName != null">
|
|
linkName,
|
|
linkName,
|
|
</if>
|
|
</if>
|
|
- <if test="headimgurl != null">
|
|
|
|
|
|
+ <if test="avatarUrl != null">
|
|
headimgurl,
|
|
headimgurl,
|
|
</if>
|
|
</if>
|
|
<if test="invitationCode != null">
|
|
<if test="invitationCode != null">
|
|
@@ -137,13 +137,13 @@
|
|
<if test="unionId != null">
|
|
<if test="unionId != null">
|
|
unionId,
|
|
unionId,
|
|
</if>
|
|
</if>
|
|
- <if test="openid != null">
|
|
|
|
|
|
+ <if test="openId != null">
|
|
openid,
|
|
openid,
|
|
</if>
|
|
</if>
|
|
- <if test="crmOpenid != null">
|
|
|
|
|
|
+ <if test="crmOpenId != null">
|
|
crmOpenid,
|
|
crmOpenid,
|
|
</if>
|
|
</if>
|
|
- <if test="pcOpenid != null">
|
|
|
|
|
|
+ <if test="pcOpenId != null">
|
|
pcOpenid,
|
|
pcOpenid,
|
|
</if>
|
|
</if>
|
|
<if test="invitationCodeTime != null">
|
|
<if test="invitationCodeTime != null">
|
|
@@ -172,10 +172,10 @@
|
|
<if test="userType != null">
|
|
<if test="userType != null">
|
|
#{userType},
|
|
#{userType},
|
|
</if>
|
|
</if>
|
|
- <if test="shopID != null">
|
|
|
|
|
|
+ <if test="shopId != null">
|
|
#{shopId},
|
|
#{shopId},
|
|
</if>
|
|
</if>
|
|
- <if test="clubID != null">
|
|
|
|
|
|
+ <if test="clubId != null">
|
|
#{clubId},
|
|
#{clubId},
|
|
</if>
|
|
</if>
|
|
<if test="account != null">
|
|
<if test="account != null">
|
|
@@ -187,6 +187,9 @@
|
|
<if test="linkName != null">
|
|
<if test="linkName != null">
|
|
#{linkName},
|
|
#{linkName},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="avatarUrl != null">
|
|
|
|
+ #{avatarUrl},
|
|
|
|
+ </if>
|
|
<if test="invitationCode != null">
|
|
<if test="invitationCode != null">
|
|
#{invitationCode},
|
|
#{invitationCode},
|
|
</if>
|
|
</if>
|
|
@@ -270,13 +273,13 @@
|
|
<if test="unionId != null">
|
|
<if test="unionId != null">
|
|
unionId = #{unionId},
|
|
unionId = #{unionId},
|
|
</if>
|
|
</if>
|
|
- <if test="openid != null">
|
|
|
|
|
|
+ <if test="openId != null">
|
|
openid = #{openId},
|
|
openid = #{openId},
|
|
</if>
|
|
</if>
|
|
- <if test="crmOpenid != null">
|
|
|
|
|
|
+ <if test="crmOpenId != null">
|
|
crmOpenid = #{crmOpenId},
|
|
crmOpenid = #{crmOpenId},
|
|
</if>
|
|
</if>
|
|
- <if test="pcOpenid != null">
|
|
|
|
|
|
+ <if test="pcOpenId != null">
|
|
pcOpenid = #{pcOpenId},
|
|
pcOpenid = #{pcOpenId},
|
|
</if>
|
|
</if>
|
|
<if test="invitationCodeTime != null">
|
|
<if test="invitationCodeTime != null">
|