From 8fad14a267d9a12da45a092e9c95995a2e5f396c Mon Sep 17 00:00:00 2001 From: liyang <“liyang@easycorp.ltd”> Date: Thu, 24 Mar 2022 14:19:56 +0800 Subject: [PATCH] add story stage data --- test/data/storystage.yaml | 32 ++++++++++++++++++++++++++++++++ test/data/zentao/config.php | 1 + 2 files changed, 33 insertions(+) create mode 100644 test/data/storystage.yaml diff --git a/test/data/storystage.yaml b/test/data/storystage.yaml new file mode 100644 index 0000000000..24fa8c1efb --- /dev/null +++ b/test/data/storystage.yaml @@ -0,0 +1,32 @@ +title: table zt_storystage +desc: "需求阶段" +author: automated export +version: "1.0" +fields: + - field: story + note: "需求ID" + range: 1-450 + prefix: "" + postfix: "" + loop: 0 + format: "" + - field: branch + note: "分支" + range: 0 + prefix: "" + postfix: "" + loop: 0 + format: "" + - field: stage + note: "所处阶段" + range: wait,planned,projected,developing,developed,testing,tested,verified,released,closed + prefix: "" + postfix: "" + loop: 0 + format: "" + - field: stagedBy + note: "设置阶段者" + prefix: "" + postfix: "" + loop: 0 + format: "" diff --git a/test/data/zentao/config.php b/test/data/zentao/config.php index 33ca942007..6a1d1cf8f3 100644 --- a/test/data/zentao/config.php +++ b/test/data/zentao/config.php @@ -21,6 +21,7 @@ $builder->childstory = array('rows' => 50, 'extends' => array('story','childst $builder->storyreview = array('rows' => 100, 'extends' => array('storyreview')); $builder->storymodule = array('rows' => 800, 'extends' => array('module','storymodule')); $builder->storyplan = array('rows' => 400, 'extends' => array('planstory')); +$builder->storystage = array('rows' => 450, 'extends' => array('storystage')); $builder->storyspec = array('rows' => 570, 'extends' => array('storyspec')); $builder->relation = array('rows' => 12, 'extends' => array('relation')); $builder->task = array('rows' => 600, 'extends' => array('task','task'));