|
@@ -47,8 +47,8 @@
|
|
|
|
|
|
|
|
<update id="updateUserVipSkusExpiryTime">
|
|
<update id="updateUserVipSkusExpiryTime">
|
|
|
update groups_relation set expiry_time = #{expiryTime} and update_time = now()
|
|
update groups_relation set expiry_time = #{expiryTime} and update_time = now()
|
|
|
- where id in (
|
|
|
|
|
- select id from groups_relation gr inner join groups_trips gt on gt.id = gr.groups_id
|
|
|
|
|
|
|
+ where id in (select * from(
|
|
|
|
|
+ select gr.id from groups_relation gr inner join groups_trips gt on gt.id = gr.groups_id
|
|
|
where gt.sku_id in
|
|
where gt.sku_id in
|
|
|
<foreach collection="vipSkuIds" item="item" open="(" separator="," close=")">
|
|
<foreach collection="vipSkuIds" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
#{item}
|
|
@@ -57,7 +57,7 @@
|
|
|
<foreach collection="userIds" item="item" open="(" separator="," close=")">
|
|
<foreach collection="userIds" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
#{item}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
- and is_vip)
|
|
|
|
|
|
|
+ and is_vip)s)
|
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
|
<select id="getAccountIdsByUserIdOrNickNameOrSubmitAccount" resultType="java.lang.Long">
|
|
<select id="getAccountIdsByUserIdOrNickNameOrSubmitAccount" resultType="java.lang.Long">
|