SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001579s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002325s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19005604 LIMIT 5 [ RunTime:0.000682s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19005604 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19005604 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19005604 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19005604 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19005603 LIMIT 5 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19005603 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19005603 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19005603 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19005603 ORDER BY `minOrder` ASC [ RunTime:0.000839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14200609 LIMIT 5 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14200609 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14200609 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14200609 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14200609 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001186s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080598 LIMIT 5 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44080598 ORDER BY `minOrder` ASC [ RunTime:0.000928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44080598 ORDER BY `unit` DESC [ RunTime:0.000518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44080598 LIMIT 2 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44080598 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
select * from pdf where partno='SB130-T' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.001124s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130-T' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.000708s ]
SELECT `id` FROM `stock` WHERE `id` <> 44080598 AND `partno` = 'SB130-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.000702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44092116 LIMIT 5 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44092116 ORDER BY `minOrder` ASC [ RunTime:0.001418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44092116 ORDER BY `unit` DESC [ RunTime:0.000561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44092116 LIMIT 2 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44092116 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
select * from pdf where partno='SB130-E3/73' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.001086s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130-E3/73' OR `brand` LIKE 'Vishay General Semiconductor - Diodes Division%' ) ) LIMIT 1 [ RunTime:0.000643s ]
SELECT `id` FROM `stock` WHERE `id` <> 44092116 AND `partno` = 'SB130-E3/73' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay general semiconductor - diodes division%' ) [ RunTime:0.000675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44093395 LIMIT 5 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44093395 ORDER BY `minOrder` ASC [ RunTime:0.001020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44093395 ORDER BY `unit` DESC [ RunTime:0.000595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44093395 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44093395 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
select * from pdf where partno='SB130' and brandshort='Fairchild Semiconductor' limit 1 [ RunTime:0.001785s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130' OR `brand` LIKE 'Fairchild Semiconductor%' ) ) LIMIT 1 [ RunTime:0.000645s ]
SELECT `id` FROM `stock` WHERE `id` <> 44093395 AND `partno` = 'SB130' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%fairchild semiconductor%' ) [ RunTime:0.000780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44081797 LIMIT 5 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44081797 ORDER BY `minOrder` ASC [ RunTime:0.000997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44081797 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44081797 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44081797 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
select * from pdf where partno='SB130-E3/54' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.000819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130-E3/54' OR `brand` LIKE 'Vishay General Semiconductor - Diodes Division%' ) ) LIMIT 1 [ RunTime:0.000818s ]
SELECT `id` FROM `stock` WHERE `id` <> 44081797 AND `partno` = 'SB130-E3/54' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay general semiconductor - diodes division%' ) [ RunTime:0.000680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44091423 LIMIT 5 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091423 ORDER BY `minOrder` ASC [ RunTime:0.000943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44091423 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44091423 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44091423 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
select * from pdf where partno='SB130AS_R1_00001' and brandshort='Panjit International Inc.' limit 1 [ RunTime:0.001169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130AS_R1_00001' OR `brand` LIKE 'Panjit International Inc.%' ) ) LIMIT 1 [ RunTime:0.000528s ]
SELECT `id` FROM `stock` WHERE `id` <> 44091423 AND `partno` = 'SB130AS_R1_00001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panjit international inc.%' ) [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70252075 LIMIT 5 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70252075 ORDER BY `minOrder` ASC [ RunTime:0.000945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70252075 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70252075 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70252075 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
select * from pdf where partno='SB1302YZ' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.000905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB1302YZ' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.000457s ]
SELECT `id` FROM `stock` WHERE `id` <> 70252075 AND `partno` = 'SB1302YZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.000436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14200609 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70252026 LIMIT 5 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70252026 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70252026 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70252026 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70252026 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='SB13011/2BZ' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.000525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB13011/2BZ' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.000426s ]
SELECT `id` FROM `stock` WHERE `id` <> 70252026 AND `partno` = 'SB13011/2BZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.000476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19005604 [ RunTime:0.000431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70252025 LIMIT 5 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70252025 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70252025 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70252025 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70252025 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
select * from pdf where partno='SB13011/2YZ' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.000947s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB13011/2YZ' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.000664s ]
SELECT `id` FROM `stock` WHERE `id` <> 70252025 AND `partno` = 'SB13011/2YZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19005603 [ RunTime:0.000527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44098664 LIMIT 5 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098664 ORDER BY `minOrder` ASC [ RunTime:0.000956s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44098664 ORDER BY `unit` DESC [ RunTime:0.000572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44098664 LIMIT 2 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098664 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
select * from pdf where partno='SB130' and brandshort='Diotec Semiconductor' limit 1 [ RunTime:0.001295s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130' OR `brand` LIKE 'Diotec Semiconductor%' ) ) LIMIT 1 [ RunTime:0.000838s ]
SELECT `id` FROM `stock` WHERE `id` <> 44098664 AND `partno` = 'SB130' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diotec semiconductor%' ) [ RunTime:0.000599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44098100 LIMIT 5 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098100 ORDER BY `minOrder` ASC [ RunTime:0.000872s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44098100 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44098100 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098100 ORDER BY `minOrder` ASC [ RunTime:0.000650s ]
select * from pdf where partno='SB130S' and brandshort='Diotec Semiconductor' limit 1 [ RunTime:0.001170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130S' OR `brand` LIKE 'Diotec Semiconductor%' ) ) LIMIT 1 [ RunTime:0.000662s ]
SELECT `id` FROM `stock` WHERE `id` <> 44098100 AND `partno` = 'SB130S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diotec semiconductor%' ) [ RunTime:0.000648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44098081 LIMIT 5 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098081 ORDER BY `minOrder` ASC [ RunTime:0.000771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44098081 ORDER BY `unit` DESC [ RunTime:0.000556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44098081 LIMIT 2 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44098081 ORDER BY `minOrder` ASC [ RunTime:0.000571s ]
select * from pdf where partno='SB130' and brandshort='SMC Diode Solutions' limit 1 [ RunTime:0.001030s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130' OR `brand` LIKE 'SMC Diode Solutions%' ) ) LIMIT 1 [ RunTime:0.000743s ]
SELECT `id` FROM `stock` WHERE `id` <> 44098081 AND `partno` = 'SB130' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%smc diode solutions%' ) [ RunTime:0.000628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44097742 LIMIT 5 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44097742 ORDER BY `minOrder` ASC [ RunTime:0.000948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44097742 ORDER BY `unit` DESC [ RunTime:0.000565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44097742 LIMIT 2 [ RunTime:0.000543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44097742 ORDER BY `minOrder` ASC [ RunTime:0.000595s ]
select * from pdf where partno='SB130_R2_00001' and brandshort='Panjit International Inc.' limit 1 [ RunTime:0.000861s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SB130_R2_00001' OR `brand` LIKE 'Panjit International Inc.%' ) ) LIMIT 1 [ RunTime:0.000651s ]
SELECT `id` FROM `stock` WHERE `id` <> 44097742 AND `partno` = 'SB130_R2_00001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panjit international inc.%' ) [ RunTime:0.000650s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001593s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001677s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001813s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001672s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001611s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001671s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001940s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SB130%' OR `brand` LIKE 'SB130%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001405s ]