Quellcode durchsuchen

添加查询模板接口

zhaoxian vor 4 Jahren
Ursprung
Commit
70e6d7ebda

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

@@ -14,8 +14,9 @@
                 LEFT JOIN ctop_kuaishou_template_target t2 ON t1.template_id = t2.template_id
         WHERE
             t1.account_id = #{accountId}
+        <if test="platformOs != null">
             AND t2.platform_os = #{platformOs}
-
+        </if>
     </select>
 
 </mapper>