SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002822s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026779s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201799 LIMIT 5 [ RunTime:0.008294s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201799 ORDER BY `minOrder` ASC [ RunTime:0.019938s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201799 ORDER BY `unit` DESC [ RunTime:0.048103s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201799 LIMIT 2 [ RunTime:0.036277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201799 ORDER BY `minOrder` ASC [ RunTime:0.009423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201782 LIMIT 5 [ RunTime:0.001185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201782 ORDER BY `minOrder` ASC [ RunTime:0.010354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201782 ORDER BY `unit` DESC [ RunTime:0.011149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201782 LIMIT 2 [ RunTime:0.024340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201782 ORDER BY `minOrder` ASC [ RunTime:0.006866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201764 LIMIT 5 [ RunTime:0.011931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201764 ORDER BY `minOrder` ASC [ RunTime:0.016488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201764 ORDER BY `unit` DESC [ RunTime:0.017850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201764 LIMIT 2 [ RunTime:0.003028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201764 ORDER BY `minOrder` ASC [ RunTime:0.020374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201343 LIMIT 5 [ RunTime:0.030495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201343 ORDER BY `minOrder` ASC [ RunTime:0.021850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201343 ORDER BY `unit` DESC [ RunTime:0.062126s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201343 LIMIT 2 [ RunTime:0.031955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201343 ORDER BY `minOrder` ASC [ RunTime:0.014397s ]
select * from pdf where partno='72211L25J' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.036525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201342 LIMIT 5 [ RunTime:0.037618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201342 ORDER BY `minOrder` ASC [ RunTime:0.047309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201342 ORDER BY `unit` DESC [ RunTime:0.029770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201342 LIMIT 2 [ RunTime:0.059596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201342 ORDER BY `minOrder` ASC [ RunTime:0.040616s ]
select * from pdf where partno='72211L15PFGI8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.017737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201341 LIMIT 5 [ RunTime:0.024720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201341 ORDER BY `minOrder` ASC [ RunTime:0.032005s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201341 ORDER BY `unit` DESC [ RunTime:0.022707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201341 LIMIT 2 [ RunTime:0.039293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201341 ORDER BY `minOrder` ASC [ RunTime:0.013506s ]
select * from pdf where partno='72211L15PFGI' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.014270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17111852 LIMIT 5 [ RunTime:0.041274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17111852 ORDER BY `minOrder` ASC [ RunTime:0.053933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17111852 ORDER BY `unit` DESC [ RunTime:0.046166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17111852 LIMIT 2 [ RunTime:0.007186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17111852 ORDER BY `minOrder` ASC [ RunTime:0.008349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17111838 LIMIT 5 [ RunTime:0.049546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17111838 ORDER BY `minOrder` ASC [ RunTime:0.072040s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17111838 ORDER BY `unit` DESC [ RunTime:0.079990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17111838 LIMIT 2 [ RunTime:0.053911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17111838 ORDER BY `minOrder` ASC [ RunTime:0.031316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15332066 LIMIT 5 [ RunTime:0.015435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15332066 ORDER BY `minOrder` ASC [ RunTime:0.078833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15332066 ORDER BY `unit` DESC [ RunTime:0.053485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15332066 LIMIT 2 [ RunTime:0.056475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15332066 ORDER BY `minOrder` ASC [ RunTime:0.008458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14239820 LIMIT 5 [ RunTime:0.054996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14239820 ORDER BY `minOrder` ASC [ RunTime:0.012706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14239820 ORDER BY `unit` DESC [ RunTime:0.016929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14239820 LIMIT 2 [ RunTime:0.018899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14239820 ORDER BY `minOrder` ASC [ RunTime:0.020691s ]
select * from pdf where partno='72211L25J8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.050575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11184742 LIMIT 5 [ RunTime:0.032139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11184742 ORDER BY `minOrder` ASC [ RunTime:0.070973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11184742 ORDER BY `unit` DESC [ RunTime:0.013869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11184742 LIMIT 2 [ RunTime:0.025648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11184742 ORDER BY `minOrder` ASC [ RunTime:0.038328s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032259s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029032s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58561089 LIMIT 5 [ RunTime:0.031171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58561089 ORDER BY `minOrder` ASC [ RunTime:0.069683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58561089 ORDER BY `unit` DESC [ RunTime:0.010011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58561089 LIMIT 2 [ RunTime:0.032414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58561089 ORDER BY `minOrder` ASC [ RunTime:0.005707s ]
select * from pdf where partno='72211' and brandshort='Wiha' limit 1 [ RunTime:0.038320s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.005418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '72211' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.041781s ]
SELECT `id` FROM `stock` WHERE `id` <> 58561089 AND `partno` = '72211' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.019584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11184742 [ RunTime:0.017722s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018630s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041571s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044125s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006011s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019621s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031763s ]
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 '72211%' OR `brand` LIKE '72211%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032149s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '72211%' OR `brand` LIKE '72211%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.030966s ]