SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001035s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034552s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.054089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19642886 LIMIT 5 [ RunTime:0.059340s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.023302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19642886 ORDER BY `minOrder` ASC [ RunTime:0.023370s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19642886 ORDER BY `unit` DESC [ RunTime:0.025293s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19642886 LIMIT 2 [ RunTime:0.093244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19642886 ORDER BY `minOrder` ASC [ RunTime:0.012370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12565354 LIMIT 5 [ RunTime:0.020211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12565354 ORDER BY `minOrder` ASC [ RunTime:0.044714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12565354 ORDER BY `unit` DESC [ RunTime:0.006842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12565354 LIMIT 2 [ RunTime:0.007869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12565354 ORDER BY `minOrder` ASC [ RunTime:0.021610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12514605 LIMIT 5 [ RunTime:0.057253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12514605 ORDER BY `minOrder` ASC [ RunTime:0.048383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12514605 ORDER BY `unit` DESC [ RunTime:0.069063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12514605 LIMIT 2 [ RunTime:0.040319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12514605 ORDER BY `minOrder` ASC [ RunTime:0.007165s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032052s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63410745 LIMIT 5 [ RunTime:0.039717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63410745 ORDER BY `minOrder` ASC [ RunTime:0.054336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63410745 ORDER BY `unit` DESC [ RunTime:0.046176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63410745 LIMIT 2 [ RunTime:0.043918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63410745 ORDER BY `minOrder` ASC [ RunTime:0.001546s ]
select * from pdf where partno='13048' and brandshort='80/20, LLC' limit 1 [ RunTime:0.024068s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13048' OR `brand` LIKE '80/20, LLC%' ) ) LIMIT 1 [ RunTime:0.036045s ]
SELECT `id` FROM `stock` WHERE `id` <> 63410745 AND `partno` = '13048' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%80/20, llc%' ) [ RunTime:0.056042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60649341 LIMIT 5 [ RunTime:0.070895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60649341 ORDER BY `minOrder` ASC [ RunTime:0.017681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60649341 ORDER BY `unit` DESC [ RunTime:0.011000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60649341 LIMIT 2 [ RunTime:0.010073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60649341 ORDER BY `minOrder` ASC [ RunTime:0.020882s ]
select * from pdf where partno='130481' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.018391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130481' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.040173s ]
SELECT `id` FROM `stock` WHERE `id` <> 60649341 AND `partno` = '130481' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.048931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12514605 [ RunTime:0.114250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60542867 LIMIT 5 [ RunTime:0.065997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60542867 ORDER BY `minOrder` ASC [ RunTime:0.021415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60542867 ORDER BY `unit` DESC [ RunTime:0.046645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60542867 LIMIT 2 [ RunTime:0.033396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60542867 ORDER BY `minOrder` ASC [ RunTime:0.025007s ]
select * from pdf where partno='13048.1' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.025067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13048.1' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.039137s ]
SELECT `id` FROM `stock` WHERE `id` <> 60542867 AND `partno` = '13048.1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.040763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19642886 [ RunTime:0.014132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60476829 LIMIT 5 [ RunTime:0.023376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476829 ORDER BY `minOrder` ASC [ RunTime:0.022270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60476829 ORDER BY `unit` DESC [ RunTime:0.004424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60476829 LIMIT 2 [ RunTime:0.031834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476829 ORDER BY `minOrder` ASC [ RunTime:0.006281s ]
select * from pdf where partno='1304860000' and brandshort='Weidmüller' limit 1 [ RunTime:0.010164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1304860000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.012772s ]
SELECT `id` FROM `stock` WHERE `id` <> 60476829 AND `partno` = '1304860000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.023837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12565354 [ RunTime:0.034127s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018870s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035732s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025274s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027497s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008807s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029578s ]
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 '13048%' OR `brand` LIKE '13048%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020412s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13048%' OR `brand` LIKE '13048%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.055385s ]