fix(产品模块): 模块处的需求数量统计错误

无所属模块查询使用-1进行查询

Signed-off-by: OTTO <731554297@qq.com>
This commit is contained in:
OTTO 2025-02-19 08:43:18 +08:00
parent 48ddc9ccdb
commit 65ea36f889
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ public class PmsProductModuleServiceImpl implements IPmsProductModuleService
// 计算无所属模块的需求数量
PmsProductRequirement pmsProductRequirementSearch = new PmsProductRequirement();
pmsProductRequirementSearch.setPmsProductModuleId(-1L);
pmsProductRequirementSearch.setPmsProductIdentifier(pmsProductModule.getPmsProductIdentifier());
noModuleNodeDataCount = pmsProductRequirementService.selectProductReqSpecsCount(pmsProductRequirementSearch);
allNodeName = "配置项(CSCI)需求";
} else if (type == PmsConstants.TESTSHEET_TAG_AND_MODULE_TYPE) {