SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001507s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007962s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009836s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20053623 LIMIT 5 [ RunTime:0.008660s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20053623 ORDER BY `minOrder` ASC [ RunTime:0.003421s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20053623 ORDER BY `unit` DESC [ RunTime:0.010131s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20053623 LIMIT 2 [ RunTime:0.008747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20053623 ORDER BY `minOrder` ASC [ RunTime:0.006411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20052621 LIMIT 5 [ RunTime:0.009310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20052621 ORDER BY `minOrder` ASC [ RunTime:0.004376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20052621 ORDER BY `unit` DESC [ RunTime:0.016533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20052621 LIMIT 2 [ RunTime:0.033528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20052621 ORDER BY `minOrder` ASC [ RunTime:0.008880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19864278 LIMIT 5 [ RunTime:0.031148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19864278 ORDER BY `minOrder` ASC [ RunTime:0.008711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19864278 ORDER BY `unit` DESC [ RunTime:0.026691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19864278 LIMIT 2 [ RunTime:0.022308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19864278 ORDER BY `minOrder` ASC [ RunTime:0.003737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17365708 LIMIT 5 [ RunTime:0.018067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17365708 ORDER BY `minOrder` ASC [ RunTime:0.018004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17365708 ORDER BY `unit` DESC [ RunTime:0.029239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17365708 LIMIT 2 [ RunTime:0.032321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17365708 ORDER BY `minOrder` ASC [ RunTime:0.015408s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025860s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51930926 LIMIT 5 [ RunTime:0.003564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51930926 ORDER BY `minOrder` ASC [ RunTime:0.017571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51930926 ORDER BY `unit` DESC [ RunTime:0.018894s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51930926 LIMIT 2 [ RunTime:0.025793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51930926 ORDER BY `minOrder` ASC [ RunTime:0.009127s ]
select * from pdf where partno='GEM10DRMN-S273' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.004832s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM10DRMN-S273' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.010595s ]
SELECT `id` FROM `stock` WHERE `id` <> 51930926 AND `partno` = 'GEM10DRMN-S273' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.002156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17365708 [ RunTime:0.000577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51927077 LIMIT 5 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51927077 ORDER BY `minOrder` ASC [ RunTime:0.004241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51927077 ORDER BY `unit` DESC [ RunTime:0.012474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51927077 LIMIT 2 [ RunTime:0.000656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51927077 ORDER BY `minOrder` ASC [ RunTime:0.002470s ]
select * from pdf where partno='GEM10DRMN-S664' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM10DRMN-S664' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.004653s ]
SELECT `id` FROM `stock` WHERE `id` <> 51927077 AND `partno` = 'GEM10DRMN-S664' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.009293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20053623 [ RunTime:0.005124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51877368 LIMIT 5 [ RunTime:0.000595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51877368 ORDER BY `minOrder` ASC [ RunTime:0.001030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51877368 ORDER BY `unit` DESC [ RunTime:0.011217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51877368 LIMIT 2 [ RunTime:0.000858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51877368 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='GEM10DRMN-S288' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.004166s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM10DRMN-S288' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.005406s ]
SELECT `id` FROM `stock` WHERE `id` <> 51877368 AND `partno` = 'GEM10DRMN-S288' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.010412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19864278 [ RunTime:0.018166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51873872 LIMIT 5 [ RunTime:0.003954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51873872 ORDER BY `minOrder` ASC [ RunTime:0.014361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51873872 ORDER BY `unit` DESC [ RunTime:0.001711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51873872 LIMIT 2 [ RunTime:0.000730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51873872 ORDER BY `minOrder` ASC [ RunTime:0.000596s ]
select * from pdf where partno='GEM10DRMN' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.006328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM10DRMN' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.001134s ]
SELECT `id` FROM `stock` WHERE `id` <> 51873872 AND `partno` = 'GEM10DRMN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.006104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20052621 [ RunTime:0.009078s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002522s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010171s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005233s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016029s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005152s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010182s ]
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 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001323s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GEM10DRMN%' OR `brand` LIKE 'GEM10DRMN%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003977s ]