SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002386s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002798s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12794731 LIMIT 5 [ RunTime:0.000618s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12794731 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12794731 ORDER BY `unit` DESC [ RunTime:0.000552s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12794731 LIMIT 2 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12794731 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='D89110-0031HK' and brandshort='3M' limit 1 [ RunTime:0.002312s ]
select foldpath,foldpath2,filename from pdf_file where id=1254381 limit 1 [ RunTime:0.000477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16458390 LIMIT 5 [ RunTime:0.001482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458390 ORDER BY `minOrder` ASC [ RunTime:0.000730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16458390 ORDER BY `unit` DESC [ RunTime:0.000665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16458390 LIMIT 2 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458390 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
select * from pdf where partno='D89110-0031HK-3365/10-S-6' and brandshort='3M' limit 1 [ RunTime:0.001084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13619106 LIMIT 5 [ RunTime:0.001263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13619106 ORDER BY `minOrder` ASC [ RunTime:0.000672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13619106 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13619106 LIMIT 2 [ RunTime:0.000549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13619106 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
select * from pdf where partno='D89110-0031HK-3365/10-D-3' and brandshort='3M' limit 1 [ RunTime:0.000793s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14463037 LIMIT 5 [ RunTime:0.000971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14463037 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14463037 ORDER BY `unit` DESC [ RunTime:0.000617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14463037 LIMIT 2 [ RunTime:0.000617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14463037 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='D89110-0031HK-3365/10-D-6' and brandshort='3M' limit 1 [ RunTime:0.000670s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459576 LIMIT 5 [ RunTime:0.000883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459576 ORDER BY `minOrder` ASC [ RunTime:0.000825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14459576 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14459576 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459576 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
select * from pdf where partno='D89110-0031HK-3365/10-S-3' and brandshort='3M' limit 1 [ RunTime:0.000756s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001437s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55430430 LIMIT 5 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55430430 ORDER BY `minOrder` ASC [ RunTime:0.000834s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55430430 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55430430 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55430430 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
select * from pdf where partno='D89110-0031HK-3365/10-S-6' and brandshort='3M' limit 1 [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89110-0031HK-3365/10-S-6' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001797s ]
SELECT `id` FROM `stock` WHERE `id` <> 55430430 AND `partno` = 'D89110-0031HK-3365/10-S-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16458390 [ RunTime:0.000462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55435316 LIMIT 5 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55435316 ORDER BY `minOrder` ASC [ RunTime:0.000862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55435316 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55435316 LIMIT 2 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55435316 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
select * from pdf where partno='D89110-0031HK-3365/10-D-3' and brandshort='3M' limit 1 [ RunTime:0.000337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89110-0031HK-3365/10-D-3' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001272s ]
SELECT `id` FROM `stock` WHERE `id` <> 55435316 AND `partno` = 'D89110-0031HK-3365/10-D-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13619106 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55453030 LIMIT 5 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55453030 ORDER BY `minOrder` ASC [ RunTime:0.001885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55453030 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55453030 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55453030 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='D89110-0031HK-3365/10-D-6' and brandshort='3M' limit 1 [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89110-0031HK-3365/10-D-6' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001245s ]
SELECT `id` FROM `stock` WHERE `id` <> 55453030 AND `partno` = 'D89110-0031HK-3365/10-D-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14463037 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55444426 LIMIT 5 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55444426 ORDER BY `minOrder` ASC [ RunTime:0.000837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55444426 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55444426 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55444426 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
select * from pdf where partno='D89110-0031HK-3365/10-S-3' and brandshort='3M' limit 1 [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89110-0031HK-3365/10-S-3' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001246s ]
SELECT `id` FROM `stock` WHERE `id` <> 55444426 AND `partno` = 'D89110-0031HK-3365/10-S-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459576 [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53050428 LIMIT 5 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53050428 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53050428 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53050428 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53050428 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='D89110-0031HK' and brandshort='3M' limit 1 [ RunTime:0.000320s ]
select foldpath,foldpath2,filename from pdf_file where id=1254381 limit 1 [ RunTime:0.000265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89110-0031HK' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001244s ]
SELECT `id` FROM `stock` WHERE `id` <> 53050428 AND `partno` = 'D89110-0031HK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12794731 [ RunTime:0.000388s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000720s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000658s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000693s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000634s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000630s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000614s ]
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 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000654s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'D89110-0031HK%' OR `brand` LIKE 'D89110-0031HK%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000604s ]