SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002348s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044079s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017527s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010457s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64307982 LIMIT 5 [ RunTime:0.036908s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64307982 ORDER BY `minOrder` ASC [ RunTime:0.034756s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002469s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64307982 ORDER BY `unit` DESC [ RunTime:0.033726s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64307982 LIMIT 2 [ RunTime:0.015693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64307982 ORDER BY `minOrder` ASC [ RunTime:0.017753s ]
select * from pdf where partno='DQD50-48-S5' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.020321s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S5' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.030224s ]
SELECT `id` FROM `stock` WHERE `id` <> 64307982 AND `partno` = 'DQD50-48-S5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.073739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58178222 LIMIT 5 [ RunTime:0.029827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58178222 ORDER BY `minOrder` ASC [ RunTime:0.096775s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58178222 ORDER BY `unit` DESC [ RunTime:0.027924s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58178222 LIMIT 2 [ RunTime:0.103215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58178222 ORDER BY `minOrder` ASC [ RunTime:0.020006s ]
select * from pdf where partno='DQD50-48-S5-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.055027s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S5-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.008122s ]
SELECT `id` FROM `stock` WHERE `id` <> 58178222 AND `partno` = 'DQD50-48-S5-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.078064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64624673 LIMIT 5 [ RunTime:0.046592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64624673 ORDER BY `minOrder` ASC [ RunTime:0.027122s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64624673 ORDER BY `unit` DESC [ RunTime:0.009464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64624673 LIMIT 2 [ RunTime:0.021109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64624673 ORDER BY `minOrder` ASC [ RunTime:0.016527s ]
select * from pdf where partno='DQD50-48-S5-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.049969s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S5-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.026300s ]
SELECT `id` FROM `stock` WHERE `id` <> 64624673 AND `partno` = 'DQD50-48-S5-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.021850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64626101 LIMIT 5 [ RunTime:0.041373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64626101 ORDER BY `minOrder` ASC [ RunTime:0.022074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64626101 ORDER BY `unit` DESC [ RunTime:0.020322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64626101 LIMIT 2 [ RunTime:0.015528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64626101 ORDER BY `minOrder` ASC [ RunTime:0.006652s ]
select * from pdf where partno='DQD50-48-S5H-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.018293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S5H-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.009765s ]
SELECT `id` FROM `stock` WHERE `id` <> 64626101 AND `partno` = 'DQD50-48-S5H-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.040425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64354123 LIMIT 5 [ RunTime:0.056237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64354123 ORDER BY `minOrder` ASC [ RunTime:0.069157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64354123 ORDER BY `unit` DESC [ RunTime:0.017332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64354123 LIMIT 2 [ RunTime:0.015747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64354123 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
select * from pdf where partno='DQD50-48-S5H' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.004344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S5H' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.005039s ]
SELECT `id` FROM `stock` WHERE `id` <> 64354123 AND `partno` = 'DQD50-48-S5H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.020422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179457 LIMIT 5 [ RunTime:0.036962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179457 ORDER BY `minOrder` ASC [ RunTime:0.009113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179457 ORDER BY `unit` DESC [ RunTime:0.048727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179457 LIMIT 2 [ RunTime:0.040243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179457 ORDER BY `minOrder` ASC [ RunTime:0.004189s ]
select * from pdf where partno='DQD50-48-S5H-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.025635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD50-48-S5H-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.033612s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179457 AND `partno` = 'DQD50-48-S5H-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.016915s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013180s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.071564s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037219s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013653s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033193s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029086s ]
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-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028295s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DQD50-48-S5%' OR `brand` LIKE 'DQD50-48-S5%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.046609s ]