zhaoxian %!s(int64=4) %!d(string=hai) anos
pai
achega
1d1f65be3c

+ 1 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/mapper/xml/KuaishouTemplateMapper.xml

@@ -55,6 +55,7 @@
                  INNER JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
                  left JOIN ctop_kuaishou_directional_package_rel t3 ON t1.template_id = t3.template_id AND t2.project_id = t3.project_id
         where t1.template_id = #{templateId}
+        limit 1
     </select>