* add vision for story.

This commit is contained in:
tanghucheng
2022-01-28 09:50:21 +08:00
parent ec84a996de
commit f264c07984
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -2913,6 +2913,7 @@ class storyModel extends model
->from(TABLE_STORY)
->where('deleted')->eq(0)
->andWhere('type')->eq($type)
->andWhere('vision')->eq($this->config->vision)
->andWhere('assignedTo')->eq($account)
->beginIF(!empty($skipProductIDList))->andWhere('product')->notin($skipProductIDList)->fi()
->orderBy('id_desc')