SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002892s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008871s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15239636 LIMIT 5 [ RunTime:0.028178s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15239636 ORDER BY `minOrder` ASC [ RunTime:0.021344s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15239636 ORDER BY `unit` DESC [ RunTime:0.058247s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.022303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15239636 LIMIT 2 [ RunTime:0.018299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15239636 ORDER BY `minOrder` ASC [ RunTime:0.001568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18852352 LIMIT 5 [ RunTime:0.057727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18852352 ORDER BY `minOrder` ASC [ RunTime:0.055646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18852352 ORDER BY `unit` DESC [ RunTime:0.113869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18852352 LIMIT 2 [ RunTime:0.057413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18852352 ORDER BY `minOrder` ASC [ RunTime:0.040287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16412657 LIMIT 5 [ RunTime:0.058384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16412657 ORDER BY `minOrder` ASC [ RunTime:0.075902s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16412657 ORDER BY `unit` DESC [ RunTime:0.033125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16412657 LIMIT 2 [ RunTime:0.086600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16412657 ORDER BY `minOrder` ASC [ RunTime:0.021571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13476287 LIMIT 5 [ RunTime:0.040315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13476287 ORDER BY `minOrder` ASC [ RunTime:0.083304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13476287 ORDER BY `unit` DESC [ RunTime:0.079811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13476287 LIMIT 2 [ RunTime:0.035850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13476287 ORDER BY `minOrder` ASC [ RunTime:0.000648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13476062 LIMIT 5 [ RunTime:0.038085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13476062 ORDER BY `minOrder` ASC [ RunTime:0.025667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13476062 ORDER BY `unit` DESC [ RunTime:0.021368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13476062 LIMIT 2 [ RunTime:0.030378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13476062 ORDER BY `minOrder` ASC [ RunTime:0.024061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13476047 LIMIT 5 [ RunTime:0.049648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13476047 ORDER BY `minOrder` ASC [ RunTime:0.014904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13476047 ORDER BY `unit` DESC [ RunTime:0.022767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13476047 LIMIT 2 [ RunTime:0.016086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13476047 ORDER BY `minOrder` ASC [ RunTime:0.004587s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008014s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60616857 LIMIT 5 [ RunTime:0.001791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60616857 ORDER BY `minOrder` ASC [ RunTime:0.051333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60616857 ORDER BY `unit` DESC [ RunTime:0.009059s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60616857 LIMIT 2 [ RunTime:0.014709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60616857 ORDER BY `minOrder` ASC [ RunTime:0.004794s ]
select * from pdf where partno='2819550000' and brandshort='Weidmüller' limit 1 [ RunTime:0.008116s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2819550000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.012067s ]
SELECT `id` FROM `stock` WHERE `id` <> 60616857 AND `partno` = '2819550000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.019492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64106391 LIMIT 5 [ RunTime:0.003722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64106391 ORDER BY `minOrder` ASC [ RunTime:0.002507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64106391 ORDER BY `unit` DESC [ RunTime:0.016073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64106391 LIMIT 2 [ RunTime:0.014113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64106391 ORDER BY `minOrder` ASC [ RunTime:0.011166s ]
select * from pdf where partno='2819574' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.007531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2819574' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.011626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64501563 LIMIT 5 [ RunTime:0.012845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64501563 ORDER BY `minOrder` ASC [ RunTime:0.004658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64501563 ORDER BY `unit` DESC [ RunTime:0.002176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64501563 LIMIT 2 [ RunTime:0.017088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64501563 ORDER BY `minOrder` ASC [ RunTime:0.004375s ]
select * from pdf where partno='28195.6' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.014991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28195.6' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.012860s ]
SELECT `id` FROM `stock` WHERE `id` <> 64501563 AND `partno` = '28195.6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.007132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13476287 [ RunTime:0.013585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64501028 LIMIT 5 [ RunTime:0.029061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64501028 ORDER BY `minOrder` ASC [ RunTime:0.010796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64501028 ORDER BY `unit` DESC [ RunTime:0.013598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64501028 LIMIT 2 [ RunTime:0.010441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64501028 ORDER BY `minOrder` ASC [ RunTime:0.001627s ]
select * from pdf where partno='28195.8' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.010609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28195.8' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.020320s ]
SELECT `id` FROM `stock` WHERE `id` <> 64501028 AND `partno` = '28195.8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.012512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13476062 [ RunTime:0.001638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64500907 LIMIT 5 [ RunTime:0.009298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64500907 ORDER BY `minOrder` ASC [ RunTime:0.004114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64500907 ORDER BY `unit` DESC [ RunTime:0.013852s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64500907 LIMIT 2 [ RunTime:0.008621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64500907 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
select * from pdf where partno='28195.7' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.008810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28195.7' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.011092s ]
SELECT `id` FROM `stock` WHERE `id` <> 64500907 AND `partno` = '28195.7' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.011847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13476047 [ RunTime:0.009608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64108850 LIMIT 5 [ RunTime:0.009572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64108850 ORDER BY `minOrder` ASC [ RunTime:0.009507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64108850 ORDER BY `unit` DESC [ RunTime:0.005810s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64108850 LIMIT 2 [ RunTime:0.001327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64108850 ORDER BY `minOrder` ASC [ RunTime:0.007362s ]
select * from pdf where partno='2819587' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.020929s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2819587' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.012353s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022584s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021736s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034580s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007980s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022508s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020536s ]
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 '28195%' OR `brand` LIKE '28195%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012416s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '28195%' OR `brand` LIKE '28195%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.019854s ]