zhaoxian 2 년 전
부모
커밋
8bbe43fb6c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ruixuan-live/src/main/resources/mapper/isc/KuaishouPromoterMapper.xml

+ 1 - 0
ruixuan-live/src/main/resources/mapper/isc/KuaishouPromoterMapper.xml

@@ -74,6 +74,7 @@
         <if test="userId != null ">
             AND user_id = #{userId}
         </if>
+        limit 1
     </select>
 
     <insert id="insertKuaishouPromoter" parameterType="com.ruixuan.isc.entity.KuaishouPromoter" useGeneratedKeys="true"