SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002095s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000536s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002023s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001727s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000281s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 49 LIMIT 1 [ RunTime:0.000565s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) [ RunTime:0.000435s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001983s ]
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-06 17:24:58' ) ) AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 70,10 [ RunTime:2.317788s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13194 LIMIT 4 [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13194 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000927s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13194 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13194 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13194 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT1963AES8#TRPBF' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPV1040T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10958 LIMIT 4 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10958 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10958 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='FX0357' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.004100s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0357' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8808 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8808 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8808 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8808 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8808 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='TLE42744GSV33HTMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000776s ]
select foldpath,foldpath2,filename from pdf_file where id=1472930 limit 1 [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE42744GSV33HTMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2250 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2250 ORDER BY `minOrder` ASC [ RunTime:0.000500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2250 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2250 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2250 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LD1086DT33TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1006 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1006 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1006 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='BX0023' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0023' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 716 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 716 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 716 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='3101.0010' and brandshort='SCHURTER' limit 1 [ RunTime:0.001060s ]
select foldpath,foldpath2,filename from pdf_file where id=751592 limit 1 [ RunTime:0.000676s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0010' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10962 LIMIT 4 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10962 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10962 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='FX0321' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000866s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0321' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3093 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3093 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3093 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.001449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13188 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13188 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13188 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13188 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13188 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADM7171ACPZ-1.8-R7' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000458s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-06 17:24:58' ) ) AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.742753s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-06 17:24:58' ) ) AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) [ RunTime:1.726800s ]