Merge branch 'sprint/170_zhouxin_44486,44487,44488' into 'sprint/170'
Add realBegan for program. See merge request easycorp/zentaopms!529
This commit is contained in:
@@ -103,7 +103,8 @@ class commonModel extends model
|
||||
->orderBy('id_desc')
|
||||
->fetchPairs();
|
||||
|
||||
$this->dao->update(TABLE_PROGRAM)->set('status')->eq('doing')->where('id')->in($waitList)->exec();
|
||||
$now = helper::now();
|
||||
$this->dao->update(TABLE_PROGRAM)->set('status')->eq('doing')->set('realBegan')->eq($now)->where('id')->in($waitList)->exec();
|
||||
foreach($waitList as $programID)
|
||||
{
|
||||
$this->loadModel('action')->create('program', $programID, 'syncprogram');
|
||||
|
||||
Reference in New Issue
Block a user