feat(项目管理产品需求重构): 完善产品中的需求规格功能开发

修正需求规格纳入计划时修改了错误的状态

Signed-off-by: OTTO <731554297@qq.com>
This commit is contained in:
OTTO 2024-12-06 15:11:20 +08:00
parent 0af814be0d
commit 290b42333f
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ public class PmsProductRequirementServiceImpl implements IPmsProductRequirementS
JSONObject projectIssue = pmsProjectIssuesService.insertPmsProjectIssues(pmsProjectIssuesInputVo);
reqSpecs.setPmsProjectId(project.getId());
reqSpecs.setProjectReqId(projectIssue.getLong("id"));
reqSpecs.setStatus(ProductReqStatus.PLANNED_REQ_SPECS_CHANGING.getKey());
reqSpecs.setStatus(ProductReqStatus.PLANNED_REQ_SPECS.getKey());
int success = updateRequirement(reqSpecs, reqSpecs.getPmsProductIdentifier());
pmsProductReqOperationRecordService.insertPmsProductReqOperationRecord(
productReqSpecsActivePlanVo.toPmsProductReqOperationRecord(reqSpecs)