SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001531s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030579s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009595s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12517416 LIMIT 5 [ RunTime:0.058548s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12517416 ORDER BY `minOrder` ASC [ RunTime:0.028241s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12517416 ORDER BY `unit` DESC [ RunTime:0.057907s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12517416 LIMIT 2 [ RunTime:0.039636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12517416 ORDER BY `minOrder` ASC [ RunTime:0.044828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12516540 LIMIT 5 [ RunTime:0.062388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12516540 ORDER BY `minOrder` ASC [ RunTime:0.072196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12516540 ORDER BY `unit` DESC [ RunTime:0.053456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12516540 LIMIT 2 [ RunTime:0.083911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12516540 ORDER BY `minOrder` ASC [ RunTime:0.003557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19267220 LIMIT 5 [ RunTime:0.096365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19267220 ORDER BY `minOrder` ASC [ RunTime:0.128048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19267220 ORDER BY `unit` DESC [ RunTime:0.077635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19267220 LIMIT 2 [ RunTime:0.107851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19267220 ORDER BY `minOrder` ASC [ RunTime:0.064818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12517538 LIMIT 5 [ RunTime:0.035975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12517538 ORDER BY `minOrder` ASC [ RunTime:0.153442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12517538 ORDER BY `unit` DESC [ RunTime:0.120708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12517538 LIMIT 2 [ RunTime:0.123792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12517538 ORDER BY `minOrder` ASC [ RunTime:0.008631s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051803s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60639088 LIMIT 5 [ RunTime:0.051111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60639088 ORDER BY `minOrder` ASC [ RunTime:0.057767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60639088 ORDER BY `unit` DESC [ RunTime:0.128473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60639088 LIMIT 2 [ RunTime:0.046973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60639088 ORDER BY `minOrder` ASC [ RunTime:0.028831s ]
select * from pdf where partno='62850-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.160812s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62850-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.051677s ]
SELECT `id` FROM `stock` WHERE `id` <> 60639088 AND `partno` = '62850-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.051205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12516540 [ RunTime:0.076602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60638818 LIMIT 5 [ RunTime:0.064373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60638818 ORDER BY `minOrder` ASC [ RunTime:0.054741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60638818 ORDER BY `unit` DESC [ RunTime:0.068434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60638818 LIMIT 2 [ RunTime:0.081189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60638818 ORDER BY `minOrder` ASC [ RunTime:0.089297s ]
select * from pdf where partno='62852-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.088788s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62852-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.054091s ]
SELECT `id` FROM `stock` WHERE `id` <> 60638818 AND `partno` = '62852-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.119037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12517416 [ RunTime:0.017914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64251765 LIMIT 5 [ RunTime:0.106229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64251765 ORDER BY `minOrder` ASC [ RunTime:0.167247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64251765 ORDER BY `unit` DESC [ RunTime:0.017885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64251765 LIMIT 2 [ RunTime:0.171897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64251765 ORDER BY `minOrder` ASC [ RunTime:0.068863s ]
select * from pdf where partno='6285' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.054607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6285' OR `brand` LIKE 'Adafruit Industries LLC%' ) ) LIMIT 1 [ RunTime:0.115461s ]
SELECT `id` FROM `stock` WHERE `id` <> 64251765 AND `partno` = '6285' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%adafruit industries llc%' ) [ RunTime:0.164918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19267220 [ RunTime:0.162199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60642033 LIMIT 5 [ RunTime:0.051230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60642033 ORDER BY `minOrder` ASC [ RunTime:0.204817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60642033 ORDER BY `unit` DESC [ RunTime:0.019592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60642033 LIMIT 2 [ RunTime:0.106889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60642033 ORDER BY `minOrder` ASC [ RunTime:0.069029s ]
select * from pdf where partno='62850-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.051304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62850-2' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.076419s ]
SELECT `id` FROM `stock` WHERE `id` <> 60642033 AND `partno` = '62850-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.192553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12517538 [ RunTime:0.189760s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.160157s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.210645s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.097496s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.081276s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.145218s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079615s ]
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 '6285%' OR `brand` LIKE '6285%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.128168s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '6285%' OR `brand` LIKE '6285%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.097714s ]