From 8c834663344b1cc9c2ca569e6911900edd407f73 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 06 六月 2024 16:44:14 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml index b8917aa..63fc4fa 100644 --- a/modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml +++ b/modules/mainPart/src/main/resources/mapper/taskReliability/ModelRbdDao.xml @@ -13,7 +13,7 @@ from model_rbd a left join (select model_id,1 as end from algorithm where model_type = 'end' and is_delete=0 ) b on b.model_id = a.id - left join (select model_id, count(1) as num from algorithm where is_delete=0 group by model_id ) c on c.model_id + left join (select id, count(1) as num from model_rbd where is_delete=0 group by id ) c on c.id = a.id left join (select model_id,count(1) as num from operat_condit_model where is_delete=0 group by model_id ) d on d.model_id = a.id -- Gitblit v1.9.1