hanfucheng 7 月之前
父节点
当前提交
ba51ff419a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/lawenforcement/LawenforcementViewMapper.xml

+ 1 - 1
src/main/resources/mapper/lawenforcement/LawenforcementViewMapper.xml

@@ -114,7 +114,7 @@
             IFNULL(r.total, 0) total,
             IFNULL(c.lian, 0) lian
         FROM (
-        <foreach item="date" collection="dates" open="select" separator="union" close="">
+        <foreach item="date" collection="dates" open="select " separator="union select" close="">
             #{date} d
         </foreach>
         ) a