SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002730s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.70' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock/index?page=5&srecordnum=99&status=3' [ RunTime:0.002149s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002241s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000706s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002689s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.70' ) [ RunTime:0.002868s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003090s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000399s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002645s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 80,20 [ RunTime:0.003723s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17225 LIMIT 5 [ RunTime:0.009513s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17225 ORDER BY `minOrder` ASC [ RunTime:0.003926s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17225 ORDER BY `unit` DESC [ RunTime:0.022687s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17225 LIMIT 2 [ RunTime:0.022735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17225 ORDER BY `minOrder` ASC [ RunTime:0.010515s ]
select * from pdf where partno='AT91RM9200-QU-002' and brandshort='MICROCHIP' limit 1 [ RunTime:0.007129s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001648s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT91RM9200-QU-002' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.038771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17176 LIMIT 5 [ RunTime:0.024636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17176 ORDER BY `minOrder` ASC [ RunTime:0.010403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17176 ORDER BY `unit` DESC [ RunTime:0.053843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17176 LIMIT 2 [ RunTime:0.018459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17176 ORDER BY `minOrder` ASC [ RunTime:0.032911s ]
select * from pdf where partno='TPS259823ONRGET' and brandshort='TI' limit 1 [ RunTime:0.033640s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS259823ONRGET' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.079852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17189 LIMIT 5 [ RunTime:0.039347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17189 ORDER BY `minOrder` ASC [ RunTime:0.071969s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17189 ORDER BY `unit` DESC [ RunTime:0.019171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17189 LIMIT 2 [ RunTime:0.044861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17189 ORDER BY `minOrder` ASC [ RunTime:0.010961s ]
select * from pdf where partno='CY8C4045LQI-S412' and brandshort='CYPRESS' limit 1 [ RunTime:0.035144s ]
select foldpath,foldpath2,filename from pdf_file where id=1308623 limit 1 [ RunTime:0.018496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C4045LQI-S412' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.048493s ]
SELECT `id` FROM `stock` WHERE `id` <> 17189 AND `partno` = 'CY8C4045LQI-S412' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cypress%' ) [ RunTime:0.069146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10756 LIMIT 5 [ RunTime:0.023762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10756 ORDER BY `minOrder` ASC [ RunTime:0.032302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10756 ORDER BY `unit` DESC [ RunTime:0.034947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10756 LIMIT 2 [ RunTime:0.017413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10756 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
select * from pdf where partno='SN74LVC1G125DBVR' and brandshort='TI' limit 1 [ RunTime:0.017123s ]
select foldpath,foldpath2,filename from pdf_file where id=534781 limit 1 [ RunTime:0.082457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74LVC1G125DBVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.090254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17245 LIMIT 5 [ RunTime:0.020010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17245 ORDER BY `minOrder` ASC [ RunTime:0.017484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17245 ORDER BY `unit` DESC [ RunTime:0.075531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17245 LIMIT 2 [ RunTime:0.030077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17245 ORDER BY `minOrder` ASC [ RunTime:0.000793s ]
select * from pdf where partno='TW8844AT-LB1-GE' and brandshort='RENESAS' limit 1 [ RunTime:0.010053s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TW8844AT-LB1-GE' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.034213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17170 LIMIT 5 [ RunTime:0.047830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17170 ORDER BY `minOrder` ASC [ RunTime:0.002352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17170 ORDER BY `unit` DESC [ RunTime:0.003598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17170 LIMIT 2 [ RunTime:0.034426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17170 ORDER BY `minOrder` ASC [ RunTime:0.019162s ]
select * from pdf where partno='PIC18F25K22-I/SS' and brandshort='Microchip' limit 1 [ RunTime:0.018073s ]
select foldpath,foldpath2,filename from pdf_file where id=882409 limit 1 [ RunTime:0.035172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC18F25K22-I/SS' OR `brand` LIKE 'Microchip%' ) ) LIMIT 1 [ RunTime:0.053914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17171 LIMIT 5 [ RunTime:0.020111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17171 ORDER BY `minOrder` ASC [ RunTime:0.000819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17171 ORDER BY `unit` DESC [ RunTime:0.005471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17171 LIMIT 2 [ RunTime:0.008011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17171 ORDER BY `minOrder` ASC [ RunTime:0.008048s ]
select * from pdf where partno='EPCS4SI8N' and brandshort='ALTERA' limit 1 [ RunTime:0.005171s ]
select foldpath,foldpath2,filename from pdf_file where id=633486 limit 1 [ RunTime:0.014514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPCS4SI8N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.012334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17212 LIMIT 5 [ RunTime:0.016476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17212 ORDER BY `minOrder` ASC [ RunTime:0.026534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17212 ORDER BY `unit` DESC [ RunTime:0.014994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17212 LIMIT 2 [ RunTime:0.023922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17212 ORDER BY `minOrder` ASC [ RunTime:0.019885s ]
select * from pdf where partno='STM8S207S8T6C' and brandshort='ST' limit 1 [ RunTime:0.026067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM8S207S8T6C' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.047943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17232 LIMIT 5 [ RunTime:0.026299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17232 ORDER BY `minOrder` ASC [ RunTime:0.078015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17232 ORDER BY `unit` DESC [ RunTime:0.003645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17232 LIMIT 2 [ RunTime:0.020920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17232 ORDER BY `minOrder` ASC [ RunTime:0.004973s ]
select * from pdf where partno='5CSEBA2U23C8N' and brandshort='ALTERA' limit 1 [ RunTime:0.021326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5CSEBA2U23C8N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.010205s ]
SELECT `id` FROM `stock` WHERE `id` <> 17232 AND `partno` = '5CSEBA2U23C8N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altera%' ) [ RunTime:0.014821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57194382 [ RunTime:0.000761s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17192 LIMIT 5 [ RunTime:0.014003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17192 ORDER BY `minOrder` ASC [ RunTime:0.000795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17192 ORDER BY `unit` DESC [ RunTime:0.014204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17192 LIMIT 2 [ RunTime:0.033338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17192 ORDER BY `minOrder` ASC [ RunTime:0.006599s ]
select * from pdf where partno='CY8C4025LQI-S412' and brandshort='CYPRESS' limit 1 [ RunTime:0.006433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C4025LQI-S412' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.021764s ]
SELECT `id` FROM `stock` WHERE `id` <> 17192 AND `partno` = 'CY8C4025LQI-S412' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cypress%' ) [ RunTime:0.044910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17114322 [ RunTime:0.018350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17190 LIMIT 5 [ RunTime:0.014449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17190 ORDER BY `minOrder` ASC [ RunTime:0.038611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17190 ORDER BY `unit` DESC [ RunTime:0.015025s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17190 LIMIT 2 [ RunTime:0.032795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17190 ORDER BY `minOrder` ASC [ RunTime:0.013058s ]
select * from pdf where partno='HT1381'limit 1 [ RunTime:0.027418s ]
select foldpath,foldpath2,filename from pdf_file where id=383705 limit 1 [ RunTime:0.018777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT1381' OR `brand` LIKE '合泰%' ) ) LIMIT 1 [ RunTime:0.057479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17186 LIMIT 5 [ RunTime:0.050802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17186 ORDER BY `minOrder` ASC [ RunTime:0.023373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17186 ORDER BY `unit` DESC [ RunTime:0.063555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17186 LIMIT 2 [ RunTime:0.006873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17186 ORDER BY `minOrder` ASC [ RunTime:0.001172s ]
select * from pdf where partno='TL431AQPK' and brandshort='TI' limit 1 [ RunTime:0.002582s ]
select foldpath,foldpath2,filename from pdf_file where id=579918 limit 1 [ RunTime:0.011798s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AQPK' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.011357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17255 LIMIT 5 [ RunTime:0.021569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17255 ORDER BY `minOrder` ASC [ RunTime:0.028821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17255 ORDER BY `unit` DESC [ RunTime:0.049968s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17255 LIMIT 2 [ RunTime:0.016680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17255 ORDER BY `minOrder` ASC [ RunTime:0.002011s ]
select * from pdf where partno='LPC2214FBD144/01' and brandshort='NXP' limit 1 [ RunTime:0.031600s ]
select foldpath,foldpath2,filename from pdf_file where id=876624 limit 1 [ RunTime:0.021419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC2214FBD144/01' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.014141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11163 LIMIT 5 [ RunTime:0.004752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11163 ORDER BY `minOrder` ASC [ RunTime:0.000836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11163 ORDER BY `unit` DESC [ RunTime:0.007096s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11163 LIMIT 2 [ RunTime:0.001681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11163 ORDER BY `minOrder` ASC [ RunTime:0.003394s ]
select * from pdf where partno='STM32G031K8T6' and brandshort='ST' limit 1 [ RunTime:0.023039s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32G031K8T6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.020679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17207 LIMIT 5 [ RunTime:0.001739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17207 ORDER BY `minOrder` ASC [ RunTime:0.005731s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17207 ORDER BY `unit` DESC [ RunTime:0.004827s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17207 LIMIT 2 [ RunTime:0.005881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17207 ORDER BY `minOrder` ASC [ RunTime:0.000482s ]
select * from pdf where partno='FMMT417TD' and brandshort='DIODES' limit 1 [ RunTime:0.012923s ]
select foldpath,foldpath2,filename from pdf_file where id=976769 limit 1 [ RunTime:0.048467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FMMT417TD' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.038577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8285 LIMIT 5 [ RunTime:0.006494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8285 ORDER BY `minOrder` ASC [ RunTime:0.041742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8285 ORDER BY `unit` DESC [ RunTime:0.013853s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8285 LIMIT 2 [ RunTime:0.025091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8285 ORDER BY `minOrder` ASC [ RunTime:0.006899s ]
select * from pdf where partno='DMP2022LSS-13' and brandshort='DIODES' limit 1 [ RunTime:0.016269s ]
select foldpath,foldpath2,filename from pdf_file where id=1067284 limit 1 [ RunTime:0.014917s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMP2022LSS-13' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.033065s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17196 LIMIT 5 [ RunTime:0.009803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17196 ORDER BY `minOrder` ASC [ RunTime:0.016675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17196 ORDER BY `unit` DESC [ RunTime:0.010462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17196 LIMIT 2 [ RunTime:0.024726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17196 ORDER BY `minOrder` ASC [ RunTime:0.017700s ]
select * from pdf where partno='TPS3710QDSERQ1' and brandshort='TI' limit 1 [ RunTime:0.027729s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS3710QDSERQ1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.072048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17206 LIMIT 5 [ RunTime:0.028243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17206 ORDER BY `minOrder` ASC [ RunTime:0.025540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17206 ORDER BY `unit` DESC [ RunTime:0.033567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17206 LIMIT 2 [ RunTime:0.042750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17206 ORDER BY `minOrder` ASC [ RunTime:0.010033s ]
select * from pdf where partno='AZ1117CH-3.3TRG1' and brandshort='DIODES' limit 1 [ RunTime:0.010266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AZ1117CH-3.3TRG1' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.030309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17230 LIMIT 5 [ RunTime:0.039641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17230 ORDER BY `minOrder` ASC [ RunTime:0.031220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17230 ORDER BY `unit` DESC [ RunTime:0.033703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17230 LIMIT 2 [ RunTime:0.017570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17230 ORDER BY `minOrder` ASC [ RunTime:0.050494s ]
select * from pdf where partno='XC6VLX75T-1FFG784C' and brandshort='XILINX' limit 1 [ RunTime:0.024126s ]
select foldpath,foldpath2,filename from pdf_file where id=1504350 limit 1 [ RunTime:0.025832s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XC6VLX75T-1FFG784C' OR `brand` LIKE 'XILINX%' ) ) LIMIT 1 [ RunTime:0.019711s ]
SELECT `id` FROM `stock` WHERE `id` <> 17230 AND `partno` = 'XC6VLX75T-1FFG784C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%xilinx%' ) [ RunTime:0.042801s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 80,20 [ RunTime:0.017731s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) ) tmp GROUP BY `brand` [ RunTime:0.014603s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) AND `categoryid` > 0 [ RunTime:0.024198s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` IN (181,132,104) [ RunTime:0.047602s ]