From 2d6c0d1cffe663b3b37ef7e0575cfe6e11d8fd85 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期一, 18 十一月 2024 09:13:56 +0800
Subject: [PATCH] 修复bug:点击一键排版会自动保存
---
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