SHOW FULL COLUMNS FROM `stock` [ RunTime:0.005535s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003502s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10695190 LIMIT 5 [ RunTime:0.001300s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10695190 ORDER BY `minOrder` ASC [ RunTime:0.000822s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001931s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10695190 ORDER BY `unit` DESC [ RunTime:0.000857s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001900s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10695190 LIMIT 2 [ RunTime:0.000703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10695190 ORDER BY `minOrder` ASC [ RunTime:0.000720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10694820 LIMIT 5 [ RunTime:0.001283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10694820 ORDER BY `minOrder` ASC [ RunTime:0.000779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10694820 ORDER BY `unit` DESC [ RunTime:0.000611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10694820 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10694820 ORDER BY `minOrder` ASC [ RunTime:0.000635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10690753 LIMIT 5 [ RunTime:0.002239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10690753 ORDER BY `minOrder` ASC [ RunTime:0.000786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10690753 ORDER BY `unit` DESC [ RunTime:0.000688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10690753 LIMIT 2 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10690753 ORDER BY `minOrder` ASC [ RunTime:0.000609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10688862 LIMIT 5 [ RunTime:0.000724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10688862 ORDER BY `minOrder` ASC [ RunTime:0.000657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10688862 ORDER BY `unit` DESC [ RunTime:0.000569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10688862 LIMIT 2 [ RunTime:0.000647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10688862 ORDER BY `minOrder` ASC [ RunTime:0.000726s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002223s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65988675 LIMIT 5 [ RunTime:0.000706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65988675 ORDER BY `minOrder` ASC [ RunTime:0.001195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65988675 ORDER BY `unit` DESC [ RunTime:0.000680s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65988675 LIMIT 2 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65988675 ORDER BY `minOrder` ASC [ RunTime:0.000717s ]
select * from pdf where partno='AMC18DREH-S93' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001964s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002045s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AMC18DREH-S93' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.000699s ]
SELECT `id` FROM `stock` WHERE `id` <> 65988675 AND `partno` = 'AMC18DREH-S93' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.000759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10695190 [ RunTime:0.000567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65987650 LIMIT 5 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65987650 ORDER BY `minOrder` ASC [ RunTime:0.002086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65987650 ORDER BY `unit` DESC [ RunTime:0.000850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65987650 LIMIT 2 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65987650 ORDER BY `minOrder` ASC [ RunTime:0.000980s ]
select * from pdf where partno='AMC18DREH-S734' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.007838s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AMC18DREH-S734' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.001332s ]
SELECT `id` FROM `stock` WHERE `id` <> 65987650 AND `partno` = 'AMC18DREH-S734' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.001135s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10694820 [ RunTime:0.000885s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65977662 LIMIT 5 [ RunTime:0.000925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65977662 ORDER BY `minOrder` ASC [ RunTime:0.001369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65977662 ORDER BY `unit` DESC [ RunTime:0.000692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65977662 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65977662 ORDER BY `minOrder` ASC [ RunTime:0.000567s ]
select * from pdf where partno='AMC18DREH-S13' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AMC18DREH-S13' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.000805s ]
SELECT `id` FROM `stock` WHERE `id` <> 65977662 AND `partno` = 'AMC18DREH-S13' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.000813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10690753 [ RunTime:0.000560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65973633 LIMIT 5 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65973633 ORDER BY `minOrder` ASC [ RunTime:0.001055s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65973633 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65973633 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65973633 ORDER BY `minOrder` ASC [ RunTime:0.000488s ]
select * from pdf where partno='AMC18DREH' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.000836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AMC18DREH' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.000843s ]
SELECT `id` FROM `stock` WHERE `id` <> 65973633 AND `partno` = 'AMC18DREH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.000829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10688862 [ RunTime:0.000613s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001598s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001402s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001249s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001285s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001382s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001257s ]
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 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001707s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'AMC18DREH%' OR `brand` LIKE 'AMC18DREH%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001332s ]