Error Number: 1054
Unknown column 'id-desc' in 'where clause'
SELECT COUNT(*) AS `numrows` FROM `e_goods` WHERE `e_goods`.`cid` = 3328 and `e_goods`.`issalealone` = 1 and `e_goods`.`issale` = 1 and `e_goods`.`isdelete` =0 and (`e_goods`.`cate_ids` = '757' or `e_goods`.`cate_paths` like '%->757->%' ) and (( '2024-03-29 23:26:31' between `e_goods`.`promote_start_date` and e_goods.promote_end_date and `e_goods`.`promote_price` >= 300 ) or ('2024-03-29 23:26:31' not between `e_goods`.`promote_start_date` and e_goods.promote_end_date and e_goods.shop_price>=300 )) and `e_goods`.`isshipping` = `id-desc`
Filename: core/Model.php
Line Number: 81