Taobao through train commodity pit (1x 6n) how to occupy?

the number of goods on a page on the PC side of Taobao is 48, among which (1x 6n) is the through train pit, that is, the 1st, 7th, 13th, 19th, 25th, 31st, 37th and 43 pit positions are the through train pit.

question:
1, how to mark through train goods and non-through train goods, with a field or what?
2, through-train goods and non-through-train goods should be displayed together, and through-train goods should be put into each pit above. What is the code idea?

May.22,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4398f-43704.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4398f-43704.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?