SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002341s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000605s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002686s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002196s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000340s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 636 LIMIT 1 [ RunTime:0.000796s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 636 [ RunTime:0.000469s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002151s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 636 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001514s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('4715','4719','5431','4718','3696','4716','3695','5861','3996','6854','4717','13831','6852','6296','6999','1220','3288','5047','10546','12962') ORDER BY FIELD(s.id, 4715,4719,5431,4718,3696,4716,3695,5861,3996,6854,4717,13831,6852,6296,6999,1220,3288,5047,10546,12962) [ RunTime:0.010592s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.003364s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.004159s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.001572s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.003439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.005887s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.002732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.006652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.003994s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.006767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.012690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.004015s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.012501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.004026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.003585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.006247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.003225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.003837s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3695 LIMIT 4 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.003264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3695 ORDER BY `unit` DESC [ RunTime:0.002490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3695 LIMIT 2 [ RunTime:0.005557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.001266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5861 LIMIT 4 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.007987s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5861 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5861 LIMIT 2 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.009378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '321045' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3996 LIMIT 4 [ RunTime:0.000608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.004744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3996 ORDER BY `unit` DESC [ RunTime:0.000623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3996 LIMIT 2 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5-160430-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6854 LIMIT 4 [ RunTime:0.009031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.001782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6854 ORDER BY `unit` DESC [ RunTime:0.001591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6854 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34318' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4717 LIMIT 4 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.003461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4717 ORDER BY `unit` DESC [ RunTime:0.001218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4717 LIMIT 2 [ RunTime:0.001254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520128-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831 LIMIT 4 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.001936s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13831 ORDER BY `unit` DESC [ RunTime:0.002459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13831 LIMIT 2 [ RunTime:0.001719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.001772s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '222-413' OR `brand` LIKE 'WAGO%' ) ) LIMIT 1 [ RunTime:0.003863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6852 LIMIT 4 [ RunTime:0.001225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6852 ORDER BY `unit` DESC [ RunTime:0.002227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6852 LIMIT 2 [ RunTime:0.005381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '42281-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6296 LIMIT 4 [ RunTime:0.002325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.002688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6296 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6296 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='61499-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61499-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6999 LIMIT 4 [ RunTime:0.006506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.018913s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6999 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6999 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.002036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520193-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1220 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1220 ORDER BY `unit` DESC [ RunTime:0.000920s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1220 LIMIT 2 [ RunTime:0.002537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.002345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA80F/F' OR `brand` LIKE 'HYLEC%' ) ) LIMIT 1 [ RunTime:0.003018s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3288 LIMIT 4 [ RunTime:0.001632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.001759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3288 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3288 LIMIT 2 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'J601' OR `brand` LIKE 'MARATHON SPECIAL PRODUCTS%' ) ) LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5047 LIMIT 4 [ RunTime:0.001220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5047 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5047 LIMIT 2 [ RunTime:0.001939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.002654s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000048' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10546 LIMIT 4 [ RunTime:0.003108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10546 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10546 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='1725656' and brandshort='PHOENIX CONTACT' limit 1 [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1725656' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12962 LIMIT 4 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12962 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12962 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB0305/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.002253s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 636 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.009590s ]