SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001280s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000488s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001168s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001424s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 46 LIMIT 1 [ RunTime:0.000266s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 46 [ RunTime:0.000218s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001076s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-26 10:06:19' ) ) AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.033213s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4592 LIMIT 4 [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4592 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4592 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4592 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4592 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001703s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP6541T-I/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3817 LIMIT 4 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3817 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3817 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3817 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3817 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
select * from pdf where partno='TL082IDT' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000958s ]
select foldpath,foldpath2,filename from pdf_file where id=589118 limit 1 [ RunTime:0.000444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082IDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1472 LIMIT 4 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1472 ORDER BY `minOrder` ASC [ RunTime:0.000712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1472 ORDER BY `unit` DESC [ RunTime:0.000698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1472 LIMIT 2 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1472 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP6002-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.018999s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10885 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10885 ORDER BY `minOrder` ASC [ RunTime:0.000545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10885 ORDER BY `unit` DESC [ RunTime:0.000651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10885 LIMIT 2 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10885 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL084IYDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11431 LIMIT 4 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11431 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11431 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11431 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11431 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSZ124IYPT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11649 LIMIT 4 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11649 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11649 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX98400AETX+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9110 LIMIT 4 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9110 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9110 ORDER BY `unit` DESC [ RunTime:0.000492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9110 LIMIT 2 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9110 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM248DT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000688s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11428 LIMIT 4 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11428 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11428 ORDER BY `unit` DESC [ RunTime:0.000503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11428 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11428 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LMC6482IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13140 LIMIT 4 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13140 ORDER BY `minOrder` ASC [ RunTime:0.000540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13140 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13140 LIMIT 2 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13140 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AD8691AUJZ-REEL7' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3815 LIMIT 4 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3815 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3815 ORDER BY `unit` DESC [ RunTime:0.000508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3815 LIMIT 2 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3815 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM258ADT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000617s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-26 10:06:19' ) ) AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.038030s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-26 10:06:19' ) ) AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) [ RunTime:0.024811s ]