From 2f50bbbd583d2d2796b6c8ec346df834955796c0 Mon Sep 17 00:00:00 2001 From: hyy-alt <1041001226@qq.com> Date: Wed, 2 Jun 2021 11:17:18 +0800 Subject: [PATCH] =?UTF-8?q?sql=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wisdomcar/src/main/resources/mapper_dao/StepTaskDao.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wisdomcar/src/main/resources/mapper_dao/StepTaskDao.xml b/wisdomcar/src/main/resources/mapper_dao/StepTaskDao.xml index fbe08647..a0191297 100644 --- a/wisdomcar/src/main/resources/mapper_dao/StepTaskDao.xml +++ b/wisdomcar/src/main/resources/mapper_dao/StepTaskDao.xml @@ -2,9 +2,9 @@ - select c.id, c.task_sub_id as taskSubId, c.patient_id as patientId, c.car_id as carId, c.start_time as startTime, c.end_time as endTime FROM - (select patient_id, batch from t_step_task where task_sub_id = 1 and rec_status = 0) batch, + (select patient_id, batch from t_step_task where task_sub_id = #{taskSubId} and rec_status = 0) batch, (select id from t_step where code = 1 and step_type = 0 and rec_status = 0) step, t_step_task st, t_patient_wisdom_car c