SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002771s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054273s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13527295 LIMIT 5 [ RunTime:0.048109s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13527295 ORDER BY `minOrder` ASC [ RunTime:0.015869s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13527295 ORDER BY `unit` DESC [ RunTime:0.040601s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.023388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13527295 LIMIT 2 [ RunTime:0.025224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13527295 ORDER BY `minOrder` ASC [ RunTime:0.030070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18719690 LIMIT 5 [ RunTime:0.011260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18719690 ORDER BY `minOrder` ASC [ RunTime:0.003506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18719690 ORDER BY `unit` DESC [ RunTime:0.034088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18719690 LIMIT 2 [ RunTime:0.015296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18719690 ORDER BY `minOrder` ASC [ RunTime:0.034683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13373623 LIMIT 5 [ RunTime:0.042437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13373623 ORDER BY `minOrder` ASC [ RunTime:0.057508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13373623 ORDER BY `unit` DESC [ RunTime:0.064844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13373623 LIMIT 2 [ RunTime:0.041228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13373623 ORDER BY `minOrder` ASC [ RunTime:0.044278s ]
select * from pdf where partno='18557' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.025477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13299463 LIMIT 5 [ RunTime:0.020146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13299463 ORDER BY `minOrder` ASC [ RunTime:0.038330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13299463 ORDER BY `unit` DESC [ RunTime:0.049099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13299463 LIMIT 2 [ RunTime:0.040014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13299463 ORDER BY `minOrder` ASC [ RunTime:0.008869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13102887 LIMIT 5 [ RunTime:0.003213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13102887 ORDER BY `minOrder` ASC [ RunTime:0.006770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13102887 ORDER BY `unit` DESC [ RunTime:0.032577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13102887 LIMIT 2 [ RunTime:0.006811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13102887 ORDER BY `minOrder` ASC [ RunTime:0.003339s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049741s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53541674 LIMIT 5 [ RunTime:0.003580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53541674 ORDER BY `minOrder` ASC [ RunTime:0.009771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53541674 ORDER BY `unit` DESC [ RunTime:0.002473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53541674 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53541674 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
select * from pdf where partno='1855703' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.003805s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002543s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1855703' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.017328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51674156 LIMIT 5 [ RunTime:0.006117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51674156 ORDER BY `minOrder` ASC [ RunTime:0.001518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51674156 ORDER BY `unit` DESC [ RunTime:0.003166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51674156 LIMIT 2 [ RunTime:0.002360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51674156 ORDER BY `minOrder` ASC [ RunTime:0.004558s ]
select * from pdf where partno='1855700-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.011736s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1855700-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.003216s ]
SELECT `id` FROM `stock` WHERE `id` <> 51674156 AND `partno` = '1855700-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.011399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50608046 LIMIT 5 [ RunTime:0.011371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50608046 ORDER BY `minOrder` ASC [ RunTime:0.010360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50608046 ORDER BY `unit` DESC [ RunTime:0.002513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50608046 LIMIT 2 [ RunTime:0.005060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50608046 ORDER BY `minOrder` ASC [ RunTime:0.004465s ]
select * from pdf where partno='18557' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.004029s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '18557' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.002306s ]
SELECT `id` FROM `stock` WHERE `id` <> 50608046 AND `partno` = '18557' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.000991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13373623 [ RunTime:0.000418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44636830 LIMIT 5 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44636830 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44636830 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44636830 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44636830 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='1855700-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.000750s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1855700-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.000430s ]
SELECT `id` FROM `stock` WHERE `id` <> 44636830 AND `partno` = '1855700-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.000435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18719690 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37931966 LIMIT 5 [ RunTime:0.000983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37931966 ORDER BY `minOrder` ASC [ RunTime:0.006253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37931966 ORDER BY `unit` DESC [ RunTime:0.003288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37931966 LIMIT 2 [ RunTime:0.002936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37931966 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='18557' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.000441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '18557' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.000229s ]
SELECT `id` FROM `stock` WHERE `id` <> 37931966 AND `partno` = '18557' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.000825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13373623 [ RunTime:0.003902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33119050 LIMIT 5 [ RunTime:0.008497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33119050 ORDER BY `minOrder` ASC [ RunTime:0.003073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33119050 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33119050 LIMIT 2 [ RunTime:0.000200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33119050 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
select * from pdf where partno='1855700-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1855700-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT `id` FROM `stock` WHERE `id` <> 33119050 AND `partno` = '1855700-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.000246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18719690 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32776890 LIMIT 5 [ RunTime:0.000511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32776890 ORDER BY `minOrder` ASC [ RunTime:0.002567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32776890 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32776890 LIMIT 2 [ RunTime:0.000868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32776890 ORDER BY `minOrder` ASC [ RunTime:0.002820s ]
select * from pdf where partno='1855714-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000829s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1855714-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000993s ]
SELECT `id` FROM `stock` WHERE `id` <> 32776890 AND `partno` = '1855714-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.012004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13299463 [ RunTime:0.003303s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001594s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001147s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004206s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009500s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005259s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005185s ]
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 '18557%' OR `brand` LIKE '18557%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018452s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '18557%' OR `brand` LIKE '18557%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.016345s ]