SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003164s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019456s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.012462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13424264 LIMIT 5 [ RunTime:0.027052s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.019845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13424264 ORDER BY `minOrder` ASC [ RunTime:0.020796s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13424264 ORDER BY `unit` DESC [ RunTime:0.031464s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13424264 LIMIT 2 [ RunTime:0.018125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13424264 ORDER BY `minOrder` ASC [ RunTime:0.001482s ]
select * from pdf where partno='29472C' and brandshort='Murata Power Solutions Inc.' limit 1 [ RunTime:0.057318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15440230 LIMIT 5 [ RunTime:0.060688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15440230 ORDER BY `minOrder` ASC [ RunTime:0.130862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15440230 ORDER BY `unit` DESC [ RunTime:0.062694s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15440230 LIMIT 2 [ RunTime:0.054295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15440230 ORDER BY `minOrder` ASC [ RunTime:0.044408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19577654 LIMIT 5 [ RunTime:0.066364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19577654 ORDER BY `minOrder` ASC [ RunTime:0.034911s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19577654 ORDER BY `unit` DESC [ RunTime:0.032316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19577654 LIMIT 2 [ RunTime:0.023447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19577654 ORDER BY `minOrder` ASC [ RunTime:0.007340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17052875 LIMIT 5 [ RunTime:0.071364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052875 ORDER BY `minOrder` ASC [ RunTime:0.035018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17052875 ORDER BY `unit` DESC [ RunTime:0.060273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17052875 LIMIT 2 [ RunTime:0.017822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17052875 ORDER BY `minOrder` ASC [ RunTime:0.002964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18998404 LIMIT 5 [ RunTime:0.040050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18998404 ORDER BY `minOrder` ASC [ RunTime:0.062623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18998404 ORDER BY `unit` DESC [ RunTime:0.016128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18998404 LIMIT 2 [ RunTime:0.013355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18998404 ORDER BY `minOrder` ASC [ RunTime:0.016708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13294612 LIMIT 5 [ RunTime:0.020770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13294612 ORDER BY `minOrder` ASC [ RunTime:0.026771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13294612 ORDER BY `unit` DESC [ RunTime:0.029847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13294612 LIMIT 2 [ RunTime:0.017151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13294612 ORDER BY `minOrder` ASC [ RunTime:0.016490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12078633 LIMIT 5 [ RunTime:0.016241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12078633 ORDER BY `minOrder` ASC [ RunTime:0.007672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12078633 ORDER BY `unit` DESC [ RunTime:0.002581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12078633 LIMIT 2 [ RunTime:0.012920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12078633 ORDER BY `minOrder` ASC [ RunTime:0.006525s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32217070 LIMIT 5 [ RunTime:0.005003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32217070 ORDER BY `minOrder` ASC [ RunTime:0.011102s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32217070 ORDER BY `unit` DESC [ RunTime:0.018102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32217070 LIMIT 2 [ RunTime:0.009973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32217070 ORDER BY `minOrder` ASC [ RunTime:0.006113s ]
select * from pdf where partno='2947242' and brandshort='phoenix contact' limit 1 [ RunTime:0.005028s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2947242' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.014149s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 40467180 LIMIT 5 [ RunTime:0.023572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40467180 ORDER BY `minOrder` ASC [ RunTime:0.010301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 40467180 ORDER BY `unit` DESC [ RunTime:0.041869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 40467180 LIMIT 2 [ RunTime:0.019026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40467180 ORDER BY `minOrder` ASC [ RunTime:0.010297s ]
select * from pdf where partno='29472C' and brandshort='Murata Power Solutions Inc.' limit 1 [ RunTime:0.018922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '29472C' OR `brand` LIKE 'Murata Power Solutions Inc.%' ) ) LIMIT 1 [ RunTime:0.014474s ]
SELECT `id` FROM `stock` WHERE `id` <> 40467180 AND `partno` = '29472C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murata power solutions inc.%' ) [ RunTime:0.034128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13424264 [ RunTime:0.000720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52490599 LIMIT 5 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52490599 ORDER BY `minOrder` ASC [ RunTime:0.014949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52490599 ORDER BY `unit` DESC [ RunTime:0.004752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52490599 LIMIT 2 [ RunTime:0.002430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52490599 ORDER BY `minOrder` ASC [ RunTime:0.002260s ]
select * from pdf where partno='294721-E' and brandshort='TE Connectivity Erni' limit 1 [ RunTime:0.003872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '294721-E' OR `brand` LIKE 'TE Connectivity Erni%' ) ) LIMIT 1 [ RunTime:0.003256s ]
SELECT `id` FROM `stock` WHERE `id` <> 52490599 AND `partno` = '294721-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity erni%' ) [ RunTime:0.010453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19577654 [ RunTime:0.001772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56648828 LIMIT 5 [ RunTime:0.005632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56648828 ORDER BY `minOrder` ASC [ RunTime:0.007490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56648828 ORDER BY `unit` DESC [ RunTime:0.000686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56648828 LIMIT 2 [ RunTime:0.016173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56648828 ORDER BY `minOrder` ASC [ RunTime:0.008336s ]
select * from pdf where partno='2947242' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000749s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2947242' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.004061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56714220 LIMIT 5 [ RunTime:0.006616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56714220 ORDER BY `minOrder` ASC [ RunTime:0.012662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56714220 ORDER BY `unit` DESC [ RunTime:0.004027s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56714220 LIMIT 2 [ RunTime:0.004469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56714220 ORDER BY `minOrder` ASC [ RunTime:0.002844s ]
select * from pdf where partno='2947255' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.001442s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2947255' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.018745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56651559 LIMIT 5 [ RunTime:0.015819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56651559 ORDER BY `minOrder` ASC [ RunTime:0.009317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56651559 ORDER BY `unit` DESC [ RunTime:0.024317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56651559 LIMIT 2 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56651559 ORDER BY `minOrder` ASC [ RunTime:0.003300s ]
select * from pdf where partno='2947268' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.009140s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2947268' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.012527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52490818 LIMIT 5 [ RunTime:0.018903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52490818 ORDER BY `minOrder` ASC [ RunTime:0.017870s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52490818 ORDER BY `unit` DESC [ RunTime:0.021568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52490818 LIMIT 2 [ RunTime:0.006839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52490818 ORDER BY `minOrder` ASC [ RunTime:0.002912s ]
select * from pdf where partno='294722-E' and brandshort='TE Connectivity Erni' limit 1 [ RunTime:0.006457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '294722-E' OR `brand` LIKE 'TE Connectivity Erni%' ) ) LIMIT 1 [ RunTime:0.003491s ]
SELECT `id` FROM `stock` WHERE `id` <> 52490818 AND `partno` = '294722-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity erni%' ) [ RunTime:0.000804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15440230 [ RunTime:0.000580s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32663850 LIMIT 5 [ RunTime:0.010599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32663850 ORDER BY `minOrder` ASC [ RunTime:0.009546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32663850 ORDER BY `unit` DESC [ RunTime:0.001391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32663850 LIMIT 2 [ RunTime:0.010003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32663850 ORDER BY `minOrder` ASC [ RunTime:0.001004s ]
select * from pdf where partno='29472' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.017685s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '29472' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.021366s ]
SELECT `id` FROM `stock` WHERE `id` <> 32663850 AND `partno` = '29472' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.011635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13294612 [ RunTime:0.009431s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002537s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000924s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006657s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005016s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003958s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011066s ]
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 '29472%' OR `brand` LIKE '29472%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017762s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '29472%' OR `brand` LIKE '29472%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017778s ]