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"