赞
踩
该系统实现:
通过高德天气API查询天气数据
将查询的数据存入本地数据库
删除数据。
/* Navicat Premium Data Transfer Source Server : localhost Source Server Type : MySQL Source Server Version : 80021 Source Host : localhost:3306 Source Schema : weather Target Server Type : MySQL Target Server Version : 80021 File Encoding : 65001 Date: 05/12/2022 15:20:03 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for tb_weather -- ---------------------------- DROP TABLE IF EXISTS `tb_weather`; CREATE TABLE `tb_weather` ( `weatherid` int(0) NOT NULL AUTO_INCREMENT, `city` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `weather` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `temperature` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `winddirection` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `windpower` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `humidity` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `reporttime` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`weatherid`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of tb_weather -- ---------------------------- INSERT INTO `tb_weather` VALUES (1, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (2, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (3, '拱墅区', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:56'); INSERT INTO `tb_weather` VALUES (4, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (5, '淳安县', '阴', '6', '东北', '≤3', '78', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (6, '建德市', '阴', '6', '东', '≤3', '83', '2022-12-05 15:06:56'); INSERT INTO `tb_weather` VALUES (7, '桐庐县', '阴', '6', '北', '≤3', '82', '2022-12-05 15:06:55'); INSERT INTO `tb_weather` VALUES (8, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (9, '富阳区', '阴', '6', '北', '≤3', '82', '2022-12-05 15:06:55'); INSERT INTO `tb_weather` VALUES (10, '上城区', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:55'); INSERT INTO `tb_weather` VALUES (11, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (12, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (13, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); INSERT INTO `tb_weather` VALUES (14, '杭州市', '阴', '8', '北', '≤3', '77', '2022-12-05 15:06:54'); SET FOREIGN_KEY_CHECKS = 1;
Java+Swing实现学生选课管理系统
Java+Swing实现学校教务管理系统
Java+Swing+sqlserver学生成绩管理系统
Java+Swing用户信息管理系统
Java+Swing实现的五子棋游戏
基于JavaSwing 银行管理系统
Java+Swing+mysql仿QQ聊天工具
Java+Swing 聊天室
Java+Swing+dat文件存储实现学生选课管理系统
Java+Swing可视化图像处理软件
Java+Swing学生信息管理系统
Java+Swing图书管理系统
Java+Swing图书管理系统2.0
基于java+swing+mysql图书管理系统3.0
大作业-基于java+swing+mysql北方传统民居信息管理系统
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。