SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002710s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027378s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050340s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063920s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.024714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625933 LIMIT 5 [ RunTime:0.028887s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625933 ORDER BY `minOrder` ASC [ RunTime:0.016331s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625933 ORDER BY `unit` DESC [ RunTime:0.039418s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.019137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625933 LIMIT 2 [ RunTime:0.021368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625933 ORDER BY `minOrder` ASC [ RunTime:0.012008s ]
select * from pdf where partno='DQD20-48-S9H-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.027249s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-48-S9H-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.030232s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625933 AND `partno` = 'DQD20-48-S9H-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.063693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625884 LIMIT 5 [ RunTime:0.041476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625884 ORDER BY `minOrder` ASC [ RunTime:0.065106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625884 ORDER BY `unit` DESC [ RunTime:0.040892s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625884 LIMIT 2 [ RunTime:0.028469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625884 ORDER BY `minOrder` ASC [ RunTime:0.027233s ]
select * from pdf where partno='DQD20-48-S9-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.024386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-48-S9-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.032625s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625884 AND `partno` = 'DQD20-48-S9-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.045077s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64343633 LIMIT 5 [ RunTime:0.014340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64343633 ORDER BY `minOrder` ASC [ RunTime:0.041918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64343633 ORDER BY `unit` DESC [ RunTime:0.087602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64343633 LIMIT 2 [ RunTime:0.032721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64343633 ORDER BY `minOrder` ASC [ RunTime:0.026672s ]
select * from pdf where partno='DQD20-48-S9H' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.021403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-48-S9H' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.005787s ]
SELECT `id` FROM `stock` WHERE `id` <> 64343633 AND `partno` = 'DQD20-48-S9H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.014583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64342286 LIMIT 5 [ RunTime:0.015184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64342286 ORDER BY `minOrder` ASC [ RunTime:0.030541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64342286 ORDER BY `unit` DESC [ RunTime:0.025359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64342286 LIMIT 2 [ RunTime:0.013232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64342286 ORDER BY `minOrder` ASC [ RunTime:0.005677s ]
select * from pdf where partno='DQD20-48-S9' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.015116s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-48-S9' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.004296s ]
SELECT `id` FROM `stock` WHERE `id` <> 64342286 AND `partno` = 'DQD20-48-S9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.018439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179292 LIMIT 5 [ RunTime:0.009158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179292 ORDER BY `minOrder` ASC [ RunTime:0.018710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179292 ORDER BY `unit` DESC [ RunTime:0.008880s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179292 LIMIT 2 [ RunTime:0.013750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179292 ORDER BY `minOrder` ASC [ RunTime:0.002753s ]
select * from pdf where partno='DQD20-48-S9H-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.004410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-48-S9H-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.000818s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179292 AND `partno` = 'DQD20-48-S9H-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.002809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179253 LIMIT 5 [ RunTime:0.008019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179253 ORDER BY `minOrder` ASC [ RunTime:0.000832s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179253 ORDER BY `unit` DESC [ RunTime:0.000618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179253 LIMIT 2 [ RunTime:0.005189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179253 ORDER BY `minOrder` ASC [ RunTime:0.000881s ]
select * from pdf where partno='DQD20-48-S9-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.001169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-48-S9-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.003578s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179253 AND `partno` = 'DQD20-48-S9-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.003513s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019033s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001857s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007521s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003475s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003565s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011240s ]
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 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006583s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DQD20-48-S9%' OR `brand` LIKE 'DQD20-48-S9%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008094s ]