SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003557s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022723s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021218s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024606s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625964 LIMIT 5 [ RunTime:0.013619s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.011165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625964 ORDER BY `minOrder` ASC [ RunTime:0.010644s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625964 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001937s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625964 LIMIT 2 [ RunTime:0.010970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625964 ORDER BY `minOrder` ASC [ RunTime:0.012128s ]
select * from pdf where partno='DQD20-24-D24H-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.010265s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D24H-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.012204s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625964 AND `partno` = 'DQD20-24-D24H-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.000414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625915 LIMIT 5 [ RunTime:0.007840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625915 ORDER BY `minOrder` ASC [ RunTime:0.026132s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625915 ORDER BY `unit` DESC [ RunTime:0.015177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625915 LIMIT 2 [ RunTime:0.009203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625915 ORDER BY `minOrder` ASC [ RunTime:0.006594s ]
select * from pdf where partno='DQD20-24-D24-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.010714s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D24-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.013625s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625915 AND `partno` = 'DQD20-24-D24-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.006543s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64344652 LIMIT 5 [ RunTime:0.011253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64344652 ORDER BY `minOrder` ASC [ RunTime:0.014900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64344652 ORDER BY `unit` DESC [ RunTime:0.004863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64344652 LIMIT 2 [ RunTime:0.008869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64344652 ORDER BY `minOrder` ASC [ RunTime:0.005947s ]
select * from pdf where partno='DQD20-24-D24H' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.016416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D24H' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.018805s ]
SELECT `id` FROM `stock` WHERE `id` <> 64344652 AND `partno` = 'DQD20-24-D24H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.009775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64343252 LIMIT 5 [ RunTime:0.034162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64343252 ORDER BY `minOrder` ASC [ RunTime:0.017869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64343252 ORDER BY `unit` DESC [ RunTime:0.002785s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64343252 LIMIT 2 [ RunTime:0.003737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64343252 ORDER BY `minOrder` ASC [ RunTime:0.004005s ]
select * from pdf where partno='DQD20-24-D24' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.007373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D24' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.005466s ]
SELECT `id` FROM `stock` WHERE `id` <> 64343252 AND `partno` = 'DQD20-24-D24' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.008206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179306 LIMIT 5 [ RunTime:0.015065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179306 ORDER BY `minOrder` ASC [ RunTime:0.025740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179306 ORDER BY `unit` DESC [ RunTime:0.019328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179306 LIMIT 2 [ RunTime:0.007982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179306 ORDER BY `minOrder` ASC [ RunTime:0.000558s ]
select * from pdf where partno='DQD20-24-D24H-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.024444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D24H-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.012408s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179306 AND `partno` = 'DQD20-24-D24H-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.012647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179271 LIMIT 5 [ RunTime:0.020112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179271 ORDER BY `minOrder` ASC [ RunTime:0.009821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179271 ORDER BY `unit` DESC [ RunTime:0.006518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179271 LIMIT 2 [ RunTime:0.006636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179271 ORDER BY `minOrder` ASC [ RunTime:0.009349s ]
select * from pdf where partno='DQD20-24-D24-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.005172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D24-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.007104s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179271 AND `partno` = 'DQD20-24-D24-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.018540s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021067s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024095s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013609s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013922s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017152s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023917s ]
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-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008209s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DQD20-24-D24%' OR `brand` LIKE 'DQD20-24-D24%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010689s ]