SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001530s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000691s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001723s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001735s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004217s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002970s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000383s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000616s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003024s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 3 AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001664s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` = 3 AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 80,20 [ RunTime:0.007221s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('17225','17176','17189','10756','17245','17170','17171','17212','17232','17192','17190','17186','17255','11163','17207','8285','17196','17206','17230') ORDER BY FIELD(s.id, 17225,17176,17189,10756,17245,17170,17171,17212,17232,17192,17190,17186,17255,11163,17207,8285,17196,17206,17230) [ RunTime:0.010707s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17225 LIMIT 4 [ RunTime:0.003559s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17225 ORDER BY `minOrder` ASC [ RunTime:0.000851s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002044s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17225 ORDER BY `unit` DESC [ RunTime:0.000775s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17225 LIMIT 2 [ RunTime:0.003265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17225 ORDER BY `minOrder` ASC [ RunTime:0.001893s ]
select * from pdf where partno='AT91RM9200-QU-002' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003551s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT91RM9200-QU-002' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.023847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17176 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17176 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17176 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17176 LIMIT 2 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17176 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
select * from pdf where partno='TPS259823ONRGET' and brandshort='TI' limit 1 [ RunTime:0.004747s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS259823ONRGET' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.039910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17189 LIMIT 4 [ RunTime:0.007820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17189 ORDER BY `minOrder` ASC [ RunTime:0.005630s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17189 ORDER BY `unit` DESC [ RunTime:0.001181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17189 LIMIT 2 [ RunTime:0.004968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17189 ORDER BY `minOrder` ASC [ RunTime:0.000602s ]
select * from pdf where partno='CY8C4045LQI-S412' and brandshort='CYPRESS' limit 1 [ RunTime:0.003208s ]
select foldpath,foldpath2,filename from pdf_file where id=1308623 limit 1 [ RunTime:0.003540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C4045LQI-S412' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.003861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10756 LIMIT 4 [ RunTime:0.000798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10756 ORDER BY `minOrder` ASC [ RunTime:0.003041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10756 ORDER BY `unit` DESC [ RunTime:0.006119s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10756 LIMIT 2 [ RunTime:0.006301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10756 ORDER BY `minOrder` ASC [ RunTime:0.013053s ]
select * from pdf where partno='SN74LVC1G125DBVR' and brandshort='TI' limit 1 [ RunTime:0.013096s ]
select foldpath,foldpath2,filename from pdf_file where id=534781 limit 1 [ RunTime:0.012591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74LVC1G125DBVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.038441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17245 LIMIT 4 [ RunTime:0.003546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17245 ORDER BY `minOrder` ASC [ RunTime:0.005949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17245 ORDER BY `unit` DESC [ RunTime:0.007165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17245 LIMIT 2 [ RunTime:0.016082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17245 ORDER BY `minOrder` ASC [ RunTime:0.000996s ]
select * from pdf where partno='TW8844AT-LB1-GE' and brandshort='RENESAS' limit 1 [ RunTime:0.007514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TW8844AT-LB1-GE' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.011022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17170 LIMIT 4 [ RunTime:0.001428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17170 ORDER BY `minOrder` ASC [ RunTime:0.002580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17170 ORDER BY `unit` DESC [ RunTime:0.003161s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17170 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17170 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='PIC18F25K22-I/SS' and brandshort='Microchip' limit 1 [ RunTime:0.001999s ]
select foldpath,foldpath2,filename from pdf_file where id=882409 limit 1 [ RunTime:0.007187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC18F25K22-I/SS' OR `brand` LIKE 'Microchip%' ) ) LIMIT 1 [ RunTime:0.021568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17171 LIMIT 4 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17171 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17171 ORDER BY `unit` DESC [ RunTime:0.001763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17171 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17171 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
select * from pdf where partno='EPCS4SI8N' and brandshort='ALTERA' limit 1 [ RunTime:0.002376s ]
select foldpath,foldpath2,filename from pdf_file where id=633486 limit 1 [ RunTime:0.000973s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPCS4SI8N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.001048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17212 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17212 ORDER BY `minOrder` ASC [ RunTime:0.002194s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17212 ORDER BY `unit` DESC [ RunTime:0.000449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17212 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17212 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='STM8S207S8T6C' and brandshort='ST' limit 1 [ RunTime:0.003820s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM8S207S8T6C' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.012958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17232 LIMIT 4 [ RunTime:0.003748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17232 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17232 ORDER BY `unit` DESC [ RunTime:0.001764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17232 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17232 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='5CSEBA2U23C8N' and brandshort='ALTERA' limit 1 [ RunTime:0.006670s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5CSEBA2U23C8N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.003675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17192 LIMIT 4 [ RunTime:0.007415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17192 ORDER BY `minOrder` ASC [ RunTime:0.013729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17192 ORDER BY `unit` DESC [ RunTime:0.017412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17192 LIMIT 2 [ RunTime:0.011754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17192 ORDER BY `minOrder` ASC [ RunTime:0.016642s ]
select * from pdf where partno='CY8C4025LQI-S412' and brandshort='CYPRESS' limit 1 [ RunTime:0.020183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C4025LQI-S412' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.007600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17190 LIMIT 4 [ RunTime:0.013692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17190 ORDER BY `minOrder` ASC [ RunTime:0.020624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17190 ORDER BY `unit` DESC [ RunTime:0.025647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17190 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17190 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
select * from pdf where partno='HT1381'limit 1 [ RunTime:0.003959s ]
select foldpath,foldpath2,filename from pdf_file where id=383705 limit 1 [ RunTime:0.006179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT1381' OR `brand` LIKE '合泰%' ) ) LIMIT 1 [ RunTime:0.004774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17186 LIMIT 4 [ RunTime:0.003437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17186 ORDER BY `minOrder` ASC [ RunTime:0.001228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17186 ORDER BY `unit` DESC [ RunTime:0.006776s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17186 LIMIT 2 [ RunTime:0.000938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17186 ORDER BY `minOrder` ASC [ RunTime:0.005755s ]
select * from pdf where partno='TL431AQPK' and brandshort='TI' limit 1 [ RunTime:0.003236s ]
select foldpath,foldpath2,filename from pdf_file where id=579918 limit 1 [ RunTime:0.004166s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AQPK' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.068022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17255 LIMIT 4 [ RunTime:0.000782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17255 ORDER BY `minOrder` ASC [ RunTime:0.000652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17255 ORDER BY `unit` DESC [ RunTime:0.004654s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17255 LIMIT 2 [ RunTime:0.002695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17255 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='LPC2214FBD144/01' and brandshort='NXP' limit 1 [ RunTime:0.002986s ]
select foldpath,foldpath2,filename from pdf_file where id=876624 limit 1 [ RunTime:0.005881s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC2214FBD144/01' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11163 LIMIT 4 [ RunTime:0.000982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11163 ORDER BY `minOrder` ASC [ RunTime:0.001360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11163 ORDER BY `unit` DESC [ RunTime:0.005381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11163 LIMIT 2 [ RunTime:0.003720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11163 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
select * from pdf where partno='STM32G031K8T6' and brandshort='ST' limit 1 [ RunTime:0.001260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32G031K8T6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.016387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17207 LIMIT 4 [ RunTime:0.002008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17207 ORDER BY `minOrder` ASC [ RunTime:0.005852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17207 ORDER BY `unit` DESC [ RunTime:0.008546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17207 LIMIT 2 [ RunTime:0.003067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17207 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='FMMT417TD' and brandshort='DIODES' limit 1 [ RunTime:0.004710s ]
select foldpath,foldpath2,filename from pdf_file where id=976769 limit 1 [ RunTime:0.001004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FMMT417TD' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.006356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8285 LIMIT 4 [ RunTime:0.002944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8285 ORDER BY `minOrder` ASC [ RunTime:0.006240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8285 ORDER BY `unit` DESC [ RunTime:0.008344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8285 LIMIT 2 [ RunTime:0.009489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8285 ORDER BY `minOrder` ASC [ RunTime:0.004399s ]
select * from pdf where partno='DMP2022LSS-13' and brandshort='DIODES' limit 1 [ RunTime:0.003165s ]
select foldpath,foldpath2,filename from pdf_file where id=1067284 limit 1 [ RunTime:0.002457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMP2022LSS-13' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.009325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17196 LIMIT 4 [ RunTime:0.004059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17196 ORDER BY `minOrder` ASC [ RunTime:0.005117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17196 ORDER BY `unit` DESC [ RunTime:0.004804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17196 LIMIT 2 [ RunTime:0.011334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17196 ORDER BY `minOrder` ASC [ RunTime:0.004586s ]
select * from pdf where partno='TPS3710QDSERQ1' and brandshort='TI' limit 1 [ RunTime:0.009958s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS3710QDSERQ1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.040061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17206 LIMIT 4 [ RunTime:0.001161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17206 ORDER BY `minOrder` ASC [ RunTime:0.004168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17206 ORDER BY `unit` DESC [ RunTime:0.000663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17206 LIMIT 2 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17206 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
select * from pdf where partno='AZ1117CH-3.3TRG1' and brandshort='DIODES' limit 1 [ RunTime:0.005536s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AZ1117CH-3.3TRG1' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.006284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17230 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17230 ORDER BY `minOrder` ASC [ RunTime:0.000924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17230 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17230 LIMIT 2 [ RunTime:0.001022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17230 ORDER BY `minOrder` ASC [ RunTime:0.002923s ]
select * from pdf where partno='XC6VLX75T-1FFG784C' and brandshort='XILINX' limit 1 [ RunTime:0.006364s ]
select foldpath,foldpath2,filename from pdf_file where id=1504350 limit 1 [ RunTime:0.004285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XC6VLX75T-1FFG784C' OR `brand` LIKE 'XILINX%' ) ) LIMIT 1 [ RunTime:0.002685s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 3 AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001950s ]