fix(功能用例): 修复用例脑图创建用例默认等级错误问题
This commit is contained in:
parent
932eb9ac72
commit
54057a2fb9
|
@ -635,7 +635,7 @@ public class FunctionalCaseMinderService {
|
||||||
FunctionalCaseCustomField customField = new FunctionalCaseCustomField();
|
FunctionalCaseCustomField customField = new FunctionalCaseCustomField();
|
||||||
customField.setCaseId(caseId);
|
customField.setCaseId(caseId);
|
||||||
customField.setFieldId(defaultCustomFieldValueMap.get("priorityFieldId").toString());
|
customField.setFieldId(defaultCustomFieldValueMap.get("priorityFieldId").toString());
|
||||||
customField.setValue("P" + (functionalCaseChangeRequest.getPriority() - 1));
|
customField.setValue("P" + (functionalCaseChangeRequest.getPriority() == 0 ? 0 : functionalCaseChangeRequest.getPriority() - 1));
|
||||||
caseCustomFieldMapper.insertSelective(customField);
|
caseCustomFieldMapper.insertSelective(customField);
|
||||||
//日志
|
//日志
|
||||||
FunctionalCaseHistoryLogDTO historyLogDTO = new FunctionalCaseHistoryLogDTO(functionalCase, functionalCaseBlob, functionalCaseCustomFields, new ArrayList<>(), new ArrayList<>());
|
FunctionalCaseHistoryLogDTO historyLogDTO = new FunctionalCaseHistoryLogDTO(functionalCase, functionalCaseBlob, functionalCaseCustomFields, new ArrayList<>(), new ArrayList<>());
|
||||||
|
|
Loading…
Reference in New Issue