zhoux 1 год назад
Родитель
Сommit
f5bd3dfe02
1 измененных файлов с 1 добавлено и 0 удалено
  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-->