SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002314s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026191s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12305436 LIMIT 5 [ RunTime:0.017769s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12305436 ORDER BY `minOrder` ASC [ RunTime:0.012148s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12305436 ORDER BY `unit` DESC [ RunTime:0.021924s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12305436 LIMIT 2 [ RunTime:0.015130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12305436 ORDER BY `minOrder` ASC [ RunTime:0.003861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17183697 LIMIT 5 [ RunTime:0.011946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17183697 ORDER BY `minOrder` ASC [ RunTime:0.004362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17183697 ORDER BY `unit` DESC [ RunTime:0.008206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17183697 LIMIT 2 [ RunTime:0.013304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17183697 ORDER BY `minOrder` ASC [ RunTime:0.008939s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32242681 LIMIT 5 [ RunTime:0.020301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32242681 ORDER BY `minOrder` ASC [ RunTime:0.037453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32242681 ORDER BY `unit` DESC [ RunTime:0.010967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32242681 LIMIT 2 [ RunTime:0.000680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32242681 ORDER BY `minOrder` ASC [ RunTime:0.005013s ]
select * from pdf where partno='opb730' and brandshort='optek / tt electronics' limit 1 [ RunTime:0.015293s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'opb730' OR `brand` LIKE 'optek / tt electronics%' ) ) LIMIT 1 [ RunTime:0.015171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32229332 LIMIT 5 [ RunTime:0.023824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32229332 ORDER BY `minOrder` ASC [ RunTime:0.011531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32229332 ORDER BY `unit` DESC [ RunTime:0.023467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32229332 LIMIT 2 [ RunTime:0.014798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32229332 ORDER BY `minOrder` ASC [ RunTime:0.008135s ]
select * from pdf where partno='opb730' and brandshort='optek / tt electronics' limit 1 [ RunTime:0.001975s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'opb730' OR `brand` LIKE 'optek / tt electronics%' ) ) LIMIT 1 [ RunTime:0.005440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32242689 LIMIT 5 [ RunTime:0.003916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32242689 ORDER BY `minOrder` ASC [ RunTime:0.004259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32242689 ORDER BY `unit` DESC [ RunTime:0.002374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32242689 LIMIT 2 [ RunTime:0.008870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32242689 ORDER BY `minOrder` ASC [ RunTime:0.007565s ]
select * from pdf where partno='opb730f' and brandshort='optek / tt electronics' limit 1 [ RunTime:0.008943s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'opb730f' OR `brand` LIKE 'optek / tt electronics%' ) ) LIMIT 1 [ RunTime:0.021207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32229337 LIMIT 5 [ RunTime:0.020231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32229337 ORDER BY `minOrder` ASC [ RunTime:0.015486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32229337 ORDER BY `unit` DESC [ RunTime:0.011221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32229337 LIMIT 2 [ RunTime:0.009839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32229337 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
select * from pdf where partno='opb730f' and brandshort='optek / tt electronics' limit 1 [ RunTime:0.000511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'opb730f' OR `brand` LIKE 'optek / tt electronics%' ) ) LIMIT 1 [ RunTime:0.002796s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56487507 LIMIT 5 [ RunTime:0.003802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56487507 ORDER BY `minOrder` ASC [ RunTime:0.001374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56487507 ORDER BY `unit` DESC [ RunTime:0.005473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56487507 LIMIT 2 [ RunTime:0.017270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56487507 ORDER BY `minOrder` ASC [ RunTime:0.007800s ]
select * from pdf where partno='OPB730F' and brandshort='TT Electronics/Optek Technology' limit 1 [ RunTime:0.006883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OPB730F' OR `brand` LIKE 'TT Electronics/Optek Technology%' ) ) LIMIT 1 [ RunTime:0.017477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56487719 LIMIT 5 [ RunTime:0.008357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56487719 ORDER BY `minOrder` ASC [ RunTime:0.016372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56487719 ORDER BY `unit` DESC [ RunTime:0.007203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56487719 LIMIT 2 [ RunTime:0.009276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56487719 ORDER BY `minOrder` ASC [ RunTime:0.004085s ]
select * from pdf where partno='OPB730' and brandshort='TT Electronics/Optek Technology' limit 1 [ RunTime:0.006505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OPB730' OR `brand` LIKE 'TT Electronics/Optek Technology%' ) ) LIMIT 1 [ RunTime:0.020156s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012351s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001648s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001657s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016460s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005269s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001189s ]
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 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003722s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'OPB730%' OR `brand` LIKE 'OPB730%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006301s ]