SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001428s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020501s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12087871 LIMIT 5 [ RunTime:0.033287s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12087871 ORDER BY `minOrder` ASC [ RunTime:0.009373s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12087871 ORDER BY `unit` DESC [ RunTime:0.018030s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.034835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12087871 LIMIT 2 [ RunTime:0.040797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12087871 ORDER BY `minOrder` ASC [ RunTime:0.028404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12087853 LIMIT 5 [ RunTime:0.028252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12087853 ORDER BY `minOrder` ASC [ RunTime:0.074256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12087853 ORDER BY `unit` DESC [ RunTime:0.025242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12087853 LIMIT 2 [ RunTime:0.043054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12087853 ORDER BY `minOrder` ASC [ RunTime:0.020489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12087589 LIMIT 5 [ RunTime:0.072217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12087589 ORDER BY `minOrder` ASC [ RunTime:0.088491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12087589 ORDER BY `unit` DESC [ RunTime:0.061602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12087589 LIMIT 2 [ RunTime:0.056168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12087589 ORDER BY `minOrder` ASC [ RunTime:0.093947s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054336s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41642464 LIMIT 5 [ RunTime:0.067649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41642464 ORDER BY `minOrder` ASC [ RunTime:0.044149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41642464 ORDER BY `unit` DESC [ RunTime:0.061286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41642464 LIMIT 2 [ RunTime:0.070094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41642464 ORDER BY `minOrder` ASC [ RunTime:0.032834s ]
select * from pdf where partno='EPG500-1258-CKF' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.058256s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002703s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-1258-CKF' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.023371s ]
SELECT `id` FROM `stock` WHERE `id` <> 41642464 AND `partno` = 'EPG500-1258-CKF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.010982s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41640991 LIMIT 5 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640991 ORDER BY `minOrder` ASC [ RunTime:0.004060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41640991 ORDER BY `unit` DESC [ RunTime:0.023171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41640991 LIMIT 2 [ RunTime:0.030816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640991 ORDER BY `minOrder` ASC [ RunTime:0.013578s ]
select * from pdf where partno='EPG500-1258-CK' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.012205s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-1258-CK' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.014462s ]
SELECT `id` FROM `stock` WHERE `id` <> 41640991 AND `partno` = 'EPG500-1258-CK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.015841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12087871 [ RunTime:0.006559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41640683 LIMIT 5 [ RunTime:0.017539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640683 ORDER BY `minOrder` ASC [ RunTime:0.011042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41640683 ORDER BY `unit` DESC [ RunTime:0.008026s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41640683 LIMIT 2 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640683 ORDER BY `minOrder` ASC [ RunTime:0.018304s ]
select * from pdf where partno='EPG500-1258-U' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.005991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-1258-U' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.032890s ]
SELECT `id` FROM `stock` WHERE `id` <> 41640683 AND `partno` = 'EPG500-1258-U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.007051s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12087853 [ RunTime:0.014305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41640332 LIMIT 5 [ RunTime:0.002132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640332 ORDER BY `minOrder` ASC [ RunTime:0.006180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41640332 ORDER BY `unit` DESC [ RunTime:0.017312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41640332 LIMIT 2 [ RunTime:0.019734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640332 ORDER BY `minOrder` ASC [ RunTime:0.007047s ]
select * from pdf where partno='EPG500-1258-L' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.018248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-1258-L' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.005469s ]
SELECT `id` FROM `stock` WHERE `id` <> 41640332 AND `partno` = 'EPG500-1258-L' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.004223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41639492 LIMIT 5 [ RunTime:0.008726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41639492 ORDER BY `minOrder` ASC [ RunTime:0.012524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41639492 ORDER BY `unit` DESC [ RunTime:0.025781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41639492 LIMIT 2 [ RunTime:0.001092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41639492 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
select * from pdf where partno='EPG500-1258' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.009959s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-1258' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.018047s ]
SELECT `id` FROM `stock` WHERE `id` <> 41639492 AND `partno` = 'EPG500-1258' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.016879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12087589 [ RunTime:0.006254s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014220s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004406s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004116s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001336s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002735s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002866s ]
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 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012037s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'EPG500-1258%' OR `brand` LIKE 'EPG500-1258%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007218s ]