SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001957s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103962s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098893s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024464s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625474 LIMIT 5 [ RunTime:0.016375s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.018954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625474 ORDER BY `minOrder` ASC [ RunTime:0.063251s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625474 ORDER BY `unit` DESC [ RunTime:0.006348s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625474 LIMIT 2 [ RunTime:0.038576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625474 ORDER BY `minOrder` ASC [ RunTime:0.049407s ]
select * from pdf where partno='DQD30-24-S24-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.088106s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD30-24-S24-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.017531s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625474 AND `partno` = 'DQD30-24-S24-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.034394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64354299 LIMIT 5 [ RunTime:0.017251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64354299 ORDER BY `minOrder` ASC [ RunTime:0.018485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64354299 ORDER BY `unit` DESC [ RunTime:0.029191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64354299 LIMIT 2 [ RunTime:0.031157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64354299 ORDER BY `minOrder` ASC [ RunTime:0.002107s ]
select * from pdf where partno='DQD30-24-S24H-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.015777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD30-24-S24H-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.044041s ]
SELECT `id` FROM `stock` WHERE `id` <> 64354299 AND `partno` = 'DQD30-24-S24H-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.026011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64353797 LIMIT 5 [ RunTime:0.037899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64353797 ORDER BY `minOrder` ASC [ RunTime:0.012966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64353797 ORDER BY `unit` DESC [ RunTime:0.002057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64353797 LIMIT 2 [ RunTime:0.006583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64353797 ORDER BY `minOrder` ASC [ RunTime:0.013651s ]
select * from pdf where partno='DQD30-24-S24H-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.015885s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD30-24-S24H-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.026229s ]
SELECT `id` FROM `stock` WHERE `id` <> 64353797 AND `partno` = 'DQD30-24-S24H-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.035498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64352435 LIMIT 5 [ RunTime:0.027451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64352435 ORDER BY `minOrder` ASC [ RunTime:0.020369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64352435 ORDER BY `unit` DESC [ RunTime:0.000737s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64352435 LIMIT 2 [ RunTime:0.013583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64352435 ORDER BY `minOrder` ASC [ RunTime:0.034144s ]
select * from pdf where partno='DQD30-24-S24H' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.016890s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD30-24-S24H' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.020004s ]
SELECT `id` FROM `stock` WHERE `id` <> 64352435 AND `partno` = 'DQD30-24-S24H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.020633s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64318289 LIMIT 5 [ RunTime:0.025763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64318289 ORDER BY `minOrder` ASC [ RunTime:0.023899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64318289 ORDER BY `unit` DESC [ RunTime:0.006072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64318289 LIMIT 2 [ RunTime:0.008490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64318289 ORDER BY `minOrder` ASC [ RunTime:0.008965s ]
select * from pdf where partno='DQD30-24-S24' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.011470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD30-24-S24' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.017925s ]
SELECT `id` FROM `stock` WHERE `id` <> 64318289 AND `partno` = 'DQD30-24-S24' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.049682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179092 LIMIT 5 [ RunTime:0.005556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179092 ORDER BY `minOrder` ASC [ RunTime:0.011279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179092 ORDER BY `unit` DESC [ RunTime:0.003308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179092 LIMIT 2 [ RunTime:0.021901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179092 ORDER BY `minOrder` ASC [ RunTime:0.013455s ]
select * from pdf where partno='DQD30-24-S24-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.008383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD30-24-S24-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.004821s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179092 AND `partno` = 'DQD30-24-S24-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.016416s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018459s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010402s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015922s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004424s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008453s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002839s ]
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 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006013s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DQD30-24-S24%' OR `brand` LIKE 'DQD30-24-S24%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004971s ]