Procházet zdrojové kódy

数据中心新增功能无感监管→监管信息

Memory_LG před 3 týdny
rodič
revize
933d87e848

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

@@ -89,10 +89,10 @@
                 AND subitem_name LIKE CONCAT('%', #{subitemName}, '%')
             </if>
             <if test="startDate != null and startDate != ''">
-                AND check_start_time >= #{startDate}
+                AND FROM_UNIXTIME( check_start_time / 1000, '%Y-%m-%d' ) >= #{startDate}
             </if>
             <if test="endDate != null and endDate != ''">
-                AND check_end_time &lt;= #{endDate}
+                AND FROM_UNIXTIME( check_end_time / 1000, '%Y-%m-%d' ) &lt;= #{endDate}
             </if>
         </where>
         GROUP BY