SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003603s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013198s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11185245 LIMIT 5 [ RunTime:0.023414s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.030174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11185245 ORDER BY `minOrder` ASC [ RunTime:0.007372s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11185245 ORDER BY `unit` DESC [ RunTime:0.015944s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002755s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11185245 LIMIT 2 [ RunTime:0.013948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11185245 ORDER BY `minOrder` ASC [ RunTime:0.014234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14405530 LIMIT 5 [ RunTime:0.018027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14405530 ORDER BY `minOrder` ASC [ RunTime:0.005854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14405530 ORDER BY `unit` DESC [ RunTime:0.015138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14405530 LIMIT 2 [ RunTime:0.021666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14405530 ORDER BY `minOrder` ASC [ RunTime:0.038541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13355818 LIMIT 5 [ RunTime:0.051199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13355818 ORDER BY `minOrder` ASC [ RunTime:0.016076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13355818 ORDER BY `unit` DESC [ RunTime:0.003729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13355818 LIMIT 2 [ RunTime:0.049702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13355818 ORDER BY `minOrder` ASC [ RunTime:0.032526s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13355817 LIMIT 5 [ RunTime:0.013373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13355817 ORDER BY `minOrder` ASC [ RunTime:0.039845s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13355817 ORDER BY `unit` DESC [ RunTime:0.035276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13355817 LIMIT 2 [ RunTime:0.045399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13355817 ORDER BY `minOrder` ASC [ RunTime:0.041616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11855785 LIMIT 5 [ RunTime:0.017009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11855785 ORDER BY `minOrder` ASC [ RunTime:0.036276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11855785 ORDER BY `unit` DESC [ RunTime:0.001378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11855785 LIMIT 2 [ RunTime:0.014741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11855785 ORDER BY `minOrder` ASC [ RunTime:0.019906s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032560s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58558802 LIMIT 5 [ RunTime:0.017711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58558802 ORDER BY `minOrder` ASC [ RunTime:0.012855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58558802 ORDER BY `unit` DESC [ RunTime:0.044203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58558802 LIMIT 2 [ RunTime:0.009186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58558802 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
select * from pdf where partno='28588' and brandshort='Wiha' limit 1 [ RunTime:0.006364s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28588' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.014076s ]
SELECT `id` FROM `stock` WHERE `id` <> 58558802 AND `partno` = '28588' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.012859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11185245 [ RunTime:0.038749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63135161 LIMIT 5 [ RunTime:0.030301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63135161 ORDER BY `minOrder` ASC [ RunTime:0.002324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63135161 ORDER BY `unit` DESC [ RunTime:0.000667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63135161 LIMIT 2 [ RunTime:0.019582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63135161 ORDER BY `minOrder` ASC [ RunTime:0.007466s ]
select * from pdf where partno='28588.6' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.032776s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28588.6' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.012249s ]
SELECT `id` FROM `stock` WHERE `id` <> 63135161 AND `partno` = '28588.6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.015752s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14405530 [ RunTime:0.007802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60403947 LIMIT 5 [ RunTime:0.012376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60403947 ORDER BY `minOrder` ASC [ RunTime:0.013700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60403947 ORDER BY `unit` DESC [ RunTime:0.007743s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60403947 LIMIT 2 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60403947 ORDER BY `minOrder` ASC [ RunTime:0.006570s ]
select * from pdf where partno='2858890000' and brandshort='Weidmüller' limit 1 [ RunTime:0.017752s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2858890000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.031778s ]
SELECT `id` FROM `stock` WHERE `id` <> 60403947 AND `partno` = '2858890000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.034409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11855785 [ RunTime:0.010527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32447238 LIMIT 5 [ RunTime:0.018713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32447238 ORDER BY `minOrder` ASC [ RunTime:0.025880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32447238 ORDER BY `unit` DESC [ RunTime:0.018868s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32447238 LIMIT 2 [ RunTime:0.008639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32447238 ORDER BY `minOrder` ASC [ RunTime:0.004948s ]
select * from pdf where partno='285889-000' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.061724s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '285889-000' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.014942s ]
SELECT `id` FROM `stock` WHERE `id` <> 32447238 AND `partno` = '285889-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.028700s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020980s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026315s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056179s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021133s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031403s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018650s ]
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 '28588%' OR `brand` LIKE '28588%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030356s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '28588%' OR `brand` LIKE '28588%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.025531s ]