Compare commits

..

No commits in common. "5f61508ac8aafa9eceb8b9641e11a73af0b1214b" and "c2924b7f992d393d77e49610343ed35563b38387" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
SELECT pmvi.*
FROM product_model_video pmv
INNER JOIN product_model_video_item pmvi ON pmv.id=pmvi.model_video_id
WHERE pmv.state=1 AND pmv.`enable`=1 AND pmv.model_id=#{modelId} AND pmvi.language_code=#{language} and (LENGTH(pmvi.video)>0 or LENGTH(pmvi.image)>0)
WHERE pmv.state=1 AND pmv.`enable`=1 AND pmv.model_id=#{modelId} AND pmvi.language_code=#{language} and LENGTH(pmvi.video)>0
ORDER BY pmv.sort DESC
</select>