SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001688s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014857s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16420744 LIMIT 5 [ RunTime:0.010539s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.013351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16420744 ORDER BY `minOrder` ASC [ RunTime:0.008892s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006021s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16420744 ORDER BY `unit` DESC [ RunTime:0.004183s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16420744 LIMIT 2 [ RunTime:0.004061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16420744 ORDER BY `minOrder` ASC [ RunTime:0.010155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19659988 LIMIT 5 [ RunTime:0.036348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19659988 ORDER BY `minOrder` ASC [ RunTime:0.018620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19659988 ORDER BY `unit` DESC [ RunTime:0.025331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19659988 LIMIT 2 [ RunTime:0.014456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19659988 ORDER BY `minOrder` ASC [ RunTime:0.004532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14387183 LIMIT 5 [ RunTime:0.009101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14387183 ORDER BY `minOrder` ASC [ RunTime:0.015072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14387183 ORDER BY `unit` DESC [ RunTime:0.042185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14387183 LIMIT 2 [ RunTime:0.014762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14387183 ORDER BY `minOrder` ASC [ RunTime:0.007206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14383122 LIMIT 5 [ RunTime:0.009633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383122 ORDER BY `minOrder` ASC [ RunTime:0.003379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14383122 ORDER BY `unit` DESC [ RunTime:0.010839s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14383122 LIMIT 2 [ RunTime:0.015247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383122 ORDER BY `minOrder` ASC [ RunTime:0.020799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12160917 LIMIT 5 [ RunTime:0.015245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12160917 ORDER BY `minOrder` ASC [ RunTime:0.013527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12160917 ORDER BY `unit` DESC [ RunTime:0.025921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12160917 LIMIT 2 [ RunTime:0.043611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12160917 ORDER BY `minOrder` ASC [ RunTime:0.002787s ]
select * from pdf where partno='15204-00000-20' and brandshort='3M' limit 1 [ RunTime:0.012226s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011931s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63087883 LIMIT 5 [ RunTime:0.016241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63087883 ORDER BY `minOrder` ASC [ RunTime:0.014185s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63087883 ORDER BY `unit` DESC [ RunTime:0.013181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63087883 LIMIT 2 [ RunTime:0.001983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63087883 ORDER BY `minOrder` ASC [ RunTime:0.018011s ]
select * from pdf where partno='15204' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.005658s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15204' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.030015s ]
SELECT `id` FROM `stock` WHERE `id` <> 63087883 AND `partno` = '15204' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.009246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16420744 [ RunTime:0.015295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63034164 LIMIT 5 [ RunTime:0.011233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63034164 ORDER BY `minOrder` ASC [ RunTime:0.023735s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63034164 ORDER BY `unit` DESC [ RunTime:0.023349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63034164 LIMIT 2 [ RunTime:0.014075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63034164 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='1520408' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.013706s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1520408' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.015618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58586883 LIMIT 5 [ RunTime:0.011012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58586883 ORDER BY `minOrder` ASC [ RunTime:0.016424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58586883 ORDER BY `unit` DESC [ RunTime:0.007843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58586883 LIMIT 2 [ RunTime:0.008227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58586883 ORDER BY `minOrder` ASC [ RunTime:0.003307s ]
select * from pdf where partno='15204-00000-20' and brandshort='3M' limit 1 [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15204-00000-20' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.003586s ]
SELECT `id` FROM `stock` WHERE `id` <> 58586883 AND `partno` = '15204-00000-20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.004871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12160917 [ RunTime:0.002559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32389819 LIMIT 5 [ RunTime:0.000970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32389819 ORDER BY `minOrder` ASC [ RunTime:0.001131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32389819 ORDER BY `unit` DESC [ RunTime:0.000449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32389819 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32389819 ORDER BY `minOrder` ASC [ RunTime:0.005559s ]
select * from pdf where partno='15204-0480-9' and brandshort='Omega' limit 1 [ RunTime:0.001051s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15204-0480-9' OR `brand` LIKE 'Omega%' ) ) LIMIT 1 [ RunTime:0.007584s ]
SELECT `id` FROM `stock` WHERE `id` <> 32389819 AND `partno` = '15204-0480-9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omega%' ) [ RunTime:0.001457s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '4' 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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009965s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001534s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000937s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011039s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001242s ]
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 '15204%' OR `brand` LIKE '15204%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000807s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '15204%' OR `brand` LIKE '15204%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005029s ]