SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001750s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000538s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001930s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.7' ) [ RunTime:0.000664s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001823s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000284s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `id` = 40 LIMIT 1 [ RunTime:0.000321s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000225s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001846s ]
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-24 09:53:37' ) ) AND `categoryid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.030453s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.000506s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.000414s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12357 LIMIT 4 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12357 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12357 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12357 LIMIT 2 [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS711KEXLT-15AB-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10497 LIMIT 4 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10497 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10497 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10497 LIMIT 2 [ RunTime:0.000561s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS720KLATR-65AB-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.000545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.000537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4122 LIMIT 4 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4122 ORDER BY `minOrder` ASC [ RunTime:0.000582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4122 ORDER BY `unit` DESC [ RunTime:0.000627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4122 LIMIT 2 [ RunTime:0.000567s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS758LCB-050B-PFF-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12367 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000596s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12367 ORDER BY `unit` DESC [ RunTime:0.000633s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12367 LIMIT 2 [ RunTime:0.000546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31826MUA+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000768s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 09:53:37' ) ) AND `categoryid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.041917s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 09:53:37' ) ) AND `categoryid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) ) [ RunTime:0.011728s ]