zhoux пре 1 година
родитељ
комит
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-->