select pb.product_type, pb.shorter_name,pb.product_name,pb.product_id,pb.bright_point, pb.expected_profit,ps.least_amount,cs.title from product_issue pi
join product_basic pb on pi.product_id=pb.product_id
join product_subscribe ps on pi.product_id=ps.product_id
join common_subclass cs on pi.duration=cs.subclass_id where pb.status = 1 and pb.show_status=1
join common_subclass cs on pi.duration=cs.subclass_id where pb.status = 1
order by pb.sort_id desc limit 0,4
</select>
<!-- 获取典型的产品 -->
...
...
@@ -320,8 +320,8 @@
(select p.product_id, p.expiry_date,p.net_value
from product_performance p order by p.expiry_date desc ) p
group by p.product_id) pp on pp.product_id=pb.product_id