From 1bcf0274afe80deaca591a5f093ae08158e4b78c Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 30 Nov 2020 17:26:33 +0800 Subject: [PATCH] * Finish task#8561. --- module/story/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/story/model.php b/module/story/model.php index 89a1335fb1..a589c95dff 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -83,10 +83,8 @@ class storyModel extends model public function getByList($storyIdList = 0, $type = 'story') { return $this->dao->select('t1.*, t2.spec, t2.verify, t3.name as productTitle') - ->markLeft() ->from(TABLE_STORY)->alias('t1') ->leftJoin(TABLE_STORYSPEC)->alias('t2')->on('t1.id=t2.story') - ->markRight() ->leftJoin(TABLE_PRODUCT)->alias('t3')->on('t1.product=t3.id') ->where('t1.deleted')->eq(0) ->andWhere('t1.version=t2.version')