SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001623s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000562s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001504s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.0' ) [ RunTime:0.003261s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001359s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.010310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 26 LIMIT 1 [ RunTime:0.006367s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.002684s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) [ RunTime:0.003631s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001213s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) AND `u`.`lockUser` = '0' [ RunTime:0.012598s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005010s ]
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 = 1) ) AND `s`.`id` IN ('15966','15928','15916','15831','15486','15388','15331','15182') ORDER BY FIELD(s.id, 15966,15928,15916,15831,15486,15388,15331,15182) [ RunTime:0.034782s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.004380s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.010616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.006114s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.014140s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.003610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.003844s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.003183s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.041617s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004581s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.040668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15928 LIMIT 4 [ RunTime:0.009678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15928 ORDER BY `minOrder` ASC [ RunTime:0.031416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15928 ORDER BY `unit` DESC [ RunTime:0.064415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15928 LIMIT 2 [ RunTime:0.047077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15928 ORDER BY `minOrder` ASC [ RunTime:0.026370s ]
select * from pdf where partno='AQY212SX.' and brandshort='PANASONIC' limit 1 [ RunTime:0.111440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY212SX.' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.105872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15916 LIMIT 4 [ RunTime:0.089038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15916 ORDER BY `minOrder` ASC [ RunTime:0.084767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15916 ORDER BY `unit` DESC [ RunTime:0.266525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15916 LIMIT 2 [ RunTime:0.092268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15916 ORDER BY `minOrder` ASC [ RunTime:0.032677s ]
select * from pdf where partno='G5RL-1A-E-HR DC12' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.129758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G5RL-1A-E-HR DC12' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.078745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15831 LIMIT 4 [ RunTime:0.207089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15831 ORDER BY `minOrder` ASC [ RunTime:0.087716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15831 ORDER BY `unit` DESC [ RunTime:0.050992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15831 LIMIT 2 [ RunTime:0.114697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15831 ORDER BY `minOrder` ASC [ RunTime:0.103718s ]
select * from pdf where partno='95.85.3SMA' and brandshort='FINDER' limit 1 [ RunTime:0.157304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '95.85.3SMA' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.051949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15486 LIMIT 4 [ RunTime:0.053996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15486 ORDER BY `minOrder` ASC [ RunTime:0.134470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15486 ORDER BY `unit` DESC [ RunTime:0.104758s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15486 LIMIT 2 [ RunTime:0.164245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15486 ORDER BY `minOrder` ASC [ RunTime:0.045855s ]
select * from pdf where partno='AQY211G2S' and brandshort='PANASONIC' limit 1 [ RunTime:0.079883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY211G2S' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.055498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15388 LIMIT 4 [ RunTime:0.049360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15388 ORDER BY `minOrder` ASC [ RunTime:0.116884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15388 ORDER BY `unit` DESC [ RunTime:0.096135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15388 LIMIT 2 [ RunTime:0.127966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15388 ORDER BY `minOrder` ASC [ RunTime:0.037510s ]
select * from pdf where partno='2342-12-000' and brandshort='COTO TECHNOLOGY' limit 1 [ RunTime:0.039554s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2342-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.083469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15331 LIMIT 4 [ RunTime:0.037328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15331 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15331 ORDER BY `unit` DESC [ RunTime:0.051447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15331 LIMIT 2 [ RunTime:0.058242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15331 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
select * from pdf where partno='34.51.7.012.0010' and brandshort='FINDER' limit 1 [ RunTime:0.029050s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34.51.7.012.0010' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15182 LIMIT 4 [ RunTime:0.050874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15182 ORDER BY `minOrder` ASC [ RunTime:0.066131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15182 ORDER BY `unit` DESC [ RunTime:0.172678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15182 LIMIT 2 [ RunTime:0.050643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15182 ORDER BY `minOrder` ASC [ RunTime:0.024138s ]
select * from pdf where partno='779006-01' and brandshort='NI' limit 1 [ RunTime:0.112525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '779006-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.246884s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.126630s ]