* [bug#65366,done,0.15h] fix need confirm cases range error.

This commit is contained in:
tianshujie
2025-09-16 11:43:00 +08:00
parent 3a7be50f18
commit 4cecaf5ca8
+4 -1
View File
@@ -108,7 +108,10 @@ class testcaseModel extends model
->beginIF($branch !== 'all')->andWhere('t1.branch')->eq($branch)->fi()
->beginIF($moduleIdList)->andWhere('t1.module')->in($moduleIdList)->fi()
->beginIF($browseType == 'wait')->andWhere('t1.status')->eq($browseType)->fi()
->beginIF($browseType == 'needconfirm')->andWhere('t2.version > t1.version')->fi()
->beginIF($browseType == 'needconfirm')
->andWhere('t2.version > t1.storyVersion')
->andWhere('t2.status')->eq('active')
->fi()
->beginIF($auto == 'auto' || $auto == 'unit')->andWhere('t1.auto')->eq($auto)->fi()
->beginIF($auto != 'auto' && $auto != 'unit')->andWhere('t1.auto')->ne('unit')->fi()
->beginIF($caseType)->andWhere('t1.type')->eq($caseType)->fi()