Select count(idx) from cs_goods2 where display=1 and part_idx=7 and code >