From fa69d536486c31d240640e0d13afcc079fc8a007 Mon Sep 17 00:00:00 2001 From: OTTO <731554297@qq.com> Date: Fri, 20 Dec 2024 10:54:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E9=9C=80=E6=B1=82=E9=87=8D=E6=9E=84):=20?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=A7=E5=93=81=E9=9C=80=E6=B1=82=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统计模块下需规数据时需根据需规状态统计 Signed-off-by: OTTO <731554297@qq.com> --- .../src/main/resources/mapper/pms/PmsProductModuleMapper.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/microservices-modules/microservices-modules-pms/src/main/resources/mapper/pms/PmsProductModuleMapper.xml b/microservices-modules/microservices-modules-pms/src/main/resources/mapper/pms/PmsProductModuleMapper.xml index a068e181f..63fe7100b 100644 --- a/microservices-modules/microservices-modules-pms/src/main/resources/mapper/pms/PmsProductModuleMapper.xml +++ b/microservices-modules/microservices-modules-pms/src/main/resources/mapper/pms/PmsProductModuleMapper.xml @@ -56,6 +56,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SELECT COUNT(*) FROM pms_product_requirement r WHERE r.pms_product_module_id = m.id + and (r.`status` = 'pendingReviewReqSpecs' or r.`status` = 'plannedReqSpecs' or + r.`status` = 'rejectedReqSpecs' or + r.`status` = 'reviewedReqSpecs' or r.`status` = 'completedReqSpecs' or + r.`status` = 'changingReqSpecs') ) AS requirementCount , (SELECT COUNT(*) FROM pms_project_testcase t