SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002588s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024858s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.021193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13227001 LIMIT 5 [ RunTime:0.022291s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13227001 ORDER BY `minOrder` ASC [ RunTime:0.020825s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.015591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13227001 ORDER BY `unit` DESC [ RunTime:0.020363s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009006s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13227001 LIMIT 2 [ RunTime:0.065444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13227001 ORDER BY `minOrder` ASC [ RunTime:0.008576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11960477 LIMIT 5 [ RunTime:0.023572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11960477 ORDER BY `minOrder` ASC [ RunTime:0.039406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11960477 ORDER BY `unit` DESC [ RunTime:0.035321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11960477 LIMIT 2 [ RunTime:0.052653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11960477 ORDER BY `minOrder` ASC [ RunTime:0.014800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13229377 LIMIT 5 [ RunTime:0.029933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13229377 ORDER BY `minOrder` ASC [ RunTime:0.065502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13229377 ORDER BY `unit` DESC [ RunTime:0.072562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13229377 LIMIT 2 [ RunTime:0.013898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13229377 ORDER BY `minOrder` ASC [ RunTime:0.060437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17834072 LIMIT 5 [ RunTime:0.019234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17834072 ORDER BY `minOrder` ASC [ RunTime:0.048586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17834072 ORDER BY `unit` DESC [ RunTime:0.048814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17834072 LIMIT 2 [ RunTime:0.041915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17834072 ORDER BY `minOrder` ASC [ RunTime:0.019920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17828512 LIMIT 5 [ RunTime:0.008693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17828512 ORDER BY `minOrder` ASC [ RunTime:0.014645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17828512 ORDER BY `unit` DESC [ RunTime:0.010926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17828512 LIMIT 2 [ RunTime:0.030749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17828512 ORDER BY `minOrder` ASC [ RunTime:0.002378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17769205 LIMIT 5 [ RunTime:0.019296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17769205 ORDER BY `minOrder` ASC [ RunTime:0.006461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17769205 ORDER BY `unit` DESC [ RunTime:0.032800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17769205 LIMIT 2 [ RunTime:0.028637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17769205 ORDER BY `minOrder` ASC [ RunTime:0.003606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16782180 LIMIT 5 [ RunTime:0.018184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782180 ORDER BY `minOrder` ASC [ RunTime:0.021472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16782180 ORDER BY `unit` DESC [ RunTime:0.012925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16782180 LIMIT 2 [ RunTime:0.008325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782180 ORDER BY `minOrder` ASC [ RunTime:0.007175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12176411 LIMIT 5 [ RunTime:0.006785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12176411 ORDER BY `minOrder` ASC [ RunTime:0.005972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12176411 ORDER BY `unit` DESC [ RunTime:0.013475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12176411 LIMIT 2 [ RunTime:0.009209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12176411 ORDER BY `minOrder` ASC [ RunTime:0.016478s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027596s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63304402 LIMIT 5 [ RunTime:0.002406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63304402 ORDER BY `minOrder` ASC [ RunTime:0.006771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63304402 ORDER BY `unit` DESC [ RunTime:0.001896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63304402 LIMIT 2 [ RunTime:0.004489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63304402 ORDER BY `minOrder` ASC [ RunTime:0.006629s ]
select * from pdf where partno='380000066720001' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.015424s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000066720001' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.004908s ]
SELECT `id` FROM `stock` WHERE `id` <> 63304402 AND `partno` = '380000066720001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.005882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13227001 [ RunTime:0.000840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61040543 LIMIT 5 [ RunTime:0.000543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61040543 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61040543 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61040543 LIMIT 2 [ RunTime:0.006671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61040543 ORDER BY `minOrder` ASC [ RunTime:0.009299s ]
select * from pdf where partno='380000' and brandshort='Amphenol Alden Products Company' limit 1 [ RunTime:0.004222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000' OR `brand` LIKE 'Amphenol Alden Products Company%' ) ) LIMIT 1 [ RunTime:0.002381s ]
SELECT `id` FROM `stock` WHERE `id` <> 61040543 AND `partno` = '380000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol alden products company%' ) [ RunTime:0.000500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63305966 LIMIT 5 [ RunTime:0.003025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63305966 ORDER BY `minOrder` ASC [ RunTime:0.007586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63305966 ORDER BY `unit` DESC [ RunTime:0.000542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63305966 LIMIT 2 [ RunTime:0.001371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63305966 ORDER BY `minOrder` ASC [ RunTime:0.005648s ]
select * from pdf where partno='380000049630018' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.011135s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000049630018' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.009914s ]
SELECT `id` FROM `stock` WHERE `id` <> 63305966 AND `partno` = '380000049630018' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.016152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11960477 [ RunTime:0.008432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63270552 LIMIT 5 [ RunTime:0.003616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63270552 ORDER BY `minOrder` ASC [ RunTime:0.009033s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63270552 ORDER BY `unit` DESC [ RunTime:0.002573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63270552 LIMIT 2 [ RunTime:0.000687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63270552 ORDER BY `minOrder` ASC [ RunTime:0.001175s ]
select * from pdf where partno='380000090083' and brandshort='WEC' limit 1 [ RunTime:0.002092s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000090083' OR `brand` LIKE 'WEC%' ) ) LIMIT 1 [ RunTime:0.007197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63305958 LIMIT 5 [ RunTime:0.000789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63305958 ORDER BY `minOrder` ASC [ RunTime:0.000755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63305958 ORDER BY `unit` DESC [ RunTime:0.008901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63305958 LIMIT 2 [ RunTime:0.004799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63305958 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
select * from pdf where partno='380000049630017' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.004213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000049630017' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.001502s ]
SELECT `id` FROM `stock` WHERE `id` <> 63305958 AND `partno` = '380000049630017' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.005020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13229377 [ RunTime:0.013036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58522463 LIMIT 5 [ RunTime:0.007040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58522463 ORDER BY `minOrder` ASC [ RunTime:0.022502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58522463 ORDER BY `unit` DESC [ RunTime:0.000770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58522463 LIMIT 2 [ RunTime:0.004307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58522463 ORDER BY `minOrder` ASC [ RunTime:0.008703s ]
select * from pdf where partno='380000' and brandshort='Gedore Tools, Inc.' limit 1 [ RunTime:0.001257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000' OR `brand` LIKE 'Gedore Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.011837s ]
SELECT `id` FROM `stock` WHERE `id` <> 58522463 AND `partno` = '380000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%gedore tools, inc.%' ) [ RunTime:0.007888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12176411 [ RunTime:0.009198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41264746 LIMIT 5 [ RunTime:0.008091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41264746 ORDER BY `minOrder` ASC [ RunTime:0.006205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41264746 ORDER BY `unit` DESC [ RunTime:0.008739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41264746 LIMIT 2 [ RunTime:0.000969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41264746 ORDER BY `minOrder` ASC [ RunTime:0.003334s ]
select * from pdf where partno='380000M8643' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.013881s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000M8643' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.004195s ]
SELECT `id` FROM `stock` WHERE `id` <> 41264746 AND `partno` = '380000M8643' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.004905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17834072 [ RunTime:0.001647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41252658 LIMIT 5 [ RunTime:0.008765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41252658 ORDER BY `minOrder` ASC [ RunTime:0.017659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41252658 ORDER BY `unit` DESC [ RunTime:0.003428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41252658 LIMIT 2 [ RunTime:0.004290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41252658 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='380000M8682' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.001281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000M8682' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.000636s ]
SELECT `id` FROM `stock` WHERE `id` <> 41252658 AND `partno` = '380000M8682' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.005105s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17828512 [ RunTime:0.011769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 40597047 LIMIT 5 [ RunTime:0.005108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40597047 ORDER BY `minOrder` ASC [ RunTime:0.004567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 40597047 ORDER BY `unit` DESC [ RunTime:0.004020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 40597047 LIMIT 2 [ RunTime:0.004010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40597047 ORDER BY `minOrder` ASC [ RunTime:0.018800s ]
select * from pdf where partno='380000M8629' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.016188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000M8629' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.022107s ]
SELECT `id` FROM `stock` WHERE `id` <> 40597047 AND `partno` = '380000M8629' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.007336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16782180 [ RunTime:0.016394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 40595839 LIMIT 5 [ RunTime:0.013629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40595839 ORDER BY `minOrder` ASC [ RunTime:0.006773s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 40595839 ORDER BY `unit` DESC [ RunTime:0.009818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 40595839 LIMIT 2 [ RunTime:0.012899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40595839 ORDER BY `minOrder` ASC [ RunTime:0.006965s ]
select * from pdf where partno='380000M8630' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.004894s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380000M8630' OR `brand` LIKE 'Honeywell Sensing and Productivity Solutions%' ) ) LIMIT 1 [ RunTime:0.011358s ]
SELECT `id` FROM `stock` WHERE `id` <> 40595839 AND `partno` = '380000M8630' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%honeywell sensing and productivity solutions%' ) [ RunTime:0.039083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17769205 [ RunTime:0.046388s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014252s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022808s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017525s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023328s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027946s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043704s ]
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 '380000%' OR `brand` LIKE '380000%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018823s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '380000%' OR `brand` LIKE '380000%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.043312s ]