* [sql] add execution list.
This commit is contained in:
+4
-1
@@ -54,4 +54,7 @@ SET `bug`.`identify` = 'requirement'
|
||||
WHERE `bug`.`identify` != 0 AND `object`.`category` NOT IN ('HLDS', 'DDS', 'DBDS', 'ADS', 'QAP', 'CMP', 'ITP', 'ITTC', 'STP', 'STTC', 'UM');
|
||||
|
||||
UPDATE `zt_bug` SET `injection` = '' WHERE `injection` = '0';
|
||||
UPDATE `zt_bug` SET `identify` = '' WHERE `identify` = '0';
|
||||
UPDATE `zt_bug` SET `identify` = '' WHERE `identify` = '0';
|
||||
|
||||
INSERT INTO `zt_workflowaction` (`group`, `module`, `action`, `method`, `name`, `type`, `batchMode`, `extensionType`, `open`, `position`, `layout`, `show`, `order`, `buildin`, `role`, `virtual`, `conditions`, `verifications`, `hooks`, `linkages`, `js`, `css`, `toList`, `blocks`, `desc`, `status`, `vision`, `createdBy`, `createdDate`, `editedBy`, `editedDate`) VALUES
|
||||
(0, 'project', 'execution', 'browse', '执行列表', 'single', 'different', 'none', 'normal', 'browse', 'normal', 'direct', 0, 1, 'buildin', 0, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, 'enable', 'rnd', 'admin', '2025-01-08 09:41:02', '', NULL);
|
||||
@@ -250,6 +250,8 @@ class holidayModel extends model
|
||||
$endTime = strtotime($end);
|
||||
$days = ($endTime - $beginTime) / 86400;
|
||||
|
||||
if(!$beginTime) return array();
|
||||
|
||||
$dateList = array();
|
||||
for($i = 0; $i <= $days; $i ++) $dateList[] = date('Y-m-d', strtotime("+{$i} days", $beginTime));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user