skyline 2 éve
szülő
commit
2ba54431a2

+ 2 - 1
mapper/src/main/resources/mappers/miniapp/ChargeOrderMapper.xml

@@ -161,7 +161,8 @@
             <if test="stationId != null">
                 AND station_id = #{stationId}
             </if>
-            start_time > '2023-09-15 00:00:00') t1
+            AND start_time &gt;= DATE_FORMAT(NOW(), '%Y-%m-%d 00:00:00')
+            AND start_time &lt;= DATE_FORMAT(NOW(), '%Y-%m-%d 23:59:59')) t1
         </where>
     </select>