SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002975s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000718s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002223s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.002626s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001268s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 26 LIMIT 1 [ RunTime:0.009245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.002026s ]
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.000609s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001412s ]
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.002005s ]
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.022450s ]
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.012260s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.012806s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000862s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.006450s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.017205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.005776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.003995s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.016347s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.006894s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.023508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15928 LIMIT 4 [ RunTime:0.002768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15928 ORDER BY `minOrder` ASC [ RunTime:0.007909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15928 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15928 LIMIT 2 [ RunTime:0.006239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15928 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='AQY212SX.' and brandshort='PANASONIC' limit 1 [ RunTime:0.003883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY212SX.' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.018740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15916 LIMIT 4 [ RunTime:0.002656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15916 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15916 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15916 LIMIT 2 [ RunTime:0.003751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15916 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
select * from pdf where partno='G5RL-1A-E-HR DC12' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.001459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G5RL-1A-E-HR DC12' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.002486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15831 LIMIT 4 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15831 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15831 ORDER BY `unit` DESC [ RunTime:0.001238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15831 LIMIT 2 [ RunTime:0.003408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15831 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
select * from pdf where partno='95.85.3SMA' and brandshort='FINDER' limit 1 [ RunTime:0.004873s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '95.85.3SMA' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.004294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15486 LIMIT 4 [ RunTime:0.001735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15486 ORDER BY `minOrder` ASC [ RunTime:0.003276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15486 ORDER BY `unit` DESC [ RunTime:0.005454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15486 LIMIT 2 [ RunTime:0.001477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15486 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='AQY211G2S' and brandshort='PANASONIC' limit 1 [ RunTime:0.003521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY211G2S' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.013491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15388 LIMIT 4 [ RunTime:0.006995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15388 ORDER BY `minOrder` ASC [ RunTime:0.002784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15388 ORDER BY `unit` DESC [ RunTime:0.002122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15388 LIMIT 2 [ RunTime:0.001434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15388 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='2342-12-000' and brandshort='COTO TECHNOLOGY' limit 1 [ RunTime:0.001513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2342-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15331 LIMIT 4 [ RunTime:0.003367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15331 ORDER BY `minOrder` ASC [ RunTime:0.007079s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15331 ORDER BY `unit` DESC [ RunTime:0.003467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15331 LIMIT 2 [ RunTime:0.003639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15331 ORDER BY `minOrder` ASC [ RunTime:0.008670s ]
select * from pdf where partno='34.51.7.012.0010' and brandshort='FINDER' limit 1 [ RunTime:0.011832s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34.51.7.012.0010' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.016582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15182 LIMIT 4 [ RunTime:0.003068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15182 ORDER BY `minOrder` ASC [ RunTime:0.001129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15182 ORDER BY `unit` DESC [ RunTime:0.000636s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15182 LIMIT 2 [ RunTime:0.001186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15182 ORDER BY `minOrder` ASC [ RunTime:0.002737s ]
select * from pdf where partno='779006-01' and brandshort='NI' limit 1 [ RunTime:0.001919s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '779006-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.005661s ]
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.002312s ]