1 and (CateId in(select CateId from products_category where UId like '0,965,1132,%') or CateId='1132' or (ExtCateId like '%,1133,%' or ExtCateId like '%,1288,%' or ExtCateId like '%,1326,%' or ExtCateId like '%,1327,%' or ExtCateId like '%,1328,%' or ExtCateId like '%,1132,%')) and PicPath_0 is not null and Model is not null and status=1 and SoldOut=0