#!/usr/bin/env php gen(5); su('admin'); $execution = zdTable('project'); $execution->id->range('1-5'); $execution->name->range('项目集1,项目1,迭代1,阶段1,看板1'); $execution->type->range('program,project,sprint,stage,kanban'); $execution->parent->range('0,1,2{3}'); $execution->status->range('wait{3},suspended,closed,doing'); $execution->openedBy->range('admin,user1'); $execution->begin->range('20220112 000000:0')->type('timestamp')->format('YY/MM/DD'); $execution->end->range('20220212 000000:0')->type('timestamp')->format('YY/MM/DD'); $execution->order->range('1-5'); $execution->gen(5); /** title=测试executionModel->fixOrderTest(); cid=1 pid=1 重置order >> 15 */ $executionTester = new executionTest(); r($executionTester->fixOrderTest()) && p('3:order') && e('15'); // 重置order