* [bug#52020,0.5h,0h] If it is a user requirement of the OR interface, there is no need to add sub-requirements (R & D requirements).

This commit is contained in:
tanghucheng
2024-07-05 15:28:58 +08:00
committed by 谢杞钰
parent 0d88c4c6af
commit 474a3874e2
+4
View File
@@ -3804,6 +3804,10 @@ class storyModel extends model
*/
public function appendChildren(int $productID, array $stories, string $storyType): array
{
/* 如果是OR界面的用户需求,则不需要追加子需求(研发需求)。 */
/* If it is the OR interface for user requirements, no need to add sub requirements.*/
if($storyType == 'requirement' && $this->config->vision == 'or') return $stories;
$storyGrades = array();
$requirementGrades = array();