SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002185s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060816s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.134550s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.096108s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.020185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64307983 LIMIT 5 [ RunTime:0.061816s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.033691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64307983 ORDER BY `minOrder` ASC [ RunTime:0.098162s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64307983 ORDER BY `unit` DESC [ RunTime:0.100070s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64307983 LIMIT 2 [ RunTime:0.081731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64307983 ORDER BY `minOrder` ASC [ RunTime:0.025426s ]
select * from pdf where partno='DQD50-48-S24' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.097583s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S24' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.110149s ]
SELECT `id` FROM `stock` WHERE `id` <> 64307983 AND `partno` = 'DQD50-48-S24' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.133110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64624672 LIMIT 5 [ RunTime:0.157935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64624672 ORDER BY `minOrder` ASC [ RunTime:0.163679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64624672 ORDER BY `unit` DESC [ RunTime:0.044232s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64624672 LIMIT 2 [ RunTime:0.113035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64624672 ORDER BY `minOrder` ASC [ RunTime:0.069121s ]
select * from pdf where partno='DQD50-48-S24-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.057977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S24-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.121412s ]
SELECT `id` FROM `stock` WHERE `id` <> 64624672 AND `partno` = 'DQD50-48-S24-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.298740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58178223 LIMIT 5 [ RunTime:0.085513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58178223 ORDER BY `minOrder` ASC [ RunTime:0.296108s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58178223 ORDER BY `unit` DESC [ RunTime:0.088729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58178223 LIMIT 2 [ RunTime:0.170274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58178223 ORDER BY `minOrder` ASC [ RunTime:0.018380s ]
select * from pdf where partno='DQD50-48-S24-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.001625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S24-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.067039s ]
SELECT `id` FROM `stock` WHERE `id` <> 58178223 AND `partno` = 'DQD50-48-S24-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.044800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64626105 LIMIT 5 [ RunTime:0.064822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64626105 ORDER BY `minOrder` ASC [ RunTime:0.049471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64626105 ORDER BY `unit` DESC [ RunTime:0.065584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64626105 LIMIT 2 [ RunTime:0.048747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64626105 ORDER BY `minOrder` ASC [ RunTime:0.020525s ]
select * from pdf where partno='DQD50-48-S24H-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.017278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S24H-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.036568s ]
SELECT `id` FROM `stock` WHERE `id` <> 64626105 AND `partno` = 'DQD50-48-S24H-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.081674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64354117 LIMIT 5 [ RunTime:0.067860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64354117 ORDER BY `minOrder` ASC [ RunTime:0.011690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64354117 ORDER BY `unit` DESC [ RunTime:0.015492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64354117 LIMIT 2 [ RunTime:0.012001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64354117 ORDER BY `minOrder` ASC [ RunTime:0.013737s ]
select * from pdf where partno='DQD50-48-S24H' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.015391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S24H' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.014969s ]
SELECT `id` FROM `stock` WHERE `id` <> 64354117 AND `partno` = 'DQD50-48-S24H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.009696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179458 LIMIT 5 [ RunTime:0.007782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179458 ORDER BY `minOrder` ASC [ RunTime:0.018519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179458 ORDER BY `unit` DESC [ RunTime:0.037519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179458 LIMIT 2 [ RunTime:0.038307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179458 ORDER BY `minOrder` ASC [ RunTime:0.016756s ]
select * from pdf where partno='DQD50-48-S24H-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.016046s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S24H-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.024150s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179458 AND `partno` = 'DQD50-48-S24H-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.058098s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015651s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022801s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037678s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035513s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033911s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045195s ]
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 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032429s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DQD50-48-S24%' OR `brand` LIKE 'DQD50-48-S24%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.029727s ]