SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001099s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.11' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/category_313/1.html' [ RunTime:0.009489s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002733s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004058s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003203s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.11' ) [ RunTime:0.019580s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002911s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003805s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 313 [ RunTime:0.012027s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 313 LIMIT 1 [ RunTime:0.037373s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001273s ]
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` = '313' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042128s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3571 LIMIT 5 [ RunTime:0.033332s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.030053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.045389s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3571 ORDER BY `unit` DESC [ RunTime:0.094500s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3571 LIMIT 2 [ RunTime:0.054261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.007760s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSR16..' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.114977s ]
SELECT `id` FROM `stock` WHERE `id` <> 3571 AND `partno` = 'BSR16..' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.042445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3878 LIMIT 5 [ RunTime:0.069932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.158684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3878 ORDER BY `unit` DESC [ RunTime:0.051529s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3878 LIMIT 2 [ RunTime:0.018722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.094841s ]
select * from pdf where partno='PMEG4010CEJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.074123s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG4010CEJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.025492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6554 LIMIT 5 [ RunTime:0.010146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.077998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6554 ORDER BY `unit` DESC [ RunTime:0.042113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6554 LIMIT 2 [ RunTime:0.010940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.013529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.029396s ]
SELECT `id` FROM `stock` WHERE `id` <> 6554 AND `partno` = 'FDV303N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.017870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 [ RunTime:0.003471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44043958 [ RunTime:0.030294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1946 LIMIT 5 [ RunTime:0.048758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.027748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1946 ORDER BY `unit` DESC [ RunTime:0.013405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1946 LIMIT 2 [ RunTime:0.019562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.018223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.041330s ]
SELECT `id` FROM `stock` WHERE `id` <> 1946 AND `partno` = 'BSS84LT1G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.024150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44043956 [ RunTime:0.006330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13869 LIMIT 5 [ RunTime:0.014496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.026136s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13869 ORDER BY `unit` DESC [ RunTime:0.035205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13869 LIMIT 2 [ RunTime:0.008694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.008161s ]
select * from pdf where partno='IRF540NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.008258s ]
select foldpath,foldpath2,filename from pdf_file where id=99672 limit 1 [ RunTime:0.015733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF540NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.032533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9185 LIMIT 5 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.010402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9185 ORDER BY `unit` DESC [ RunTime:0.021669s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9185 LIMIT 2 [ RunTime:0.013796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.003094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGU8009,115' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.009846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3225 LIMIT 5 [ RunTime:0.007001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.000839s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3225 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3225 LIMIT 2 [ RunTime:0.014544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.010381s ]
select * from pdf where partno='BC846BLT1G.' and brandshort='ONSEMI' limit 1 [ RunTime:0.020238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC846BLT1G.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.024080s ]
SELECT `id` FROM `stock` WHERE `id` <> 3225 AND `partno` = 'BC846BLT1G.' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.023456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 253 LIMIT 5 [ RunTime:0.008217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.020071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 253 ORDER BY `unit` DESC [ RunTime:0.028514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 253 LIMIT 2 [ RunTime:0.018691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.055753s ]
select * from pdf where partno='BTA26-600BRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.131745s ]
select foldpath,foldpath2,filename from pdf_file where id=668671 limit 1 [ RunTime:0.068703s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA26-600BRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.030173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13870 LIMIT 5 [ RunTime:0.066741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.025019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13870 ORDER BY `unit` DESC [ RunTime:0.050333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13870 LIMIT 2 [ RunTime:0.024915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.023463s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.020398s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.011688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.035143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5223 LIMIT 5 [ RunTime:0.013828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.012934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5223 ORDER BY `unit` DESC [ RunTime:0.012318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5223 LIMIT 2 [ RunTime:0.003360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.008981s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.015139s ]
SELECT `id` FROM `stock` WHERE `id` <> 5223 AND `partno` = 'MC202472M090B20C7B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.004560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 [ RunTime:0.004823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16818 [ RunTime:0.009646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13876 LIMIT 5 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.001198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13876 ORDER BY `unit` DESC [ RunTime:0.008475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13876 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.000754s ]
select * from pdf where partno='IRFU9120PBF' and brandshort='VISHAY' limit 1 [ RunTime:0.001869s ]
select foldpath,foldpath2,filename from pdf_file where id=874151 limit 1 [ RunTime:0.000471s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRFU9120PBF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3568 LIMIT 5 [ RunTime:0.001065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.000815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3568 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3568 LIMIT 2 [ RunTime:0.003774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.007482s ]
select * from pdf where partno='GF1J' and brandshort='ONSEMI' limit 1 [ RunTime:0.007233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GF1J' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014829s ]
SELECT `id` FROM `stock` WHERE `id` <> 3568 AND `partno` = 'GF1J' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.002431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079529 [ RunTime:0.000580s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3678 LIMIT 5 [ RunTime:0.000684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3678 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3678 LIMIT 2 [ RunTime:0.002479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.003929s ]
select * from pdf where partno='2N7002-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 576 LIMIT 5 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.001670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 576 ORDER BY `unit` DESC [ RunTime:0.001455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 576 LIMIT 2 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '19050351' OR `brand` LIKE 'CML INNOVATIVE TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.001315s ]
SELECT `id` FROM `stock` WHERE `id` <> 576 AND `partno` = '19050351' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cml innovative technologies%' ) [ RunTime:0.001325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3880 LIMIT 5 [ RunTime:0.002306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.007854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3880 ORDER BY `unit` DESC [ RunTime:0.001122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3880 LIMIT 2 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='BZX585-B5V1,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BZX585-B5V1,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3877 LIMIT 5 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3877 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3877 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.006225s ]
select * from pdf where partno='PMEG3020EJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG3020EJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7003 LIMIT 5 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7003 ORDER BY `unit` DESC [ RunTime:0.001750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7003 LIMIT 2 [ RunTime:0.000995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F950J107MAAAQ2' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.004078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553 LIMIT 5 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553 LIMIT 2 [ RunTime:0.001305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMBJ15CA-E3/52' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.008274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2235 LIMIT 5 [ RunTime:0.007414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.008514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2235 ORDER BY `unit` DESC [ RunTime:0.000795s ]
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.000245s ]
select * from pdf where partno='1N457' and brandshort='ONSEMI' limit 1 [ RunTime:0.004632s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N457' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010087s ]
SELECT `id` FROM `stock` WHERE `id` <> 2235 AND `partno` = '1N457' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.002074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080368 [ RunTime:0.001328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3881 LIMIT 5 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3881 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3881 LIMIT 2 [ RunTime:0.001011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PDZ3.3B,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003333s ]
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` = '313' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000921s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '313' ) LIMIT 115 ) tmp GROUP BY `brand` [ RunTime:0.007015s ]