SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001196s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006864s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001873s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19666685 LIMIT 5 [ RunTime:0.000865s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19666685 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19666685 ORDER BY `unit` DESC [ RunTime:0.002517s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19666685 LIMIT 2 [ RunTime:0.005549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19666685 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='108232' and brandshort='Basler Inc.' limit 1 [ RunTime:0.006641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18979750 LIMIT 5 [ RunTime:0.002355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18979750 ORDER BY `minOrder` ASC [ RunTime:0.012319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18979750 ORDER BY `unit` DESC [ RunTime:0.005890s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18979750 LIMIT 2 [ RunTime:0.006470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18979750 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18771521 LIMIT 5 [ RunTime:0.006848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18771521 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18771521 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18771521 LIMIT 2 [ RunTime:0.002761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18771521 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013825s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012786s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64801497 LIMIT 5 [ RunTime:0.010749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64801497 ORDER BY `minOrder` ASC [ RunTime:0.009265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64801497 ORDER BY `unit` DESC [ RunTime:0.017792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64801497 LIMIT 2 [ RunTime:0.009053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64801497 ORDER BY `minOrder` ASC [ RunTime:0.004235s ]
select * from pdf where partno='1082323' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001044s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1082323' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.015033s ]
SELECT `id` FROM `stock` WHERE `id` <> 64801497 AND `partno` = '1082323' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.029840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18771521 [ RunTime:0.009658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63291770 LIMIT 5 [ RunTime:0.011762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63291770 ORDER BY `minOrder` ASC [ RunTime:0.009916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63291770 ORDER BY `unit` DESC [ RunTime:0.002539s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63291770 LIMIT 2 [ RunTime:0.004110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63291770 ORDER BY `minOrder` ASC [ RunTime:0.018765s ]
select * from pdf where partno='108232' and brandshort='Basler Inc.' limit 1 [ RunTime:0.004482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108232' OR `brand` LIKE 'Basler Inc.%' ) ) LIMIT 1 [ RunTime:0.001922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63197213 LIMIT 5 [ RunTime:0.026621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63197213 ORDER BY `minOrder` ASC [ RunTime:0.017168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63197213 ORDER BY `unit` DESC [ RunTime:0.002467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63197213 LIMIT 2 [ RunTime:0.012893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63197213 ORDER BY `minOrder` ASC [ RunTime:0.008549s ]
select * from pdf where partno='1082329' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.003761s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1082329' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.010962s ]
SELECT `id` FROM `stock` WHERE `id` <> 63197213 AND `partno` = '1082329' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18979750 [ RunTime:0.011647s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027488s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019656s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016417s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015480s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022493s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011180s ]
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 '108232%' OR `brand` LIKE '108232%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004299s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '108232%' OR `brand` LIKE '108232%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.027634s ]