From 9fdb8bef649c8bba6ea97330d0e509fade235417 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 23 十月 2024 10:39:24 +0800
Subject: [PATCH] 关于修改可靠性产品重复
---
modules/mainPart/src/main/resources/mapper/basicInfo/StatisticsDao.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/mainPart/src/main/resources/mapper/basicInfo/StatisticsDao.xml b/modules/mainPart/src/main/resources/mapper/basicInfo/StatisticsDao.xml
index a4b941f..69d59d6 100644
--- a/modules/mainPart/src/main/resources/mapper/basicInfo/StatisticsDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/basicInfo/StatisticsDao.xml
@@ -10,13 +10,15 @@
count(distinct c.id) AS operatConNum,
count(distinct d.id) AS modelNum,
count(distinct e.id) AS simulatNum,
- count(distinct f.id) AS testData
+ count(distinct f.id) AS testData,
+ count(distinct g.id) AS assessNum
FROM product_model a
left join task b on b.product_id = a.id and b.IS_DELETE=0
left join operat_condit c on c.product_id = a.id and c.IS_DELETE=0
left join model_rbd d on d.ship_id = a.id and d.IS_DELETE=0
left join simulat_assess e on e.product_id = a.id and e.IS_DELETE=0
left join assess_item f on f.product_id = a.id and f.IS_DELETE=0
+ left join assess_result g on g.product_id = a.id and g.IS_DELETE=0
where a.product_type = 2 and a.IS_DELETE =0
group by a.id,a.name
order by a.name
--
Gitblit v1.9.1