Files
EasySoft-ZenTaoPMS/module/task/test/model/getstorytaskcounts.php
T

24 lines
683 B
PHP
Executable File

#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . "/test/lib/init.php";
include dirname(__FILE__, 2) . '/task.class.php';
su('admin');
/**
title=taskModel->getStoryTaskCounts();
cid=1
pid=1
根据需求1查看任务数量 >> 6
根据需求5查看任务数量 >> 6
根据需求9查看任务数量 >> 6
*/
$storyIDList = array('1','5','9');
$task = new taskTest();
r($task->getStoryTaskCountsTest($storyIDList)) && p('1') && e('6'); // 根据需求1查看任务数量
r($task->getStoryTaskCountsTest($storyIDList)) && p('5') && e('6'); // 根据需求5查看任务数量
r($task->getStoryTaskCountsTest($storyIDList)) && p('9') && e('6'); // 根据需求9查看任务数量