zhaoxian 2 роки тому
батько
коміт
8bbe43fb6c

+ 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"