SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001716s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012721s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008555s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11173816 LIMIT 5 [ RunTime:0.014921s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11173816 ORDER BY `minOrder` ASC [ RunTime:0.005927s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11173816 ORDER BY `unit` DESC [ RunTime:0.013269s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002134s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11173816 LIMIT 2 [ RunTime:0.007415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11173816 ORDER BY `minOrder` ASC [ RunTime:0.006237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12152390 LIMIT 5 [ RunTime:0.029820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12152390 ORDER BY `minOrder` ASC [ RunTime:0.063220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12152390 ORDER BY `unit` DESC [ RunTime:0.090542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12152390 LIMIT 2 [ RunTime:0.026941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12152390 ORDER BY `minOrder` ASC [ RunTime:0.034857s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32285727 LIMIT 5 [ RunTime:0.032897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32285727 ORDER BY `minOrder` ASC [ RunTime:0.024028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32285727 ORDER BY `unit` DESC [ RunTime:0.018264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32285727 LIMIT 2 [ RunTime:0.054025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32285727 ORDER BY `minOrder` ASC [ RunTime:0.008383s ]
select * from pdf where partno='cp30138h' and brandshort='same sky' limit 1 [ RunTime:0.005897s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001809s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'cp30138h' OR `brand` LIKE 'same sky%' ) ) LIMIT 1 [ RunTime:0.006427s ]
SELECT `id` FROM `stock` WHERE `id` <> 32285727 AND `partno` = 'cp30138h' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%same sky%' ) [ RunTime:0.011255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11173816 [ RunTime:0.011894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32285808 LIMIT 5 [ RunTime:0.027390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32285808 ORDER BY `minOrder` ASC [ RunTime:0.046440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32285808 ORDER BY `unit` DESC [ RunTime:0.058527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32285808 LIMIT 2 [ RunTime:0.044128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32285808 ORDER BY `minOrder` ASC [ RunTime:0.003917s ]
select * from pdf where partno='cp30138' and brandshort='same sky' limit 1 [ RunTime:0.038276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'cp30138' OR `brand` LIKE 'same sky%' ) ) LIMIT 1 [ RunTime:0.029227s ]
SELECT `id` FROM `stock` WHERE `id` <> 32285808 AND `partno` = 'cp30138' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%same sky%' ) [ RunTime:0.045466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12152390 [ RunTime:0.045764s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58509504 LIMIT 5 [ RunTime:0.011445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58509504 ORDER BY `minOrder` ASC [ RunTime:0.021252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58509504 ORDER BY `unit` DESC [ RunTime:0.009333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58509504 LIMIT 2 [ RunTime:0.016247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58509504 ORDER BY `minOrder` ASC [ RunTime:0.002094s ]
select * from pdf where partno='CP30138H' and brandshort='WEC' limit 1 [ RunTime:0.013976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CP30138H' OR `brand` LIKE 'WEC%' ) ) LIMIT 1 [ RunTime:0.024494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58509346 LIMIT 5 [ RunTime:0.007112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58509346 ORDER BY `minOrder` ASC [ RunTime:0.002690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58509346 ORDER BY `unit` DESC [ RunTime:0.000504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58509346 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58509346 ORDER BY `minOrder` ASC [ RunTime:0.001444s ]
select * from pdf where partno='CP30138H' and brandshort='Same Sky Formerly CUI Devices' limit 1 [ RunTime:0.000858s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CP30138H' OR `brand` LIKE 'Same Sky (Formerly CUI Devices)%' ) ) LIMIT 1 [ RunTime:0.003547s ]
SELECT `id` FROM `stock` WHERE `id` <> 58509346 AND `partno` = 'CP30138H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%same sky%' ) [ RunTime:0.000479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32285727 [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11173816 [ RunTime:0.009101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58509575 LIMIT 5 [ RunTime:0.007949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58509575 ORDER BY `minOrder` ASC [ RunTime:0.009015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58509575 ORDER BY `unit` DESC [ RunTime:0.011453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58509575 LIMIT 2 [ RunTime:0.021074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58509575 ORDER BY `minOrder` ASC [ RunTime:0.006006s ]
select * from pdf where partno='CP30138' and brandshort='Same Sky Formerly CUI Devices' limit 1 [ RunTime:0.011051s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CP30138' OR `brand` LIKE 'Same Sky (Formerly CUI Devices)%' ) ) LIMIT 1 [ RunTime:0.015159s ]
SELECT `id` FROM `stock` WHERE `id` <> 58509575 AND `partno` = 'CP30138' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%same sky%' ) [ RunTime:0.014919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32285808 [ RunTime:0.005482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12152390 [ RunTime:0.001895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58510038 LIMIT 5 [ RunTime:0.002099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58510038 ORDER BY `minOrder` ASC [ RunTime:0.002417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58510038 ORDER BY `unit` DESC [ RunTime:0.001798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58510038 LIMIT 2 [ RunTime:0.000684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58510038 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
select * from pdf where partno='CP30138' and brandshort='WEC' limit 1 [ RunTime:0.000753s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CP30138' OR `brand` LIKE 'WEC%' ) ) LIMIT 1 [ RunTime:0.003231s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007958s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005775s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016801s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011062s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001903s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001221s ]
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 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002523s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'cp30138%' OR `brand` LIKE 'cp30138%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001179s ]