SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001387s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008534s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19645362 LIMIT 5 [ RunTime:0.022106s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19645362 ORDER BY `minOrder` ASC [ RunTime:0.010268s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19645362 ORDER BY `unit` DESC [ RunTime:0.008913s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19645362 LIMIT 2 [ RunTime:0.023442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19645362 ORDER BY `minOrder` ASC [ RunTime:0.005324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19672552 LIMIT 5 [ RunTime:0.012539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19672552 ORDER BY `minOrder` ASC [ RunTime:0.015807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19672552 ORDER BY `unit` DESC [ RunTime:0.004975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19672552 LIMIT 2 [ RunTime:0.038860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19672552 ORDER BY `minOrder` ASC [ RunTime:0.033910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19672551 LIMIT 5 [ RunTime:0.015354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19672551 ORDER BY `minOrder` ASC [ RunTime:0.056984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19672551 ORDER BY `unit` DESC [ RunTime:0.045749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19672551 LIMIT 2 [ RunTime:0.068635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19672551 ORDER BY `minOrder` ASC [ RunTime:0.012673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18774542 LIMIT 5 [ RunTime:0.065343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18774542 ORDER BY `minOrder` ASC [ RunTime:0.098189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18774542 ORDER BY `unit` DESC [ RunTime:0.042872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18774542 LIMIT 2 [ RunTime:0.102519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18774542 ORDER BY `minOrder` ASC [ RunTime:0.017937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17010910 LIMIT 5 [ RunTime:0.037574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17010910 ORDER BY `minOrder` ASC [ RunTime:0.085226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17010910 ORDER BY `unit` DESC [ RunTime:0.060045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17010910 LIMIT 2 [ RunTime:0.088673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17010910 ORDER BY `minOrder` ASC [ RunTime:0.030817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223375 LIMIT 5 [ RunTime:0.035968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223375 ORDER BY `minOrder` ASC [ RunTime:0.014578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15223375 ORDER BY `unit` DESC [ RunTime:0.032039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15223375 LIMIT 2 [ RunTime:0.094599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223375 ORDER BY `minOrder` ASC [ RunTime:0.019781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13552438 LIMIT 5 [ RunTime:0.021299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13552438 ORDER BY `minOrder` ASC [ RunTime:0.050427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13552438 ORDER BY `unit` DESC [ RunTime:0.036450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13552438 LIMIT 2 [ RunTime:0.041528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13552438 ORDER BY `minOrder` ASC [ RunTime:0.048953s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.119079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32275871 LIMIT 5 [ RunTime:0.033933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32275871 ORDER BY `minOrder` ASC [ RunTime:0.023110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32275871 ORDER BY `unit` DESC [ RunTime:0.066844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32275871 LIMIT 2 [ RunTime:0.031485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32275871 ORDER BY `minOrder` ASC [ RunTime:0.022262s ]
select * from pdf where partno='1060550000' and brandshort='weidmuller' limit 1 [ RunTime:0.065312s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001813s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060550000' OR `brand` LIKE 'weidmuller%' ) ) LIMIT 1 [ RunTime:0.080203s ]
SELECT `id` FROM `stock` WHERE `id` <> 32275871 AND `partno` = '1060550000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmuller%' ) [ RunTime:0.080826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19645362 [ RunTime:0.230637s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60484717 LIMIT 5 [ RunTime:0.051530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60484717 ORDER BY `minOrder` ASC [ RunTime:0.129492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60484717 ORDER BY `unit` DESC [ RunTime:0.087354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60484717 LIMIT 2 [ RunTime:0.032160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60484717 ORDER BY `minOrder` ASC [ RunTime:0.033652s ]
select * from pdf where partno='1060550000' and brandshort='Weidmüller' limit 1 [ RunTime:0.060337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060550000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.076205s ]
SELECT `id` FROM `stock` WHERE `id` <> 60484717 AND `partno` = '1060550000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.110159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19645362 [ RunTime:0.044686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64803041 LIMIT 5 [ RunTime:0.047538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64803041 ORDER BY `minOrder` ASC [ RunTime:0.088525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64803041 ORDER BY `unit` DESC [ RunTime:0.069878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64803041 LIMIT 2 [ RunTime:0.109994s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64803041 ORDER BY `minOrder` ASC [ RunTime:0.044631s ]
select * from pdf where partno='1060557' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.036535s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060557' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.036811s ]
SELECT `id` FROM `stock` WHERE `id` <> 64803041 AND `partno` = '1060557' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.052613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223375 [ RunTime:0.104479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64522708 LIMIT 5 [ RunTime:0.051635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64522708 ORDER BY `minOrder` ASC [ RunTime:0.065179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64522708 ORDER BY `unit` DESC [ RunTime:0.017619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64522708 LIMIT 2 [ RunTime:0.121445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64522708 ORDER BY `minOrder` ASC [ RunTime:0.053793s ]
select * from pdf where partno='106055' and brandshort='Brady Corporation' limit 1 [ RunTime:0.037833s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106055' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.006818s ]
SELECT `id` FROM `stock` WHERE `id` <> 64522708 AND `partno` = '106055' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.020872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13552438 [ RunTime:0.015868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62118417 LIMIT 5 [ RunTime:0.061640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62118417 ORDER BY `minOrder` ASC [ RunTime:0.117213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62118417 ORDER BY `unit` DESC [ RunTime:0.058770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62118417 LIMIT 2 [ RunTime:0.083173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62118417 ORDER BY `minOrder` ASC [ RunTime:0.080159s ]
select * from pdf where partno='1060555500' and brandshort='Molex' limit 1 [ RunTime:0.098055s ]
select foldpath,foldpath2,filename from pdf_file where id=1684751 limit 1 [ RunTime:0.231854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060555500' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.091927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62118416 LIMIT 5 [ RunTime:0.191173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62118416 ORDER BY `minOrder` ASC [ RunTime:0.020773s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62118416 ORDER BY `unit` DESC [ RunTime:0.104540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62118416 LIMIT 2 [ RunTime:0.085658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62118416 ORDER BY `minOrder` ASC [ RunTime:0.042070s ]
select * from pdf where partno='1060555000' and brandshort='Molex' limit 1 [ RunTime:0.064789s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060555000' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.128316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38513186 LIMIT 5 [ RunTime:0.115088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38513186 ORDER BY `minOrder` ASC [ RunTime:0.107555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38513186 ORDER BY `unit` DESC [ RunTime:0.100221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38513186 LIMIT 2 [ RunTime:0.180929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38513186 ORDER BY `minOrder` ASC [ RunTime:0.089857s ]
select * from pdf where partno='1060552' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.149978s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1060552' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.051538s ]
SELECT `id` FROM `stock` WHERE `id` <> 38513186 AND `partno` = '1060552' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.051345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17010910 [ RunTime:0.073130s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.127764s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.135705s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054590s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052067s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.143973s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.220965s ]
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 '106055%' OR `brand` LIKE '106055%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.102220s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '106055%' OR `brand` LIKE '106055%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.062884s ]