From 430877ad49507406d2649bd64efdb700f92ca20f Mon Sep 17 00:00:00 2001 From: lidongyang <506508008@qq.com> Date: Mon, 15 Dec 2025 09:26:18 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81bug=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/SimulationTaskMapper.xml | 29 +++++-------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/project/src/main/resources/mapper/SimulationTaskMapper.xml b/project/src/main/resources/mapper/SimulationTaskMapper.xml index 3b5eb04a..ff20a322 100644 --- a/project/src/main/resources/mapper/SimulationTaskMapper.xml +++ b/project/src/main/resources/mapper/SimulationTaskMapper.xml @@ -70,34 +70,25 @@ ) - - = #{req.beginTime} - ]]> - + = #{req.beginSTime} + and STR_TO_DATE(begin_time,'%Y-%m-%d %H:%i:%s') >= #{req.beginSTime} ]]> - - - = #{req.endSTime} ]]> @@ -106,19 +97,15 @@ and STR_TO_DATE(end_time,'%Y-%m-%d') <= DATE_ADD(CURRENT_DATE(), INTERVAL 2 DAY) ]]> - - - + = #{req.finishSTime} ]]>