SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002454s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000548s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002430s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001856s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 46 LIMIT 1 [ RunTime:0.000344s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 46 [ RunTime:0.000232s ]
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.000305s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002028s ]
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-10-09 04:34:30' ) ) 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:2.181993s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4592 LIMIT 4 [ RunTime:0.000879s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4592 ORDER BY `minOrder` ASC [ RunTime:0.000637s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4592 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000902s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4592 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4592 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000961s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP6541T-I/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008987s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3817 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3817 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3817 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3817 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3817 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='TL082IDT' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001207s ]
select foldpath,foldpath2,filename from pdf_file where id=589118 limit 1 [ RunTime:0.000498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082IDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1472 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1472 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1472 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1472 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1472 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP6002-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010134s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10885 LIMIT 4 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10885 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10885 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10885 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10885 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL084IYDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11431 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11431 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11431 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11431 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11431 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSZ124IYPT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11649 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11649 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11649 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX98400AETX+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9110 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9110 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9110 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9110 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9110 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM248DT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11428 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11428 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11428 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11428 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11428 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LMC6482IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13140 LIMIT 4 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13140 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13140 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13140 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13140 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AD8691AUJZ-REEL7' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3815 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3815 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3815 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3815 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3815 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM258ADT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000517s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-09 04:34:30' ) ) 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:3.099128s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-09 04:34:30' ) ) AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) [ RunTime:1.741763s ]