hanfucheng il y a 7 mois
Parent
commit
ba51ff419a

+ 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