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"