SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001556s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001310s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001641s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001420s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001460s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.007081s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.006420s ]
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.008360s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001612s ]
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.005038s ]
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.005141s ]
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.001603s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17225 LIMIT 4 [ RunTime:0.002893s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17225 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17225 ORDER BY `unit` DESC [ RunTime:0.000442s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004973s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17225 LIMIT 2 [ RunTime:0.004854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17225 ORDER BY `minOrder` ASC [ RunTime:0.000781s ]
select * from pdf where partno='AT91RM9200-QU-002' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002095s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001604s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT91RM9200-QU-002' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.014535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17176 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17176 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17176 ORDER BY `unit` DESC [ RunTime:0.002606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17176 LIMIT 2 [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17176 ORDER BY `minOrder` ASC [ RunTime:0.006019s ]
select * from pdf where partno='TPS259823ONRGET' and brandshort='TI' limit 1 [ RunTime:0.004926s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS259823ONRGET' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.029785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17189 LIMIT 4 [ RunTime:0.004192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17189 ORDER BY `minOrder` ASC [ RunTime:0.002754s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17189 ORDER BY `unit` DESC [ RunTime:0.006349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17189 LIMIT 2 [ RunTime:0.001924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17189 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='CY8C4045LQI-S412' and brandshort='CYPRESS' limit 1 [ RunTime:0.003245s ]
select foldpath,foldpath2,filename from pdf_file where id=1308623 limit 1 [ RunTime:0.007366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C4045LQI-S412' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.001291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10756 LIMIT 4 [ RunTime:0.004534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10756 ORDER BY `minOrder` ASC [ RunTime:0.007852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10756 ORDER BY `unit` DESC [ RunTime:0.013782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10756 LIMIT 2 [ RunTime:0.001738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10756 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='SN74LVC1G125DBVR' and brandshort='TI' limit 1 [ RunTime:0.001909s ]
select foldpath,foldpath2,filename from pdf_file where id=534781 limit 1 [ RunTime:0.002929s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74LVC1G125DBVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.054629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17245 LIMIT 4 [ RunTime:0.000934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17245 ORDER BY `minOrder` ASC [ RunTime:0.007070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17245 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17245 LIMIT 2 [ RunTime:0.005453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17245 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='TW8844AT-LB1-GE' and brandshort='RENESAS' limit 1 [ RunTime:0.001730s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TW8844AT-LB1-GE' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.019941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17170 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17170 ORDER BY `minOrder` ASC [ RunTime:0.001642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17170 ORDER BY `unit` DESC [ RunTime:0.004851s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17170 LIMIT 2 [ RunTime:0.001440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17170 ORDER BY `minOrder` ASC [ RunTime:0.001898s ]
select * from pdf where partno='PIC18F25K22-I/SS' and brandshort='Microchip' limit 1 [ RunTime:0.006330s ]
select foldpath,foldpath2,filename from pdf_file where id=882409 limit 1 [ RunTime:0.006995s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC18F25K22-I/SS' OR `brand` LIKE 'Microchip%' ) ) LIMIT 1 [ RunTime:0.024896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17171 LIMIT 4 [ RunTime:0.000792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17171 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17171 ORDER BY `unit` DESC [ RunTime:0.011685s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17171 LIMIT 2 [ RunTime:0.009439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17171 ORDER BY `minOrder` ASC [ RunTime:0.003912s ]
select * from pdf where partno='EPCS4SI8N' and brandshort='ALTERA' limit 1 [ RunTime:0.006249s ]
select foldpath,foldpath2,filename from pdf_file where id=633486 limit 1 [ RunTime:0.000819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPCS4SI8N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.000973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17212 LIMIT 4 [ RunTime:0.000934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17212 ORDER BY `minOrder` ASC [ RunTime:0.005187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17212 ORDER BY `unit` DESC [ RunTime:0.000555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17212 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17212 ORDER BY `minOrder` ASC [ RunTime:0.005836s ]
select * from pdf where partno='STM8S207S8T6C' and brandshort='ST' limit 1 [ RunTime:0.009575s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM8S207S8T6C' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.007896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17232 LIMIT 4 [ RunTime:0.000743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17232 ORDER BY `minOrder` ASC [ RunTime:0.000778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17232 ORDER BY `unit` DESC [ RunTime:0.000560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17232 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17232 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='5CSEBA2U23C8N' and brandshort='ALTERA' limit 1 [ RunTime:0.001097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5CSEBA2U23C8N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.013385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17192 LIMIT 4 [ RunTime:0.002445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17192 ORDER BY `minOrder` ASC [ RunTime:0.005172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17192 ORDER BY `unit` DESC [ RunTime:0.005382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17192 LIMIT 2 [ RunTime:0.003677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17192 ORDER BY `minOrder` ASC [ RunTime:0.005256s ]
select * from pdf where partno='CY8C4025LQI-S412' and brandshort='CYPRESS' limit 1 [ RunTime:0.003042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C4025LQI-S412' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.005109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17190 LIMIT 4 [ RunTime:0.002015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17190 ORDER BY `minOrder` ASC [ RunTime:0.004435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17190 ORDER BY `unit` DESC [ RunTime:0.003478s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17190 LIMIT 2 [ RunTime:0.008100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17190 ORDER BY `minOrder` ASC [ RunTime:0.001118s ]
select * from pdf where partno='HT1381'limit 1 [ RunTime:0.005119s ]
select foldpath,foldpath2,filename from pdf_file where id=383705 limit 1 [ RunTime:0.026633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT1381' OR `brand` LIKE '合泰%' ) ) LIMIT 1 [ RunTime:0.015053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17186 LIMIT 4 [ RunTime:0.007301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17186 ORDER BY `minOrder` ASC [ RunTime:0.000963s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17186 ORDER BY `unit` DESC [ RunTime:0.003757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17186 LIMIT 2 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17186 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
select * from pdf where partno='TL431AQPK' and brandshort='TI' limit 1 [ RunTime:0.002080s ]
select foldpath,foldpath2,filename from pdf_file where id=579918 limit 1 [ RunTime:0.006257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AQPK' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.056639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17255 LIMIT 4 [ RunTime:0.001069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17255 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17255 ORDER BY `unit` DESC [ RunTime:0.001986s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17255 LIMIT 2 [ RunTime:0.009330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17255 ORDER BY `minOrder` ASC [ RunTime:0.004071s ]
select * from pdf where partno='LPC2214FBD144/01' and brandshort='NXP' limit 1 [ RunTime:0.002191s ]
select foldpath,foldpath2,filename from pdf_file where id=876624 limit 1 [ RunTime:0.002698s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC2214FBD144/01' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.009141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11163 LIMIT 4 [ RunTime:0.000561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11163 ORDER BY `minOrder` ASC [ RunTime:0.000734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11163 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11163 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11163 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='STM32G031K8T6' and brandshort='ST' limit 1 [ RunTime:0.003574s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32G031K8T6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.009038s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17207 LIMIT 4 [ RunTime:0.005182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17207 ORDER BY `minOrder` ASC [ RunTime:0.000582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17207 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17207 LIMIT 2 [ RunTime:0.000966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17207 ORDER BY `minOrder` ASC [ RunTime:0.001141s ]
select * from pdf where partno='FMMT417TD' and brandshort='DIODES' limit 1 [ RunTime:0.004914s ]
select foldpath,foldpath2,filename from pdf_file where id=976769 limit 1 [ RunTime:0.012504s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FMMT417TD' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.009137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8285 LIMIT 4 [ RunTime:0.004382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8285 ORDER BY `minOrder` ASC [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8285 ORDER BY `unit` DESC [ RunTime:0.000708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8285 LIMIT 2 [ RunTime:0.001656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8285 ORDER BY `minOrder` ASC [ RunTime:0.003918s ]
select * from pdf where partno='DMP2022LSS-13' and brandshort='DIODES' limit 1 [ RunTime:0.005769s ]
select foldpath,foldpath2,filename from pdf_file where id=1067284 limit 1 [ RunTime:0.002479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMP2022LSS-13' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.006809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17196 LIMIT 4 [ RunTime:0.004031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17196 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17196 ORDER BY `unit` DESC [ RunTime:0.000546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17196 LIMIT 2 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17196 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='TPS3710QDSERQ1' and brandshort='TI' limit 1 [ RunTime:0.001581s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS3710QDSERQ1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.047584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17206 LIMIT 4 [ RunTime:0.000728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17206 ORDER BY `minOrder` ASC [ RunTime:0.000577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17206 ORDER BY `unit` DESC [ RunTime:0.000514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17206 LIMIT 2 [ RunTime:0.001586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17206 ORDER BY `minOrder` ASC [ RunTime:0.003902s ]
select * from pdf where partno='AZ1117CH-3.3TRG1' and brandshort='DIODES' limit 1 [ RunTime:0.003715s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AZ1117CH-3.3TRG1' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.006312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17230 LIMIT 4 [ RunTime:0.001128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17230 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17230 ORDER BY `unit` DESC [ RunTime:0.000498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17230 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17230 ORDER BY `minOrder` ASC [ RunTime:0.001384s ]
select * from pdf where partno='XC6VLX75T-1FFG784C' and brandshort='XILINX' limit 1 [ RunTime:0.001215s ]
select foldpath,foldpath2,filename from pdf_file where id=1504350 limit 1 [ RunTime:0.003862s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XC6VLX75T-1FFG784C' OR `brand` LIKE 'XILINX%' ) ) LIMIT 1 [ RunTime:0.001018s ]
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.003604s ]