소스 검색

app极光推送

sunhh 2 년 전
부모
커밋
1dbdf0ae16
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      business-service/src/main/resources/mapper/service/UserRegistrationidMapper.xml

+ 1 - 1
business-service/src/main/resources/mapper/service/UserRegistrationidMapper.xml

@@ -5,7 +5,7 @@
     <update id="updateRegistrationID" parameterType="com.ozs.service.entity.UserRegistrationid">
         update user_registrationid
         <set>
-            <if test="registration_id != null and registration_id != 0">
+            <if test="registrationId != null and registrationId != ''">
                 registration_id = #{registrationId}
             </if>
         </set>