SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002593s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091920s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.020635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12859943 LIMIT 5 [ RunTime:0.032079s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12859943 ORDER BY `minOrder` ASC [ RunTime:0.054691s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.068749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12859943 ORDER BY `unit` DESC [ RunTime:0.032445s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12859943 LIMIT 2 [ RunTime:0.061427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12859943 ORDER BY `minOrder` ASC [ RunTime:0.013972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12856500 LIMIT 5 [ RunTime:0.046484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12856500 ORDER BY `minOrder` ASC [ RunTime:0.013871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12856500 ORDER BY `unit` DESC [ RunTime:0.019139s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12856500 LIMIT 2 [ RunTime:0.090980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12856500 ORDER BY `minOrder` ASC [ RunTime:0.007447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12823767 LIMIT 5 [ RunTime:0.033936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12823767 ORDER BY `minOrder` ASC [ RunTime:0.052956s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12823767 ORDER BY `unit` DESC [ RunTime:0.036661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12823767 LIMIT 2 [ RunTime:0.072219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12823767 ORDER BY `minOrder` ASC [ RunTime:0.075766s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12817530 LIMIT 5 [ RunTime:0.044216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12817530 ORDER BY `minOrder` ASC [ RunTime:0.008814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12817530 ORDER BY `unit` DESC [ RunTime:0.117542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12817530 LIMIT 2 [ RunTime:0.055171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12817530 ORDER BY `minOrder` ASC [ RunTime:0.027527s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043571s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.125803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51995646 LIMIT 5 [ RunTime:0.060774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51995646 ORDER BY `minOrder` ASC [ RunTime:0.085422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51995646 ORDER BY `unit` DESC [ RunTime:0.033948s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51995646 LIMIT 2 [ RunTime:0.019633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51995646 ORDER BY `minOrder` ASC [ RunTime:0.025054s ]
select * from pdf where partno='GBM12DTBT-S273' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.026635s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002675s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GBM12DTBT-S273' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.007074s ]
SELECT `id` FROM `stock` WHERE `id` <> 51995646 AND `partno` = 'GBM12DTBT-S273' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.009013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12823767 [ RunTime:0.002391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51983630 LIMIT 5 [ RunTime:0.003566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51983630 ORDER BY `minOrder` ASC [ RunTime:0.012093s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51983630 ORDER BY `unit` DESC [ RunTime:0.010352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51983630 LIMIT 2 [ RunTime:0.002061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51983630 ORDER BY `minOrder` ASC [ RunTime:0.002585s ]
select * from pdf where partno='GBM12DTBT-S664' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.017222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GBM12DTBT-S664' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.016822s ]
SELECT `id` FROM `stock` WHERE `id` <> 51983630 AND `partno` = 'GBM12DTBT-S664' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.027390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12817530 [ RunTime:0.008921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51904693 LIMIT 5 [ RunTime:0.011170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51904693 ORDER BY `minOrder` ASC [ RunTime:0.012141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51904693 ORDER BY `unit` DESC [ RunTime:0.003571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51904693 LIMIT 2 [ RunTime:0.011837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51904693 ORDER BY `minOrder` ASC [ RunTime:0.009334s ]
select * from pdf where partno='GBM12DTBT-S189' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.006211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GBM12DTBT-S189' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.018409s ]
SELECT `id` FROM `stock` WHERE `id` <> 51904693 AND `partno` = 'GBM12DTBT-S189' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.008804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12859943 [ RunTime:0.013981s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51900042 LIMIT 5 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51900042 ORDER BY `minOrder` ASC [ RunTime:0.015915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51900042 ORDER BY `unit` DESC [ RunTime:0.008129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51900042 LIMIT 2 [ RunTime:0.001945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51900042 ORDER BY `minOrder` ASC [ RunTime:0.009554s ]
select * from pdf where partno='GBM12DTBT' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.022635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GBM12DTBT' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.007175s ]
SELECT `id` FROM `stock` WHERE `id` <> 51900042 AND `partno` = 'GBM12DTBT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.012116s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12856500 [ RunTime:0.000584s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024129s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009332s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018488s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007970s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004803s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001445s ]
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 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005427s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GBM12DTBT%' OR `brand` LIKE 'GBM12DTBT%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005020s ]