SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001906s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002156s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001637s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001123s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 48 LIMIT 1 [ RunTime:0.000723s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000218s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001450s ]
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-30 17:13:22' ) ) AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.142743s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.000437s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000939s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4505 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001742s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.000187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.000185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.000190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.000184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.000194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1087 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1087 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1087 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
select * from pdf where partno='STFE4 12.7 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 12.7 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000372s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 17:13:22' ) ) AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:1.689014s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 17:13:22' ) ) AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) [ RunTime:1.079062s ]