SHOW FULL COLUMNS FROM `stock` [ 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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008704s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12088738 LIMIT 5 [ RunTime:0.007072s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12088738 ORDER BY `minOrder` ASC [ RunTime:0.002168s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12088738 ORDER BY `unit` DESC [ RunTime:0.012717s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12088738 LIMIT 2 [ RunTime:0.009045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12088738 ORDER BY `minOrder` ASC [ RunTime:0.003154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12088303 LIMIT 5 [ RunTime:0.007257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12088303 ORDER BY `minOrder` ASC [ RunTime:0.012934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12088303 ORDER BY `unit` DESC [ RunTime:0.009105s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12088303 LIMIT 2 [ RunTime:0.002931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12088303 ORDER BY `minOrder` ASC [ RunTime:0.012863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11131758 LIMIT 5 [ RunTime:0.002259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11131758 ORDER BY `minOrder` ASC [ RunTime:0.022503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11131758 ORDER BY `unit` DESC [ RunTime:0.027523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11131758 LIMIT 2 [ RunTime:0.019591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11131758 ORDER BY `minOrder` ASC [ RunTime:0.003449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11131493 LIMIT 5 [ RunTime:0.013049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11131493 ORDER BY `minOrder` ASC [ RunTime:0.020232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11131493 ORDER BY `unit` DESC [ RunTime:0.008661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11131493 LIMIT 2 [ RunTime:0.031456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11131493 ORDER BY `minOrder` ASC [ RunTime:0.004122s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025026s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41648123 LIMIT 5 [ RunTime:0.007626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41648123 ORDER BY `minOrder` ASC [ RunTime:0.017856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41648123 ORDER BY `unit` DESC [ RunTime:0.008523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41648123 LIMIT 2 [ RunTime:0.006114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41648123 ORDER BY `minOrder` ASC [ RunTime:0.010162s ]
select * from pdf where partno='EPG500-2312-CKF' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.016179s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001516s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-2312-CKF' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.018276s ]
SELECT `id` FROM `stock` WHERE `id` <> 41648123 AND `partno` = 'EPG500-2312-CKF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.012153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12088738 [ RunTime:0.018048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41645423 LIMIT 5 [ RunTime:0.012873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41645423 ORDER BY `minOrder` ASC [ RunTime:0.013395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41645423 ORDER BY `unit` DESC [ RunTime:0.022197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41645423 LIMIT 2 [ RunTime:0.018285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41645423 ORDER BY `minOrder` ASC [ RunTime:0.026966s ]
select * from pdf where partno='EPG500-2312-CK' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.013387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-2312-CK' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.019785s ]
SELECT `id` FROM `stock` WHERE `id` <> 41645423 AND `partno` = 'EPG500-2312-CK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.036899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12088303 [ RunTime:0.030966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41644646 LIMIT 5 [ RunTime:0.015207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41644646 ORDER BY `minOrder` ASC [ RunTime:0.014285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41644646 ORDER BY `unit` DESC [ RunTime:0.016383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41644646 LIMIT 2 [ RunTime:0.002080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41644646 ORDER BY `minOrder` ASC [ RunTime:0.002801s ]
select * from pdf where partno='EPG500-2312-U' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.007780s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-2312-U' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.014928s ]
SELECT `id` FROM `stock` WHERE `id` <> 41644646 AND `partno` = 'EPG500-2312-U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.018997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11131758 [ RunTime:0.021392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41643349 LIMIT 5 [ RunTime:0.018640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41643349 ORDER BY `minOrder` ASC [ RunTime:0.027651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41643349 ORDER BY `unit` DESC [ RunTime:0.008090s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41643349 LIMIT 2 [ RunTime:0.015574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41643349 ORDER BY `minOrder` ASC [ RunTime:0.004168s ]
select * from pdf where partno='EPG500-2312-L' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.006752s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-2312-L' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.004760s ]
SELECT `id` FROM `stock` WHERE `id` <> 41643349 AND `partno` = 'EPG500-2312-L' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.003369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41640874 LIMIT 5 [ RunTime:0.003073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640874 ORDER BY `minOrder` ASC [ RunTime:0.013269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41640874 ORDER BY `unit` DESC [ RunTime:0.010845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41640874 LIMIT 2 [ RunTime:0.002786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41640874 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
select * from pdf where partno='EPG500-2312' and brandshort='Bel Power Solutions' limit 1 [ RunTime:0.000956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPG500-2312' OR `brand` LIKE 'Bel Power Solutions%' ) ) LIMIT 1 [ RunTime:0.005012s ]
SELECT `id` FROM `stock` WHERE `id` <> 41640874 AND `partno` = 'EPG500-2312' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bel power solutions%' ) [ RunTime:0.007417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11131493 [ RunTime:0.016354s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024192s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006675s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001587s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016141s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018498s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010723s ]
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-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005455s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'EPG500-2312%' OR `brand` LIKE 'EPG500-2312%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010837s ]