Pārlūkot izejas kodu

修改退出更新

zhoux 1 gadu atpakaļ
vecāks
revīzija
f5bd3dfe02
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/main/resources/mapper/UserMapper.xml

+ 1 - 0
src/main/resources/mapper/UserMapper.xml

@@ -121,6 +121,7 @@
             ,joined_cps = #{joinedCps,typeHandler=IntListTypeHandler}
         </if>
         where user_id = #{userId}::uuid
+        and current_cp not in (2,3)
     </update>
 
     <!--离职时候更新 用户的openid current_cp  , "joined_cps"   缩减相应的cpid-->