SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002756s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.246' , `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.002154s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002049s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003076s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002290s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.246' ) [ RunTime:0.000615s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002476s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000550s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.000729s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002627s ]
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.003354s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3571 LIMIT 5 [ RunTime:0.000521s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3571 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3571 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSR16..' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008393s ]
SELECT `id` FROM `stock` WHERE `id` <> 3571 AND `partno` = 'BSR16..' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3878 LIMIT 5 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3878 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3878 LIMIT 2 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
select * from pdf where partno='PMEG4010CEJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001018s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG4010CEJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6554 LIMIT 5 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6554 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6554 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008298s ]
SELECT `id` FROM `stock` WHERE `id` <> 6554 AND `partno` = 'FDV303N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44043958 [ RunTime:0.000387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1946 LIMIT 5 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1946 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1946 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006527s ]
SELECT `id` FROM `stock` WHERE `id` <> 1946 AND `partno` = 'BSS84LT1G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44043956 [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13869 LIMIT 5 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13869 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13869 LIMIT 2 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='IRF540NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000653s ]
select foldpath,foldpath2,filename from pdf_file where id=99672 limit 1 [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF540NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9185 LIMIT 5 [ RunTime:0.000688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9185 ORDER BY `unit` DESC [ RunTime:0.001032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9185 LIMIT 2 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGU8009,115' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3225 LIMIT 5 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.000564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3225 ORDER BY `unit` DESC [ RunTime:0.000498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3225 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
select * from pdf where partno='BC846BLT1G.' and brandshort='ONSEMI' limit 1 [ RunTime:0.000514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC846BLT1G.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014323s ]
SELECT `id` FROM `stock` WHERE `id` <> 3225 AND `partno` = 'BC846BLT1G.' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 253 LIMIT 5 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 253 ORDER BY `unit` DESC [ RunTime:0.000469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 253 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.000537s ]
select * from pdf where partno='BTA26-600BRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000516s ]
select foldpath,foldpath2,filename from pdf_file where id=668671 limit 1 [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA26-600BRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13870 LIMIT 5 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13870 ORDER BY `unit` DESC [ RunTime:0.000474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13870 LIMIT 2 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.000537s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000716s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.000394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5223 LIMIT 5 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.000634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5223 ORDER BY `unit` DESC [ RunTime:0.000535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5223 LIMIT 2 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000669s ]
SELECT `id` FROM `stock` WHERE `id` <> 5223 AND `partno` = 'MC202472M090B20C7B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.000744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 [ RunTime:0.000548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16818 [ RunTime:0.000488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13876 LIMIT 5 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.000539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13876 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13876 LIMIT 2 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.000537s ]
select * from pdf where partno='IRFU9120PBF' and brandshort='VISHAY' limit 1 [ RunTime:0.000926s ]
select foldpath,foldpath2,filename from pdf_file where id=874151 limit 1 [ RunTime:0.000457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRFU9120PBF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.013778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3568 LIMIT 5 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.000559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3568 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3568 LIMIT 2 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.000543s ]
select * from pdf where partno='GF1J' and brandshort='ONSEMI' limit 1 [ RunTime:0.000925s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GF1J' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014404s ]
SELECT `id` FROM `stock` WHERE `id` <> 3568 AND `partno` = 'GF1J' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079529 [ RunTime:0.000541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3678 LIMIT 5 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.000600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3678 ORDER BY `unit` DESC [ RunTime:0.000528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3678 LIMIT 2 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
select * from pdf where partno='2N7002-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000920s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 576 LIMIT 5 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.000564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 576 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 576 LIMIT 2 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '19050351' OR `brand` LIKE 'CML INNOVATIVE TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000647s ]
SELECT `id` FROM `stock` WHERE `id` <> 576 AND `partno` = '19050351' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cml innovative technologies%' ) [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3880 LIMIT 5 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3880 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3880 LIMIT 2 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
select * from pdf where partno='BZX585-B5V1,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000861s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BZX585-B5V1,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006762s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3877 LIMIT 5 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3877 ORDER BY `unit` DESC [ RunTime:0.000531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3877 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.000554s ]
select * from pdf where partno='PMEG3020EJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG3020EJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7003 LIMIT 5 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.000559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7003 ORDER BY `unit` DESC [ RunTime:0.000523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7003 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.000577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F950J107MAAAQ2' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.005688s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553 LIMIT 5 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553 ORDER BY `unit` DESC [ RunTime:0.000457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMBJ15CA-E3/52' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.013254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2235 LIMIT 5 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2235 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2235 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='1N457' and brandshort='ONSEMI' limit 1 [ RunTime:0.000783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N457' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006412s ]
SELECT `id` FROM `stock` WHERE `id` <> 2235 AND `partno` = '1N457' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080368 [ RunTime:0.000213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3881 LIMIT 5 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3881 ORDER BY `unit` DESC [ RunTime:0.000205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3881 LIMIT 2 [ RunTime:0.000203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PDZ3.3B,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.002931s ]
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.000931s ]
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.001274s ]