SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001793s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008184s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052540 LIMIT 5 [ RunTime:0.007228s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052540 ORDER BY `minOrder` ASC [ RunTime:0.001038s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17052540 ORDER BY `unit` DESC [ RunTime:0.000954s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004140s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17052540 LIMIT 2 [ RunTime:0.002385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052540 ORDER BY `minOrder` ASC [ RunTime:0.000666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15187288 LIMIT 5 [ RunTime:0.003038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15187288 ORDER BY `minOrder` ASC [ RunTime:0.002971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15187288 ORDER BY `unit` DESC [ RunTime:0.007983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15187288 LIMIT 2 [ RunTime:0.004627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15187288 ORDER BY `minOrder` ASC [ RunTime:0.000826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13297230 LIMIT 5 [ RunTime:0.001447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13297230 ORDER BY `minOrder` ASC [ RunTime:0.001467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13297230 ORDER BY `unit` DESC [ RunTime:0.001243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13297230 LIMIT 2 [ RunTime:0.007782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13297230 ORDER BY `minOrder` ASC [ RunTime:0.002172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13293854 LIMIT 5 [ RunTime:0.002975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13293854 ORDER BY `minOrder` ASC [ RunTime:0.002560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13293854 ORDER BY `unit` DESC [ RunTime:0.010876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13293854 LIMIT 2 [ RunTime:0.004044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13293854 ORDER BY `minOrder` ASC [ RunTime:0.007510s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32216979 LIMIT 5 [ RunTime:0.004050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32216979 ORDER BY `minOrder` ASC [ RunTime:0.004239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32216979 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32216979 LIMIT 2 [ RunTime:0.006755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32216979 ORDER BY `minOrder` ASC [ RunTime:0.002764s ]
select * from pdf where partno='4053240000' and brandshort='weidmuller' limit 1 [ RunTime:0.006243s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053240000' OR `brand` LIKE 'weidmuller%' ) ) LIMIT 1 [ RunTime:0.003617s ]
SELECT `id` FROM `stock` WHERE `id` <> 32216979 AND `partno` = '4053240000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmuller%' ) [ RunTime:0.006711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052540 [ RunTime:0.004995s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005605s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36838740 LIMIT 5 [ RunTime:0.001003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36838740 ORDER BY `minOrder` ASC [ RunTime:0.008244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36838740 ORDER BY `unit` DESC [ RunTime:0.001908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36838740 LIMIT 2 [ RunTime:0.009851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36838740 ORDER BY `minOrder` ASC [ RunTime:0.010618s ]
select * from pdf where partno='4053240000' and brandshort='Weidmüller' limit 1 [ RunTime:0.005575s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053240000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.009903s ]
SELECT `id` FROM `stock` WHERE `id` <> 36838740 AND `partno` = '4053240000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.007576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052540 [ RunTime:0.002643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49645784 LIMIT 5 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49645784 ORDER BY `minOrder` ASC [ RunTime:0.009147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49645784 ORDER BY `unit` DESC [ RunTime:0.007338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49645784 LIMIT 2 [ RunTime:0.003225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49645784 ORDER BY `minOrder` ASC [ RunTime:0.003836s ]
select * from pdf where partno='4053240000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000737s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053240000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.002363s ]
SELECT `id` FROM `stock` WHERE `id` <> 49645784 AND `partno` = '4053240000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.004162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052540 [ RunTime:0.003611s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44006528 LIMIT 5 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44006528 ORDER BY `minOrder` ASC [ RunTime:0.002305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44006528 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44006528 LIMIT 2 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44006528 ORDER BY `minOrder` ASC [ RunTime:0.004301s ]
select * from pdf where partno='40532' and brandshort='Vicor Corporation' limit 1 [ RunTime:0.000788s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40532' OR `brand` LIKE 'Vicor Corporation%' ) ) LIMIT 1 [ RunTime:0.000565s ]
SELECT `id` FROM `stock` WHERE `id` <> 44006528 AND `partno` = '40532' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vicor corporation%' ) [ RunTime:0.001125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15187288 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32372839 LIMIT 5 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32372839 ORDER BY `minOrder` ASC [ RunTime:0.004665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32372839 ORDER BY `unit` DESC [ RunTime:0.000665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32372839 LIMIT 2 [ RunTime:0.005744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32372839 ORDER BY `minOrder` ASC [ RunTime:0.002614s ]
select * from pdf where partno='4053255' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.000925s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4053255' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001020s ]
SELECT `id` FROM `stock` WHERE `id` <> 32372839 AND `partno` = '4053255' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.007827s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001310s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001123s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004527s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001250s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001131s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005781s ]
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 '40532%' OR `brand` LIKE '40532%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001919s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '40532%' OR `brand` LIKE '40532%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001202s ]