SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001862s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032553s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035176s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043118s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625957 LIMIT 5 [ RunTime:0.020313s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.011791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625957 ORDER BY `minOrder` ASC [ RunTime:0.016805s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003820s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625957 ORDER BY `unit` DESC [ RunTime:0.064578s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625957 LIMIT 2 [ RunTime:0.046146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625957 ORDER BY `minOrder` ASC [ RunTime:0.044661s ]
select * from pdf where partno='DQD20-24-D12H-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.037350s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D12H-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.041429s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625957 AND `partno` = 'DQD20-24-D12H-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.078362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64625921 LIMIT 5 [ RunTime:0.040619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625921 ORDER BY `minOrder` ASC [ RunTime:0.083523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64625921 ORDER BY `unit` DESC [ RunTime:0.034012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64625921 LIMIT 2 [ RunTime:0.004342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64625921 ORDER BY `minOrder` ASC [ RunTime:0.010465s ]
select * from pdf where partno='DQD20-24-D12-DIN' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.040827s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D12-DIN' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.029533s ]
SELECT `id` FROM `stock` WHERE `id` <> 64625921 AND `partno` = 'DQD20-24-D12-DIN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.020236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64344650 LIMIT 5 [ RunTime:0.038319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64344650 ORDER BY `minOrder` ASC [ RunTime:0.012310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64344650 ORDER BY `unit` DESC [ RunTime:0.014407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64344650 LIMIT 2 [ RunTime:0.014224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64344650 ORDER BY `minOrder` ASC [ RunTime:0.020481s ]
select * from pdf where partno='DQD20-24-D12H' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.027298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D12H' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.023229s ]
SELECT `id` FROM `stock` WHERE `id` <> 64344650 AND `partno` = 'DQD20-24-D12H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.002159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64343248 LIMIT 5 [ RunTime:0.002307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64343248 ORDER BY `minOrder` ASC [ RunTime:0.007077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64343248 ORDER BY `unit` DESC [ RunTime:0.002249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64343248 LIMIT 2 [ RunTime:0.005625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64343248 ORDER BY `minOrder` ASC [ RunTime:0.010456s ]
select * from pdf where partno='DQD20-24-D12' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.005728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D12' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.023633s ]
SELECT `id` FROM `stock` WHERE `id` <> 64343248 AND `partno` = 'DQD20-24-D12' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.003625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179303 LIMIT 5 [ RunTime:0.003647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179303 ORDER BY `minOrder` ASC [ RunTime:0.007383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179303 ORDER BY `unit` DESC [ RunTime:0.010045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179303 LIMIT 2 [ RunTime:0.009672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179303 ORDER BY `minOrder` ASC [ RunTime:0.011565s ]
select * from pdf where partno='DQD20-24-D12H-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.004955s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D12H-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.007735s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179303 AND `partno` = 'DQD20-24-D12H-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.047021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58179270 LIMIT 5 [ RunTime:0.015690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179270 ORDER BY `minOrder` ASC [ RunTime:0.021914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58179270 ORDER BY `unit` DESC [ RunTime:0.019689s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58179270 LIMIT 2 [ RunTime:0.031856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58179270 ORDER BY `minOrder` ASC [ RunTime:0.005867s ]
select * from pdf where partno='DQD20-24-D12-T' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.021312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DQD20-24-D12-T' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.027319s ]
SELECT `id` FROM `stock` WHERE `id` <> 58179270 AND `partno` = 'DQD20-24-D12-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.042002s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039321s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026304s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004801s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015207s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042266s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029050s ]
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-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033576s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DQD20-24-D12%' OR `brand` LIKE 'DQD20-24-D12%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.020093s ]