SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.007214s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.116' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock?typeid=31' [ RunTime:0.007237s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001117s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007359s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001277s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.116' ) [ RunTime:0.003716s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001956s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001244s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.008319s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001503s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('306','307','308','309','310','311','312','313','314','315','316','317') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043755s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.021009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3571 LIMIT 5 [ RunTime:0.004195s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.008266s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3571 ORDER BY `unit` DESC [ RunTime:0.018632s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3571 LIMIT 2 [ RunTime:0.017840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.015005s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001612s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSR16..' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.025726s ]
SELECT `id` FROM `stock` WHERE `id` <> 3571 AND `partno` = 'BSR16..' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3878 LIMIT 5 [ RunTime:0.037221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.047077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3878 ORDER BY `unit` DESC [ RunTime:0.007481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3878 LIMIT 2 [ RunTime:0.031837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.017482s ]
select * from pdf where partno='PMEG4010CEJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.010717s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG4010CEJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6554 LIMIT 5 [ RunTime:0.024706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.020215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6554 ORDER BY `unit` DESC [ RunTime:0.020864s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6554 LIMIT 2 [ RunTime:0.042873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.045965s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.047483s ]
SELECT `id` FROM `stock` WHERE `id` <> 6554 AND `partno` = 'FDV303N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.024723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 [ RunTime:0.029316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44043958 [ RunTime:0.016140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1946 LIMIT 5 [ RunTime:0.033240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.065404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1946 ORDER BY `unit` DESC [ RunTime:0.035356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1946 LIMIT 2 [ RunTime:0.023436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.058541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.064797s ]
SELECT `id` FROM `stock` WHERE `id` <> 1946 AND `partno` = 'BSS84LT1G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.035695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44043956 [ RunTime:0.024234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13869 LIMIT 5 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.029393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13869 ORDER BY `unit` DESC [ RunTime:0.066829s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13869 LIMIT 2 [ RunTime:0.041645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.052222s ]
select * from pdf where partno='IRF540NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.070396s ]
select foldpath,foldpath2,filename from pdf_file where id=99672 limit 1 [ RunTime:0.042726s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF540NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.022523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9185 LIMIT 5 [ RunTime:0.036750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.063541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9185 ORDER BY `unit` DESC [ RunTime:0.020297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9185 LIMIT 2 [ RunTime:0.020240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.050018s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGU8009,115' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.025241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3225 LIMIT 5 [ RunTime:0.039466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.021495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3225 ORDER BY `unit` DESC [ RunTime:0.058029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3225 LIMIT 2 [ RunTime:0.051194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.048649s ]
select * from pdf where partno='BC846BLT1G.' and brandshort='ONSEMI' limit 1 [ RunTime:0.042885s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC846BLT1G.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.031224s ]
SELECT `id` FROM `stock` WHERE `id` <> 3225 AND `partno` = 'BC846BLT1G.' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.022131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 253 LIMIT 5 [ RunTime:0.029100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.108934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 253 ORDER BY `unit` DESC [ RunTime:0.062580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 253 LIMIT 2 [ RunTime:0.104297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.026959s ]
select * from pdf where partno='BTA26-600BRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.051440s ]
select foldpath,foldpath2,filename from pdf_file where id=668671 limit 1 [ RunTime:0.027210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA26-600BRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13870 LIMIT 5 [ RunTime:0.015575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.045694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13870 ORDER BY `unit` DESC [ RunTime:0.056686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13870 LIMIT 2 [ RunTime:0.014565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.019966s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.026274s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.040623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5223 LIMIT 5 [ RunTime:0.064632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.033196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5223 ORDER BY `unit` DESC [ RunTime:0.071567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5223 LIMIT 2 [ RunTime:0.010808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.015195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.063434s ]
SELECT `id` FROM `stock` WHERE `id` <> 5223 AND `partno` = 'MC202472M090B20C7B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.025427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 [ RunTime:0.029552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16818 [ RunTime:0.112805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13876 LIMIT 5 [ RunTime:0.027514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13876 ORDER BY `unit` DESC [ RunTime:0.027833s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13876 LIMIT 2 [ RunTime:0.009214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.014860s ]
select * from pdf where partno='IRFU9120PBF' and brandshort='VISHAY' limit 1 [ RunTime:0.034244s ]
select foldpath,foldpath2,filename from pdf_file where id=874151 limit 1 [ RunTime:0.018269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRFU9120PBF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3568 LIMIT 5 [ RunTime:0.047211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.029851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3568 ORDER BY `unit` DESC [ RunTime:0.009711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3568 LIMIT 2 [ RunTime:0.018727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.005410s ]
select * from pdf where partno='GF1J' and brandshort='ONSEMI' limit 1 [ RunTime:0.013831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GF1J' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.021450s ]
SELECT `id` FROM `stock` WHERE `id` <> 3568 AND `partno` = 'GF1J' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.005622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079529 [ RunTime:0.004784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3678 LIMIT 5 [ RunTime:0.018112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.006199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3678 ORDER BY `unit` DESC [ RunTime:0.024574s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3678 LIMIT 2 [ RunTime:0.014875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
select * from pdf where partno='2N7002-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 576 LIMIT 5 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.003725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 576 ORDER BY `unit` DESC [ RunTime:0.007826s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 576 LIMIT 2 [ RunTime:0.018379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.021908s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '19050351' OR `brand` LIKE 'CML INNOVATIVE TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.008199s ]
SELECT `id` FROM `stock` WHERE `id` <> 576 AND `partno` = '19050351' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cml innovative technologies%' ) [ RunTime:0.010132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3880 LIMIT 5 [ RunTime:0.012917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.000989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3880 ORDER BY `unit` DESC [ RunTime:0.029163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3880 LIMIT 2 [ RunTime:0.006410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.001358s ]
select * from pdf where partno='BZX585-B5V1,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.009868s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BZX585-B5V1,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.010193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3877 LIMIT 5 [ RunTime:0.012273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.005300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3877 ORDER BY `unit` DESC [ RunTime:0.004830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3877 LIMIT 2 [ RunTime:0.004381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.008095s ]
select * from pdf where partno='PMEG3020EJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.021713s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG3020EJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7003 LIMIT 5 [ RunTime:0.014082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.007682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7003 ORDER BY `unit` DESC [ RunTime:0.005374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7003 LIMIT 2 [ RunTime:0.004320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.017466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F950J107MAAAQ2' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.000535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553 LIMIT 5 [ RunTime:0.005839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000991s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553 ORDER BY `unit` DESC [ RunTime:0.024721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553 LIMIT 2 [ RunTime:0.012394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.009427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMBJ15CA-E3/52' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.011465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2235 LIMIT 5 [ RunTime:0.000806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.008559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2235 ORDER BY `unit` DESC [ RunTime:0.004802s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2235 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.011515s ]
select * from pdf where partno='1N457' and brandshort='ONSEMI' limit 1 [ RunTime:0.006790s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N457' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.022459s ]
SELECT `id` FROM `stock` WHERE `id` <> 2235 AND `partno` = '1N457' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.009534s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080368 [ RunTime:0.005801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3881 LIMIT 5 [ RunTime:0.005879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.001733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3881 ORDER BY `unit` DESC [ RunTime:0.004152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3881 LIMIT 2 [ RunTime:0.009156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.003525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PDZ3.3B,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.025918s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('306','307','308','309','310','311','312','313','314','315','316','317') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.076377s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('306','307','308','309','310','311','312','313','314','315','316','317') ) LIMIT 129 ) tmp GROUP BY `brand` [ RunTime:0.053060s ]