计算机毕业设计 基于Java的流浪动物救助平台的设计与实现 Java实战项目 附源码+文档+视频讲解

博主介绍:✌从事软件开发10年之余,专注于Java技术领域、Python人工智能及数据挖掘、小程序项目开发和Android项目开发等。CSDN、掘金、华为云、InfoQ、阿里云等平台优质作者✌
🍅文末获取源码联系🍅
👇🏻 精彩专栏推荐订阅👇🏻 不然下次找不到哟
————————————————
计算机毕业设计《1000套》✌

目录

1、项目介绍及开发技术

1.1 项目介绍

1.2 开发技术

2、系统功能设计结构图

3、功能截图

3.1 前台功能

3.2 后台功能

4、数据库表结构设计

5、关键代码

5.1 流浪动物Controller模块 

5.2 流浪动物Service模块 

5.3 流浪动物ServiceImpl模块

5.4 流浪动物Dao模块

6、论文目录结构

7、源码获取


1、项目介绍及开发技术

1.1 项目介绍

现代经济快节奏发展以及不断完善升级的信息化技术,让传统数据信息的管理升级为软件存储,归纳,集中处理数据信息的管理方式。本流浪动物救助平台就是在这样的大环境下诞生,其可以帮助管理者在短时间内处理完毕庞大的数据信息,使用这种软件工具可以帮助管理人员提高事务处理效率,达到事半功倍的效果。此流浪动物救助平台利用当下成熟完善的SSM框架,使用跨平台的可开发大型商业网站的Java语言,以及最受欢迎的RDBMS应用软件之一的Mysql数据库进行程序开发。流浪动物救助平台的开发根据操作人员需要设计的界面简洁美观,在功能模块布局上跟同类型网站保持一致,程序在实现基本要求功能时,也为数据信息面临的安全问题提供了一些实用的解决方案。可以说该程序在帮助管理者高效率地处理工作事务的同时,也实现了数据信息的整体化,规范化与自动化。

1.2 开发技术

Java开发语言、SpringBoot、MyBatisPlus、MySQL数据库、Maven、IDEA开发工具、JDK1.8+、Vue、HTML、CSS、JS。

2、系统功能设计结构图

 

3、功能截图

3.1 前台功能

注册

登录

首页

 论坛

流浪动物

 个人中心

3.2 后台功能

流浪动物列表:管理员可以在此查看流浪动物、新增流浪动物、修改流浪动物、删除流浪动物等。

公告信息管理:可以新增公告,修改公告,删除公告操作。

 公告类型管理:在此页面既可以让管理员添加新的公告信息类型,也能对已有的公告类型信息执行编辑更新,失效的公告类型信息也能让管理员快速删除。

4、数据库表结构设计

CREATE DATABASE /*!32312 IF NOT EXISTS*/`liulangdongwujiuzhu` /*!40100 DEFAULT CHARACTER SET utf8 */;USE `liulangdongwujiuzhu`;/*Table structure for table `address` */DROP TABLE IF EXISTS `address`;CREATE TABLE `address` (`id` int(20) NOT NULL AUTO_INCREMENT COMMENT '主键 ',`yonghu_id` int(20) NOT NULL COMMENT '创建用户',`address_name` varchar(200) NOT NULL COMMENT '收货人 ',`address_phone` varchar(200) NOT NULL COMMENT '电话 ',`address_dizhi` varchar(200) NOT NULL COMMENT '地址 ',`isdefault_types` int(11) NOT NULL COMMENT '是否默认地址 ',`insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间 show3',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='收货地址';/*Data for the table `address` */insert  into `address`(`id`,`yonghu_id`,`address_name`,`address_phone`,`address_dizhi`,`isdefault_types`,`insert_time`,`update_time`,`create_time`) values (1,3,'收货人1','17703786901','地址1',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,1,'收货人2','17703786902','地址2',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,2,'收货人3','17703786903','地址3',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,3,'收货人4','17703786904','地址4',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,1,'收货人5','17703786905','地址5',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,1,'收货人6','17703786906','地址6',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,1,'收货人7','17703786907','地址7',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,3,'收货人8','17703786908','地址8',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,1,'收货人9','17703786909','地址9',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,1,'收货人10','17703786910','地址10',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,1,'收货人11','17703786911','地址11',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,1,'收货人12','17703786912','地址12',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,3,'收货人13','17703786913','地址13',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,1,'收货人14','17703786914','地址14',1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,4,'张三','17777777888','地址11',2,'2023-03-29 10:36:42','2023-03-29 10:36:42','2023-03-29 10:36:42');/*Table structure for table `config` */DROP TABLE IF EXISTS `config`;CREATE TABLE `config` (`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',`name` varchar(100) DEFAULT NULL COMMENT '配置参数名称',`value` varchar(100) DEFAULT NULL COMMENT '配置参数值',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='配置文件';/*Data for the table `config` */insert  into `config`(`id`,`name`,`value`) values (1,'轮播图111','upload/config1.jpg'),(2,'轮播图2','upload/config2.jpg'),(3,'轮播图3','upload/config3.jpg');/*Table structure for table `dictionary` */DROP TABLE IF EXISTS `dictionary`;CREATE TABLE `dictionary` (`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',`dic_code` varchar(200) DEFAULT NULL COMMENT '字段',`dic_name` varchar(200) DEFAULT NULL COMMENT '字段名',`code_index` int(11) DEFAULT NULL COMMENT '编码',`index_name` varchar(200) DEFAULT NULL COMMENT '编码名字  Search111 ',`super_id` int(11) DEFAULT NULL COMMENT '父字段id',`beizhu` varchar(200) DEFAULT NULL COMMENT '备注',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8 COMMENT='字典';/*Data for the table `dictionary` */insert  into `dictionary`(`id`,`dic_code`,`dic_name`,`code_index`,`index_name`,`super_id`,`beizhu`,`create_time`) values (1,'forum_types','帖子类型',1,'帖子类型1',NULL,NULL,'2023-03-29 09:36:14'),(2,'forum_types','帖子类型',2,'帖子类型2',NULL,NULL,'2023-03-29 09:36:14'),(3,'forum_types','帖子类型',3,'帖子类型3',NULL,NULL,'2023-03-29 09:36:14'),(4,'forum_state_types','帖子状态',1,'发帖',NULL,NULL,'2023-03-29 09:36:14'),(5,'forum_state_types','帖子状态',2,'回帖',NULL,NULL,'2023-03-29 09:36:14'),(6,'gonggao_types','公告类型',1,'公告类型1',NULL,NULL,'2023-03-29 09:36:14'),(7,'gonggao_types','公告类型',2,'公告类型2',NULL,NULL,'2023-03-29 09:36:14'),(8,'sex_types','性别类型',1,'男',NULL,NULL,'2023-03-29 09:36:14'),(9,'sex_types','性别类型',2,'女',NULL,NULL,'2023-03-29 09:36:14'),(10,'jinyong_types','账户状态',1,'启用',NULL,NULL,'2023-03-29 09:36:14'),(11,'jinyong_types','账户状态',2,'禁用',NULL,NULL,'2023-03-29 09:36:14'),(12,'xingbie_types','性别',1,'公',NULL,NULL,'2023-03-29 09:36:14'),(13,'xingbie_types','性别',2,'母',NULL,NULL,'2023-03-29 09:36:14'),(14,'dongwu_zhuangtai_types','动物状态',1,'未领养',NULL,NULL,'2023-03-29 09:36:14'),(15,'dongwu_zhuangtai_types','动物状态',2,'已领养',NULL,NULL,'2023-03-29 09:36:14'),(16,'liulangdongwu_types','动物类型',1,'猫',NULL,NULL,'2023-03-29 09:36:14'),(17,'liulangdongwu_types','动物类型',2,'狗',NULL,NULL,'2023-03-29 09:36:14'),(18,'liulangdongwu_erji_types','详细类型',1,'波斯猫',1,NULL,'2023-03-29 09:36:14'),(19,'liulangdongwu_erji_types','详细类型',2,'加菲猫',1,NULL,'2023-03-29 09:36:14'),(20,'liulangdongwu_erji_types','详细类型',3,'田园犬',2,NULL,'2023-03-29 09:36:14'),(21,'liulangdongwu_erji_types','详细类型',4,'阿拉斯加',2,NULL,'2023-03-29 09:36:14'),(22,'liulangdongwu_collection_types','收藏表类型',1,'收藏',NULL,NULL,'2023-03-29 09:36:14'),(23,'liulangdongwu_order_types','领养状态',101,'已申请领养',NULL,NULL,'2023-03-29 09:36:14'),(24,'liulangdongwu_order_types','领养状态',102,'已取消申请',NULL,NULL,'2023-03-29 09:36:14'),(25,'liulangdongwu_order_types','领养状态',103,'已同意领养',NULL,NULL,'2023-03-29 09:36:14'),(26,'liulangdongwu_order_types','领养状态',104,'已收到宠物',NULL,NULL,'2023-03-29 09:36:14'),(27,'liulangdongwu_order_yesno_types','申请状态',1,'待审核',NULL,NULL,'2023-03-29 09:36:14'),(28,'liulangdongwu_order_yesno_types','申请状态',2,'同意',NULL,NULL,'2023-03-29 09:36:14'),(29,'liulangdongwu_order_yesno_types','申请状态',3,'拒绝',NULL,NULL,'2023-03-29 09:36:15'),(30,'isdefault_types','是否默认地址',1,'否',NULL,NULL,'2023-03-29 09:36:15'),(31,'isdefault_types','是否默认地址',2,'是',NULL,NULL,'2023-03-29 09:36:15'),(32,'liulangdongwu_huafei_types','消费类型',1,'消费类型1',NULL,NULL,'2023-03-29 09:36:15'),(33,'liulangdongwu_huafei_types','消费类型',2,'消费类型2',NULL,NULL,'2023-03-29 09:36:15'),(34,'liulangdongwu_huafei_types','消费类型',3,'消费类型3',NULL,NULL,'2023-03-29 09:36:15'),(35,'liulangdongwu_huafei_types','消费类型',4,'消费类型4',NULL,NULL,'2023-03-29 09:36:15'),(36,'liulangdongwu_jinkuang_types','流浪动物状态',1,'非常好',NULL,NULL,'2023-03-29 09:36:15'),(37,'liulangdongwu_jinkuang_types','流浪动物状态',2,'一般般',NULL,NULL,'2023-03-29 09:36:15'),(38,'liulangdongwu_jinkuang_types','流浪动物状态',3,'状态差',NULL,NULL,'2023-03-29 09:36:15'),(39,'liulangdongwu_jinkuang_types','流浪动物状态',4,'流浪动物近况类型4',NULL,NULL,'2023-03-29 09:36:15'),(40,'liulangdongwu_order_types','领养状态',109,'拒绝领养',NULL,'','2023-03-29 09:36:14'),(41,'liulangdongwu_erji_types','详细类型',5,'泰迪',2,'','2023-03-29 10:38:20'),(42,'liulangdongwu_jinkuang_types','流浪动物状态',5,'流浪动物近况类型5',NULL,'','2023-03-29 10:38:33');/*Table structure for table `forum` */DROP TABLE IF EXISTS `forum`;CREATE TABLE `forum` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',`forum_name` varchar(200) DEFAULT NULL COMMENT '帖子标题  Search111 ',`yonghu_id` int(11) DEFAULT NULL COMMENT '用户',`users_id` int(11) DEFAULT NULL COMMENT '管理员',`forum_content` longtext COMMENT '发布内容',`super_ids` int(11) DEFAULT NULL COMMENT '父id',`forum_types` int(11) DEFAULT NULL COMMENT '帖子类型  Search111 ',`forum_state_types` int(11) DEFAULT NULL COMMENT '帖子状态',`insert_time` timestamp NULL DEFAULT NULL COMMENT '发帖时间',`update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show2',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COMMENT='论坛';/*Data for the table `forum` */insert  into `forum`(`id`,`forum_name`,`yonghu_id`,`users_id`,`forum_content`,`super_ids`,`forum_types`,`forum_state_types`,`insert_time`,`update_time`,`create_time`) values (1,'帖子标题1',3,NULL,'发布内容1',472,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,'帖子标题2',2,NULL,'发布内容2',289,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,'帖子标题3',3,NULL,'发布内容3',308,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,'帖子标题4',2,NULL,'发布内容4',477,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,'帖子标题5',3,NULL,'发布内容5',367,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,'帖子标题6',2,NULL,'发布内容6',274,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,'帖子标题7',2,NULL,'发布内容7',457,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,'帖子标题8',1,NULL,'发布内容8',45,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,'帖子标题9',2,NULL,'发布内容9',215,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,'帖子标题10',1,NULL,'发布内容10',209,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,'帖子标题11',2,NULL,'发布内容11',72,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,'帖子标题12',3,NULL,'发布内容12',113,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,'帖子标题13',3,NULL,'发布内容13',142,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,'帖子标题14',2,NULL,'发布内容14',251,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,NULL,1,NULL,'换个哈哈哈',14,NULL,2,'2023-03-29 10:37:51',NULL,'2023-03-29 10:37:51'),(16,'忒自11',1,NULL,'<p>更汗的是广东省供货商</p>',NULL,2,1,'2023-03-29 10:37:59',NULL,'2023-03-29 10:37:59'),(17,NULL,NULL,1,'哈哈哈',16,NULL,2,'2023-03-29 10:38:39',NULL,'2023-03-29 10:38:39');/*Table structure for table `gonggao` */DROP TABLE IF EXISTS `gonggao`;CREATE TABLE `gonggao` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',`gonggao_name` varchar(200) DEFAULT NULL COMMENT '公告名称 Search111  ',`gonggao_photo` varchar(200) DEFAULT NULL COMMENT '公告图片 ',`gonggao_types` int(11) NOT NULL COMMENT '公告类型 Search111 ',`insert_time` timestamp NULL DEFAULT NULL COMMENT '公告发布时间 ',`gonggao_content` longtext COMMENT '公告详情 ',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show1 show2 nameShow',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COMMENT='公告';/*Data for the table `gonggao` */insert  into `gonggao`(`id`,`gonggao_name`,`gonggao_photo`,`gonggao_types`,`insert_time`,`gonggao_content`,`create_time`) values (1,'公告名称1','upload/gonggao1.jpg',2,'2023-03-29 09:38:28','公告详情1','2023-03-29 09:38:28'),(2,'公告名称2','upload/gonggao2.jpg',2,'2023-03-29 09:38:28','公告详情2','2023-03-29 09:38:28'),(3,'公告名称3','upload/gonggao3.jpg',1,'2023-03-29 09:38:28','公告详情3','2023-03-29 09:38:28'),(4,'公告名称4','upload/gonggao4.jpg',2,'2023-03-29 09:38:28','公告详情4','2023-03-29 09:38:28'),(5,'公告名称5','upload/gonggao5.jpg',1,'2023-03-29 09:38:28','公告详情5','2023-03-29 09:38:28'),(6,'公告名称6','upload/gonggao6.jpg',1,'2023-03-29 09:38:28','公告详情6','2023-03-29 09:38:28'),(7,'公告名称7','upload/gonggao7.jpg',1,'2023-03-29 09:38:28','公告详情7','2023-03-29 09:38:28'),(8,'公告名称8','upload/gonggao8.jpg',2,'2023-03-29 09:38:28','公告详情8','2023-03-29 09:38:28'),(9,'公告名称9','upload/gonggao9.jpg',1,'2023-03-29 09:38:28','公告详情9','2023-03-29 09:38:28'),(10,'公告名称10','upload/gonggao10.jpg',1,'2023-03-29 09:38:28','公告详情10','2023-03-29 09:38:28'),(11,'公告名称11','upload/gonggao11.jpg',2,'2023-03-29 09:38:28','公告详情11','2023-03-29 09:38:28'),(12,'公告名称12','upload/gonggao12.jpg',1,'2023-03-29 09:38:28','公告详情12','2023-03-29 09:38:28'),(13,'公告名称13','upload/gonggao13.jpg',2,'2023-03-29 09:38:28','公告详情13','2023-03-29 09:38:28'),(14,'公告名称14','upload/gonggao14.jpg',1,'2023-03-29 09:38:28','公告详情14','2023-03-29 09:38:28');/*Table structure for table `liulangdongwu` */DROP TABLE IF EXISTS `liulangdongwu`;CREATE TABLE `liulangdongwu` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',`liulangdongwu_name` varchar(200) DEFAULT NULL COMMENT '流浪动物名称 Search111',`liulangdongwu_photo` varchar(200) DEFAULT NULL COMMENT '流浪动物照片',`liulangdongwu_types` int(11) DEFAULT NULL COMMENT '动物类型 Search111',`liulangdongwu_erji_types` int(11) DEFAULT NULL COMMENT '详细类型 Search111',`liulangdongwu_age` int(11) DEFAULT NULL COMMENT '流浪动物年龄',`liulangdongwu_jiezhong` varchar(11) DEFAULT NULL COMMENT '疫苗接种',`xingbie_types` int(11) DEFAULT NULL COMMENT '性别 Search111',`liulangdongwu_zuyangjin` decimal(10,2) DEFAULT NULL COMMENT '助养金',`liulangdongwu_content` text COMMENT '动物介绍',`dongwu_zhuangtai_types` int(11) DEFAULT NULL COMMENT '动物状态 Search111',`liulangdongwu_delete` int(11) DEFAULT NULL COMMENT '逻辑删除',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show1 show2 photoShow',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COMMENT='流浪动物';/*Data for the table `liulangdongwu` */insert  into `liulangdongwu`(`id`,`liulangdongwu_name`,`liulangdongwu_photo`,`liulangdongwu_types`,`liulangdongwu_erji_types`,`liulangdongwu_age`,`liulangdongwu_jiezhong`,`xingbie_types`,`liulangdongwu_zuyangjin`,`liulangdongwu_content`,`dongwu_zhuangtai_types`,`liulangdongwu_delete`,`create_time`) values (1,'流浪动物名称1','upload/liulangdongwu1.jpg',1,1,1,'疫苗接种1',1,'525.01','动物介绍1',2,1,'2023-03-29 09:38:28'),(2,'流浪动物名称2','upload/liulangdongwu2.jpg',1,1,1,'疫苗接种2',2,'450.51','动物介绍2',1,1,'2023-03-29 09:38:28'),(3,'流浪动物名称3','upload/liulangdongwu3.jpg',1,1,1,'疫苗接种3',1,'428.25','动物介绍3',1,1,'2023-03-29 09:38:28'),(4,'流浪动物名称4','upload/liulangdongwu4.jpg',1,2,1,'疫苗接种4',2,'549.05','动物介绍4',2,1,'2023-03-29 09:38:28'),(5,'流浪动物名称5','upload/liulangdongwu5.jpg',1,2,1,'疫苗接种5',2,'646.33','动物介绍5',1,1,'2023-03-29 09:38:28'),(6,'流浪动物名称6','upload/liulangdongwu6.jpg',1,2,1,'疫苗接种6',2,'194.99','动物介绍6',2,1,'2023-03-29 09:38:28'),(7,'流浪动物名称7','upload/liulangdongwu7.jpg',1,2,1,'疫苗接种7',2,'306.48','动物介绍7',1,1,'2023-03-29 09:38:28'),(8,'流浪动物名称8','upload/liulangdongwu8.jpg',2,3,1,'疫苗接种8',1,'742.73','动物介绍8',2,1,'2023-03-29 09:38:28'),(9,'流浪动物名称9','upload/liulangdongwu9.jpg',2,3,2,'疫苗接种9',2,'790.49','动物介绍9',1,1,'2023-03-29 09:38:28'),(10,'流浪动物名称10','upload/liulangdongwu10.jpg',2,3,2,'疫苗接种10',1,'283.13','动物介绍10',2,1,'2023-03-29 09:38:28'),(11,'流浪动物名称11','upload/liulangdongwu11.jpg',2,3,2,'疫苗接种11',1,'596.99','动物介绍11',2,1,'2023-03-29 09:38:28'),(12,'流浪动物名称12','upload/liulangdongwu12.jpg',2,3,2,'疫苗接种12',1,'375.01','动物介绍12',2,1,'2023-03-29 09:38:28'),(13,'流浪动物名称13','upload/liulangdongwu13.jpg',2,4,2,'疫苗接种13',2,'128.04','动物介绍13',2,1,'2023-03-29 09:38:28'),(14,'流浪动物名称14','upload/liulangdongwu14.jpg',1,1,2,'疫苗接种14',2,'244.31','<p>动物介绍14</p>',2,1,'2023-03-29 09:38:28');/*Table structure for table `liulangdongwu_collection` */DROP TABLE IF EXISTS `liulangdongwu_collection`;CREATE TABLE `liulangdongwu_collection` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',`liulangdongwu_id` int(11) DEFAULT NULL COMMENT '流浪动物',`yonghu_id` int(11) DEFAULT NULL COMMENT '用户',`liulangdongwu_collection_types` int(11) DEFAULT NULL COMMENT '类型',`insert_time` timestamp NULL DEFAULT NULL COMMENT '收藏时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3 photoShow',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COMMENT='流浪动物收藏';/*Data for the table `liulangdongwu_collection` */insert  into `liulangdongwu_collection`(`id`,`liulangdongwu_id`,`yonghu_id`,`liulangdongwu_collection_types`,`insert_time`,`create_time`) values (1,1,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,2,2,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,3,2,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,4,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,5,2,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,6,2,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,7,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,8,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,9,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,10,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,11,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,12,1,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,13,2,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,14,3,1,'2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,13,1,1,'2023-03-29 10:02:27','2023-03-29 10:02:27'),(16,12,4,1,'2023-03-29 10:36:49','2023-03-29 10:36:49');/*Table structure for table `liulangdongwu_huafei` */DROP TABLE IF EXISTS `liulangdongwu_huafei`;CREATE TABLE `liulangdongwu_huafei` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',`liulangdongwu_id` int(11) DEFAULT NULL COMMENT '流浪动物',`liulangdongwu_huafei_uuid_number` varchar(200) DEFAULT NULL COMMENT '流浪动物花费编号',`liulangdongwu_huafei_name` varchar(200) DEFAULT NULL COMMENT '花费标题  Search111 ',`liulangdongwu_huafei_file` varchar(200) DEFAULT NULL COMMENT '附件',`liulangdongwu_huafei_money` decimal(10,2) DEFAULT NULL COMMENT '花费金额',`liulangdongwu_huafei_types` int(11) DEFAULT NULL COMMENT '消费类型 Search111',`huafei_time` timestamp NULL DEFAULT NULL COMMENT '花费时间',`liulangdongwu_huafei_content` longtext COMMENT '花费缘由',`insert_time` timestamp NULL DEFAULT NULL COMMENT '录入时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='流浪动物花费';/*Data for the table `liulangdongwu_huafei` */insert  into `liulangdongwu_huafei`(`id`,`liulangdongwu_id`,`liulangdongwu_huafei_uuid_number`,`liulangdongwu_huafei_name`,`liulangdongwu_huafei_file`,`liulangdongwu_huafei_money`,`liulangdongwu_huafei_types`,`huafei_time`,`liulangdongwu_huafei_content`,`insert_time`,`create_time`) values (1,1,'1680053908352','花费标题1','upload/file.rar','22.56',3,'2023-03-29 09:38:28','花费缘由1','2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,2,'1680053908298','花费标题2','upload/file.rar','22.56',4,'2023-03-29 09:38:28','花费缘由2','2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,3,'1680053908329','花费标题3','upload/file.rar','22.56',3,'2023-03-29 09:38:28','花费缘由3','2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,4,'1680053908308','花费标题4','upload/file.rar','22.56',4,'2023-03-29 09:38:28','花费缘由4','2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,5,'1680053908326','花费标题5','upload/file.rar','22.56',2,'2023-03-29 09:38:28','花费缘由5','2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,6,'1680053908308','花费标题6','upload/file.rar','22.56',4,'2023-03-29 09:38:28','花费缘由6','2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,7,'1680053908326','花费标题7','upload/file.rar','22.56',3,'2023-03-29 09:38:28','花费缘由7','2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,8,'1680053908320','花费标题8','upload/file.rar','22.56',4,'2023-03-29 09:38:28','花费缘由8','2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,9,'1680053908323','花费标题9','upload/file.rar','22.56',2,'2023-03-29 09:38:28','花费缘由9','2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,10,'1680053908353','花费标题10','upload/file.rar','22.56',2,'2023-03-29 09:38:28','花费缘由10','2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,11,'1680053908391','花费标题11','upload/file.rar','36.55',3,'2023-03-29 09:38:28','花费缘由11','2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,12,'1680053908327','花费标题12','upload/file.rar','36.55',2,'2023-03-29 09:38:28','花费缘由12','2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,13,'1680053908311','花费标题13','upload/file.rar','36.55',3,'2023-03-29 09:38:28','花费缘由13','2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,14,'1680053908334','花费标题14','upload/file.rar','36.55',2,'2023-03-29 09:38:28','花费缘由14','2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,12,'1680057578569','花费111','/upload/1680057586249.doc','33.00',3,'2023-03-29 10:39:50','<p>广大发给</p>','2023-03-29 10:39:53','2023-03-29 10:39:53');/*Table structure for table `liulangdongwu_jinkuang` */DROP TABLE IF EXISTS `liulangdongwu_jinkuang`;CREATE TABLE `liulangdongwu_jinkuang` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',`liulangdongwu_id` int(11) DEFAULT NULL COMMENT '流浪动物',`yonghu_id` int(11) DEFAULT NULL COMMENT '用户',`liulangdongwu_jinkuang_uuid_number` varchar(200) DEFAULT NULL COMMENT '流浪动物近况编号',`liulangdongwu_jinkuang_name` varchar(200) DEFAULT NULL COMMENT '近况标题  Search111 ',`liulangdongwu_jinkuang_photo` varchar(200) DEFAULT NULL COMMENT '宠物照片',`liulangdongwu_jinkuang_address` varchar(200) DEFAULT NULL COMMENT '记录地点',`liulangdongwu_jinkuang_types` int(11) DEFAULT NULL COMMENT '流浪动物状态 Search111',`jilu_time` timestamp NULL DEFAULT NULL COMMENT '记录时间',`liulangdongwu_jinkuang_content` longtext COMMENT '近况详情 ',`insert_time` timestamp NULL DEFAULT NULL COMMENT '录入时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show3 listShow',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='流浪动物近况';/*Data for the table `liulangdongwu_jinkuang` */insert  into `liulangdongwu_jinkuang`(`id`,`liulangdongwu_id`,`yonghu_id`,`liulangdongwu_jinkuang_uuid_number`,`liulangdongwu_jinkuang_name`,`liulangdongwu_jinkuang_photo`,`liulangdongwu_jinkuang_address`,`liulangdongwu_jinkuang_types`,`jilu_time`,`liulangdongwu_jinkuang_content`,`insert_time`,`create_time`) values (1,1,3,'1680053908329','近况标题1','upload/liulangdongwu_jinkuang1.jpg','记录地点1',3,'2023-03-29 09:38:28','近况详情1','2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,2,2,'1680053908329','近况标题2','upload/liulangdongwu_jinkuang2.jpg','记录地点2',4,'2023-03-29 09:38:28','近况详情2','2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,3,1,'1680053908330','近况标题3','upload/liulangdongwu_jinkuang3.jpg','记录地点3',3,'2023-03-29 09:38:28','近况详情3','2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,4,1,'1680053908370','近况标题4','upload/liulangdongwu_jinkuang4.jpg','记录地点4',2,'2023-03-29 09:38:28','近况详情4','2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,5,3,'1680053908307','近况标题5','upload/liulangdongwu_jinkuang5.jpg','记录地点5',1,'2023-03-29 09:38:28','近况详情5','2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,6,2,'1680053908321','近况标题6','upload/liulangdongwu_jinkuang6.jpg','记录地点6',4,'2023-03-29 09:38:28','近况详情6','2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,7,2,'1680053908376','近况标题7','upload/liulangdongwu_jinkuang7.jpg','记录地点7',4,'2023-03-29 09:38:28','近况详情7','2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,8,1,'1680053908306','近况标题8','upload/liulangdongwu_jinkuang8.jpg','记录地点8',1,'2023-03-29 09:38:28','近况详情8','2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,9,1,'1680053908326','近况标题9','upload/liulangdongwu_jinkuang9.jpg','记录地点9',4,'2023-03-29 09:38:28','近况详情9','2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,10,3,'1680053908384','近况标题10','upload/liulangdongwu_jinkuang10.jpg','记录地点10',3,'2023-03-29 09:38:28','近况详情10','2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,11,3,'1680053908326','近况标题11','upload/liulangdongwu_jinkuang11.jpg','记录地点11',4,'2023-03-29 09:38:28','近况详情11','2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,12,1,'1680053908332','近况标题12','upload/liulangdongwu_jinkuang12.jpg','记录地点12',1,'2023-03-29 09:38:28','近况详情12','2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,13,3,'1680053908375','近况标题13','upload/liulangdongwu_jinkuang13.jpg','记录地点13',2,'2023-03-29 09:38:28','近况详情13','2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,14,2,'1680053908332','近况标题14','upload/liulangdongwu_jinkuang14.jpg','记录地点14',3,'2023-03-29 09:38:28','近况详情14','2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,11,1,'1680057437411','标题11','upload/1680057444609.jpg','地点111',3,'2023-03-30 00:00:00','还是的广东省格式的','2023-03-29 10:37:36','2023-03-29 10:37:36');/*Table structure for table `liulangdongwu_liuyan` */DROP TABLE IF EXISTS `liulangdongwu_liuyan`;CREATE TABLE `liulangdongwu_liuyan` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',`liulangdongwu_id` int(11) DEFAULT NULL COMMENT '流浪动物',`yonghu_id` int(11) DEFAULT NULL COMMENT '用户',`liulangdongwu_liuyan_text` longtext COMMENT '留言内容',`insert_time` timestamp NULL DEFAULT NULL COMMENT '留言时间',`reply_text` longtext COMMENT '回复内容',`update_time` timestamp NULL DEFAULT NULL COMMENT '回复时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COMMENT='流浪动物留言';/*Data for the table `liulangdongwu_liuyan` */insert  into `liulangdongwu_liuyan`(`id`,`liulangdongwu_id`,`yonghu_id`,`liulangdongwu_liuyan_text`,`insert_time`,`reply_text`,`update_time`,`create_time`) values (1,1,3,'留言内容1','2023-03-29 09:38:28','回复信息1','2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,2,1,'留言内容2','2023-03-29 09:38:28','回复信息2','2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,3,3,'留言内容3','2023-03-29 09:38:28','回复信息3','2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,4,3,'留言内容4','2023-03-29 09:38:28','回复信息4','2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,5,1,'留言内容5','2023-03-29 09:38:28','回复信息5','2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,6,2,'留言内容6','2023-03-29 09:38:28','回复信息6','2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,7,2,'留言内容7','2023-03-29 09:38:28','回复信息7','2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,8,2,'留言内容8','2023-03-29 09:38:28','回复信息8','2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,9,1,'留言内容9','2023-03-29 09:38:28','回复信息9','2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,10,1,'留言内容10','2023-03-29 09:38:28','回复信息10','2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,11,1,'留言内容11','2023-03-29 09:38:28','回复信息11','2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,12,1,'留言内容12','2023-03-29 09:38:28','回复信息12','2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,13,2,'留言内容13','2023-03-29 09:38:28','回复信息13','2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,14,3,'留言内容14','2023-03-29 09:38:28','回复信息14','2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,7,1,'yhjj干点啥风格','2023-03-29 10:29:02',NULL,NULL,'2023-03-29 10:29:02'),(16,6,4,'个哈哈哈或','2023-03-29 10:36:21','黑胡椒','2023-03-29 10:39:07','2023-03-29 10:36:21');/*Table structure for table `liulangdongwu_order` */DROP TABLE IF EXISTS `liulangdongwu_order`;CREATE TABLE `liulangdongwu_order` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',`liulangdongwu_order_uuid_number` varchar(200) DEFAULT NULL COMMENT '申请领养编号 Search111 ',`address_id` int(11) DEFAULT NULL COMMENT '收货地址 ',`liulangdongwu_id` int(11) DEFAULT NULL COMMENT '流浪动物',`yonghu_id` int(11) DEFAULT NULL COMMENT '用户',`liulangdongwu_order_courier_name` varchar(200) DEFAULT NULL COMMENT '快递公司',`liulangdongwu_order_courier_number` varchar(200) DEFAULT NULL COMMENT '快递单号',`liulangdongwu_order_types` int(11) DEFAULT NULL COMMENT '领养状态 Search111 ',`liulangdongwu_order_yesno_types` int(11) DEFAULT NULL COMMENT '申请状态 Search111',`liulangdongwu_order_yesno_text` longtext COMMENT '审核意见',`liulangdongwu_order_shenhe_time` timestamp NULL DEFAULT NULL COMMENT '审核时间',`insert_time` timestamp NULL DEFAULT NULL COMMENT '订单创建时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3 listShow',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='流浪动物订单';/*Data for the table `liulangdongwu_order` */insert  into `liulangdongwu_order`(`id`,`liulangdongwu_order_uuid_number`,`address_id`,`liulangdongwu_id`,`yonghu_id`,`liulangdongwu_order_courier_name`,`liulangdongwu_order_courier_number`,`liulangdongwu_order_types`,`liulangdongwu_order_yesno_types`,`liulangdongwu_order_yesno_text`,`liulangdongwu_order_shenhe_time`,`insert_time`,`create_time`) values (1,'1680055555298',9,12,1,NULL,NULL,102,NULL,NULL,NULL,'2023-03-29 10:05:55','2023-03-29 10:05:55'),(2,'1680055641164',2,13,1,NULL,NULL,101,1,NULL,NULL,'2023-03-29 10:07:21','2023-03-29 10:07:21'),(3,'1680057415517',15,6,4,'申通快递','235416551',103,2,'孤鸿寡鹄','2023-03-29 10:39:28','2023-03-29 10:36:56','2023-03-29 10:36:56');/*Table structure for table `liulangdongwu_zhuyang` */DROP TABLE IF EXISTS `liulangdongwu_zhuyang`;CREATE TABLE `liulangdongwu_zhuyang` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',`yonghu_id` int(11) DEFAULT NULL COMMENT '用户',`liulangdongwu_id` int(11) DEFAULT NULL COMMENT '流浪动物',`liulangdongwu_zhuyang_money` decimal(10,2) DEFAULT NULL COMMENT '助养金额',`insert_time` timestamp NULL DEFAULT NULL COMMENT '助养时间',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show3 listShow',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COMMENT='流浪动物助养';/*Data for the table `liulangdongwu_zhuyang` */insert  into `liulangdongwu_zhuyang`(`id`,`yonghu_id`,`liulangdongwu_id`,`liulangdongwu_zhuyang_money`,`insert_time`,`create_time`) values (1,3,1,'689.68','2023-03-29 09:38:28','2023-03-29 09:38:28'),(2,1,2,'58.27','2023-03-29 09:38:28','2023-03-29 09:38:28'),(3,3,3,'803.61','2023-03-29 09:38:28','2023-03-29 09:38:28'),(4,2,4,'958.13','2023-03-29 09:38:28','2023-03-29 09:38:28'),(5,2,5,'264.31','2023-03-29 09:38:28','2023-03-29 09:38:28'),(6,2,6,'947.24','2023-03-29 09:38:28','2023-03-29 09:38:28'),(7,1,7,'724.42','2023-03-29 09:38:28','2023-03-29 09:38:28'),(8,2,8,'303.54','2023-03-29 09:38:28','2023-03-29 09:38:28'),(9,3,9,'557.80','2023-03-29 09:38:28','2023-03-29 09:38:28'),(10,3,10,'412.62','2023-03-29 09:38:28','2023-03-29 09:38:28'),(11,1,11,'86.72','2023-03-29 09:38:28','2023-03-29 09:38:28'),(12,1,12,'264.45','2023-03-29 09:38:28','2023-03-29 09:38:28'),(13,2,13,'484.48','2023-03-29 09:38:28','2023-03-29 09:38:28'),(14,3,14,'926.99','2023-03-29 09:38:28','2023-03-29 09:38:28'),(15,1,12,'99.00','2023-03-29 10:11:01','2023-03-29 10:11:01'),(16,1,7,'11.00','2023-03-29 10:29:18','2023-03-29 10:29:18'),(17,4,6,'22.00','2023-03-29 10:36:06','2023-03-29 10:36:06');/*Table structure for table `token` */DROP TABLE IF EXISTS `token`;CREATE TABLE `token` (`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',`userid` bigint(20) NOT NULL COMMENT '员工id',`username` varchar(100) NOT NULL COMMENT '员工名',`tablename` varchar(100) DEFAULT NULL COMMENT '表名',`role` varchar(100) DEFAULT NULL COMMENT '角色',`token` varchar(200) NOT NULL COMMENT '密码',`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',`expiratedtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '过期时间',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='token表';/*Data for the table `token` */insert  into `token`(`id`,`userid`,`username`,`tablename`,`role`,`token`,`addtime`,`expiratedtime`) values (1,1,'a1','yonghu','用户','ssqko6a47s3pbxk2id94wodk35xwpvc1','2023-03-29 09:45:29','2023-03-29 11:37:14'),(2,1,'admin','users','管理员','go6g9bu6wm8pajjizp02ixq6u6bbpr50','2023-03-29 10:30:30','2023-03-29 11:37:42'),(3,4,'a5','yonghu','用户','s6yg4swcj2nsk3h52rkv79yvjwu5aof2','2023-03-29 10:35:07','2023-03-29 11:35:08');/*Table structure for table `users` */DROP TABLE IF EXISTS `users`;CREATE TABLE `users` (`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',`username` varchar(100) NOT NULL COMMENT '员工名',`password` varchar(100) NOT NULL COMMENT '密码',`role` varchar(100) DEFAULT '管理员' COMMENT '角色',`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='管理员';/*Data for the table `users` */insert  into `users`(`id`,`username`,`password`,`role`,`addtime`) values (1,'admin','admin','管理员','2023-03-29 09:36:14');/*Table structure for table `yonghu` */DROP TABLE IF EXISTS `yonghu`;CREATE TABLE `yonghu` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',`username` varchar(200) DEFAULT NULL COMMENT '账户',`password` varchar(200) DEFAULT NULL COMMENT '密码',`yonghu_name` varchar(200) DEFAULT NULL COMMENT '用户姓名 Search111 ',`yonghu_phone` varchar(200) DEFAULT NULL COMMENT '用户手机号',`yonghu_id_number` varchar(200) DEFAULT NULL COMMENT '用户身份证号',`yonghu_photo` varchar(200) DEFAULT NULL COMMENT '用户头像',`sex_types` int(11) DEFAULT NULL COMMENT '性别',`yonghu_email` varchar(200) DEFAULT NULL COMMENT '用户邮箱',`new_money` decimal(10,2) DEFAULT NULL COMMENT '余额 ',`jinyong_types` int(11) DEFAULT NULL COMMENT '账户状态 Search111 ',`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='用户';/*Data for the table `yonghu` */insert  into `yonghu`(`id`,`username`,`password`,`yonghu_name`,`yonghu_phone`,`yonghu_id_number`,`yonghu_photo`,`sex_types`,`yonghu_email`,`new_money`,`jinyong_types`,`create_time`) values (1,'a1','123456','用户姓名1','17703786901','410224199010102001','upload/yonghu1.jpg',1,'1@qq.com','25.09',1,'2023-03-29 09:38:28'),(2,'a2','123456','用户姓名2','17703786902','410224199010102002','upload/yonghu2.jpg',1,'2@qq.com','166.80',1,'2023-03-29 09:38:28'),(3,'a3','123456','用户姓名3','17703786903','410224199010102003','upload/yonghu3.jpg',2,'3@qq.com','687.34',1,'2023-03-29 09:38:28'),(4,'a5','123456','张5','17788889999','555555888899999999','upload/1680057348139.jpg',2,'5@qq.com','9977.00',1,'2023-03-29 10:35:03');/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

5、关键代码

5.1 流浪动物Controller模块 

/*** 流浪动物* 后端接口* @author  学长编程* @email* WeChat   jsjbysj88
*/
@RestController
@Controller
@RequestMapping("/liulangdongwu")
public class LiulangdongwuController {private static final Logger logger = LoggerFactory.getLogger(LiulangdongwuController.class);private static final String TABLE_NAME = "liulangdongwu";@Autowiredprivate LiulangdongwuService liulangdongwuService;@Autowiredprivate TokenService tokenService;@Autowiredprivate AddressService addressService;//收货地址@Autowiredprivate DictionaryService dictionaryService;//字典@Autowiredprivate ForumService forumService;//论坛@Autowiredprivate GonggaoService gonggaoService;//公告@Autowiredprivate LiulangdongwuCollectionService liulangdongwuCollectionService;//流浪动物收藏@Autowiredprivate LiulangdongwuHuafeiService liulangdongwuHuafeiService;//流浪动物花费@Autowiredprivate LiulangdongwuJinkuangService liulangdongwuJinkuangService;//流浪动物近况@Autowiredprivate LiulangdongwuLiuyanService liulangdongwuLiuyanService;//流浪动物留言@Autowiredprivate LiulangdongwuOrderService liulangdongwuOrderService;//流浪动物领养@Autowiredprivate LiulangdongwuZhuyangService liulangdongwuZhuyangService;//流浪动物助养@Autowiredprivate YonghuService yonghuService;//用户@Autowiredprivate UsersService usersService;//管理员/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params, HttpServletRequest request){logger.debug("page方法:,,Controller:{},,params:{}",this.getClass().getName(),JSONObject.toJSONString(params));String role = String.valueOf(request.getSession().getAttribute("role"));if(false)return R.error(511,"永不会进入");else if("用户".equals(role))params.put("yonghuId",request.getSession().getAttribute("userId"));params.put("liulangdongwuDeleteStart",1);params.put("liulangdongwuDeleteEnd",1);CommonUtil.checkMap(params);PageUtils page = liulangdongwuService.queryPage(params);//字典表数据转换List<LiulangdongwuView> list =(List<LiulangdongwuView>)page.getList();for(LiulangdongwuView c:list){//修改对应字典表字段dictionaryService.dictionaryConvert(c, request);}return R.ok().put("data", page);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id, HttpServletRequest request){logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);LiulangdongwuEntity liulangdongwu = liulangdongwuService.selectById(id);if(liulangdongwu !=null){//entity转viewLiulangdongwuView view = new LiulangdongwuView();BeanUtils.copyProperties( liulangdongwu , view );//把实体数据重构到view中//修改对应字典表字段dictionaryService.dictionaryConvert(view, request);return R.ok().put("data", view);}else {return R.error(511,"查不到数据");}}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody LiulangdongwuEntity liulangdongwu, HttpServletRequest request){logger.debug("save方法:,,Controller:{},,liulangdongwu:{}",this.getClass().getName(),liulangdongwu.toString());String role = String.valueOf(request.getSession().getAttribute("role"));if(false)return R.error(511,"永远不会进入");Wrapper<LiulangdongwuEntity> queryWrapper = new EntityWrapper<LiulangdongwuEntity>().eq("liulangdongwu_name", liulangdongwu.getLiulangdongwuName()).eq("liulangdongwu_types", liulangdongwu.getLiulangdongwuTypes()).eq("liulangdongwu_erji_types", liulangdongwu.getLiulangdongwuErjiTypes()).eq("liulangdongwu_age", liulangdongwu.getLiulangdongwuAge()).eq("liulangdongwu_jiezhong", liulangdongwu.getLiulangdongwuJiezhong()).eq("xingbie_types", liulangdongwu.getXingbieTypes()).eq("dongwu_zhuangtai_types", liulangdongwu.getDongwuZhuangtaiTypes()).eq("liulangdongwu_delete", 1);logger.info("sql语句:"+queryWrapper.getSqlSegment());LiulangdongwuEntity liulangdongwuEntity = liulangdongwuService.selectOne(queryWrapper);if(liulangdongwuEntity==null){liulangdongwu.setLiulangdongwuDelete(1);liulangdongwu.setCreateTime(new Date());liulangdongwuService.insert(liulangdongwu);return R.ok();}else {return R.error(511,"表中有相同数据");}}/*** 后端修改*/@RequestMapping("/update")public R update(@RequestBody LiulangdongwuEntity liulangdongwu, HttpServletRequest request) throws NoSuchFieldException, ClassNotFoundException, IllegalAccessException, InstantiationException {logger.debug("update方法:,,Controller:{},,liulangdongwu:{}",this.getClass().getName(),liulangdongwu.toString());LiulangdongwuEntity oldLiulangdongwuEntity = liulangdongwuService.selectById(liulangdongwu.getId());//查询原先数据String role = String.valueOf(request.getSession().getAttribute("role"));
//        if(false)
//            return R.error(511,"永远不会进入");if("".equals(liulangdongwu.getLiulangdongwuPhoto()) || "null".equals(liulangdongwu.getLiulangdongwuPhoto())){liulangdongwu.setLiulangdongwuPhoto(null);}liulangdongwuService.updateById(liulangdongwu);//根据id更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Integer[] ids, HttpServletRequest request){logger.debug("delete:,,Controller:{},,ids:{}",this.getClass().getName(),ids.toString());List<LiulangdongwuEntity> oldLiulangdongwuList =liulangdongwuService.selectBatchIds(Arrays.asList(ids));//要删除的数据ArrayList<LiulangdongwuEntity> list = new ArrayList<>();for(Integer id:ids){LiulangdongwuEntity liulangdongwuEntity = new LiulangdongwuEntity();liulangdongwuEntity.setId(id);liulangdongwuEntity.setLiulangdongwuDelete(2);list.add(liulangdongwuEntity);}if(list != null && list.size() >0){liulangdongwuService.updateBatchById(list);}return R.ok();}/*** 批量上传*/@RequestMapping("/batchInsert")public R save( String fileName, HttpServletRequest request){logger.debug("batchInsert方法:,,Controller:{},,fileName:{}",this.getClass().getName(),fileName);Integer yonghuId = Integer.valueOf(String.valueOf(request.getSession().getAttribute("userId")));SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//.eq("time", new SimpleDateFormat("yyyy-MM-dd").format(new Date()))try {List<LiulangdongwuEntity> liulangdongwuList = new ArrayList<>();//上传的东西Map<String, List<String>> seachFields= new HashMap<>();//要查询的字段Date date = new Date();int lastIndexOf = fileName.lastIndexOf(".");if(lastIndexOf == -1){return R.error(511,"该文件没有后缀");}else{String suffix = fileName.substring(lastIndexOf);if(!".xls".equals(suffix)){return R.error(511,"只支持后缀为xls的excel文件");}else{URL resource = this.getClass().getClassLoader().getResource("static/upload/" + fileName);//获取文件路径File file = new File(resource.getFile());if(!file.exists()){return R.error(511,"找不到上传文件,请联系管理员");}else{List<List<String>> dataList = PoiUtil.poiImport(file.getPath());//读取xls文件dataList.remove(0);//删除第一行,因为第一行是提示for(List<String> data:dataList){//循环LiulangdongwuEntity liulangdongwuEntity = new LiulangdongwuEntity();
//                            liulangdongwuEntity.setLiulangdongwuName(data.get(0));                    //流浪动物名称 要改的
//                            liulangdongwuEntity.setLiulangdongwuPhoto("");//详情和图片
//                            liulangdongwuEntity.setLiulangdongwuTypes(Integer.valueOf(data.get(0)));   //动物类型 要改的
//                            liulangdongwuEntity.setLiulangdongwuErjiTypes(Integer.valueOf(data.get(0)));   //详细类型 要改的
//                            liulangdongwuEntity.setLiulangdongwuAge(Integer.valueOf(data.get(0)));   //流浪动物年龄 要改的
//                            liulangdongwuEntity.setLiulangdongwuJiezhong(data.get(0));                    //疫苗接种 要改的
//                            liulangdongwuEntity.setXingbieTypes(Integer.valueOf(data.get(0)));   //性别 要改的
//                            liulangdongwuEntity.setLiulangdongwuZuyangjin(data.get(0));                    //助养金 要改的
//                            liulangdongwuEntity.setLiulangdongwuContent("");//详情和图片
//                            liulangdongwuEntity.setDongwuZhuangtaiTypes(Integer.valueOf(data.get(0)));   //动物状态 要改的
//                            liulangdongwuEntity.setLiulangdongwuDelete(1);//逻辑删除字段
//                            liulangdongwuEntity.setCreateTime(date);//时间liulangdongwuList.add(liulangdongwuEntity);//把要查询是否重复的字段放入map中}//查询是否重复liulangdongwuService.insertBatch(liulangdongwuList);return R.ok();}}}}catch (Exception e){e.printStackTrace();return R.error(511,"批量插入数据异常,请联系管理员");}}/*** 个性推荐*/@IgnoreAuth@RequestMapping("/gexingtuijian")public R gexingtuijian(@RequestParam Map<String, Object> params, HttpServletRequest request){logger.debug("gexingtuijian方法:,,Controller:{},,params:{}",this.getClass().getName(),JSONObject.toJSONString(params));CommonUtil.checkMap(params);List<LiulangdongwuView> returnLiulangdongwuViewList = new ArrayList<>();//查询订单Map<String, Object> params1 = new HashMap<>(params);params1.put("sort","id");params1.put("yonghuId",request.getSession().getAttribute("userId"));PageUtils pageUtils = liulangdongwuOrderService.queryPage(params1);List<LiulangdongwuOrderView> orderViewsList =(List<LiulangdongwuOrderView>)pageUtils.getList();Map<Integer,Integer> typeMap=new HashMap<>();//购买的类型listfor(LiulangdongwuOrderView orderView:orderViewsList){Integer liulangdongwuTypes = orderView.getLiulangdongwuTypes();if(typeMap.containsKey(liulangdongwuTypes)){typeMap.put(liulangdongwuTypes,typeMap.get(liulangdongwuTypes)+1);}else{typeMap.put(liulangdongwuTypes,1);}}List<Integer> typeList = new ArrayList<>();//排序后的有序的类型 按最多到最少typeMap.entrySet().stream().sorted((o1, o2) -> o2.getValue() - o1.getValue()).forEach(e -> typeList.add(e.getKey()));//排序Integer limit = Integer.valueOf(String.valueOf(params.get("limit")));for(Integer type:typeList){Map<String, Object> params2 = new HashMap<>(params);params2.put("liulangdongwuTypes",type);PageUtils pageUtils1 = liulangdongwuService.queryPage(params2);List<LiulangdongwuView> liulangdongwuViewList =(List<LiulangdongwuView>)pageUtils1.getList();returnLiulangdongwuViewList.addAll(liulangdongwuViewList);if(returnLiulangdongwuViewList.size()>= limit) break;//返回的推荐数量大于要的数量 跳出循环}//正常查询出来商品,用于补全推荐缺少的数据PageUtils page = liulangdongwuService.queryPage(params);if(returnLiulangdongwuViewList.size()<limit){//返回数量还是小于要求数量int toAddNum = limit - returnLiulangdongwuViewList.size();//要添加的数量List<LiulangdongwuView> liulangdongwuViewList =(List<LiulangdongwuView>)page.getList();for(LiulangdongwuView liulangdongwuView:liulangdongwuViewList){Boolean addFlag = true;for(LiulangdongwuView returnLiulangdongwuView:returnLiulangdongwuViewList){if(returnLiulangdongwuView.getId().intValue() ==liulangdongwuView.getId().intValue()) addFlag=false;//返回的数据中已存在此商品}if(addFlag){toAddNum=toAddNum-1;returnLiulangdongwuViewList.add(liulangdongwuView);if(toAddNum==0) break;//够数量了}}}else {returnLiulangdongwuViewList = returnLiulangdongwuViewList.subList(0, limit);}for(LiulangdongwuView c:returnLiulangdongwuViewList)dictionaryService.dictionaryConvert(c, request);page.setList(returnLiulangdongwuViewList);return R.ok().put("data", page);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params, HttpServletRequest request){logger.debug("list方法:,,Controller:{},,params:{}",this.getClass().getName(),JSONObject.toJSONString(params));CommonUtil.checkMap(params);PageUtils page = liulangdongwuService.queryPage(params);//字典表数据转换List<LiulangdongwuView> list =(List<LiulangdongwuView>)page.getList();for(LiulangdongwuView c:list)dictionaryService.dictionaryConvert(c, request); //修改对应字典表字段return R.ok().put("data", page);}/*** 前端详情*/@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id, HttpServletRequest request){logger.debug("detail方法:,,Controller:{},,id:{}",this.getClass().getName(),id);LiulangdongwuEntity liulangdongwu = liulangdongwuService.selectById(id);if(liulangdongwu !=null){//entity转viewLiulangdongwuView view = new LiulangdongwuView();BeanUtils.copyProperties( liulangdongwu , view );//把实体数据重构到view中//修改对应字典表字段dictionaryService.dictionaryConvert(view, request);return R.ok().put("data", view);}else {return R.error(511,"查不到数据");}}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody LiulangdongwuEntity liulangdongwu, HttpServletRequest request){logger.debug("add方法:,,Controller:{},,liulangdongwu:{}",this.getClass().getName(),liulangdongwu.toString());Wrapper<LiulangdongwuEntity> queryWrapper = new EntityWrapper<LiulangdongwuEntity>().eq("liulangdongwu_name", liulangdongwu.getLiulangdongwuName()).eq("liulangdongwu_types", liulangdongwu.getLiulangdongwuTypes()).eq("liulangdongwu_erji_types", liulangdongwu.getLiulangdongwuErjiTypes()).eq("liulangdongwu_age", liulangdongwu.getLiulangdongwuAge()).eq("liulangdongwu_jiezhong", liulangdongwu.getLiulangdongwuJiezhong()).eq("xingbie_types", liulangdongwu.getXingbieTypes()).eq("dongwu_zhuangtai_types", liulangdongwu.getDongwuZhuangtaiTypes()).eq("liulangdongwu_delete", liulangdongwu.getLiulangdongwuDelete())
//            .notIn("liulangdongwu_types", new Integer[]{102});logger.info("sql语句:"+queryWrapper.getSqlSegment());LiulangdongwuEntity liulangdongwuEntity = liulangdongwuService.selectOne(queryWrapper);if(liulangdongwuEntity==null){liulangdongwu.setLiulangdongwuDelete(1);liulangdongwu.setCreateTime(new Date());liulangdongwuService.insert(liulangdongwu);return R.ok();}else {return R.error(511,"表中有相同数据");}}}

5.2 流浪动物Service模块 

package com.service;import com.baomidou.mybatisplus.service.IService;
import com.utils.PageUtils;
import com.entity.LiulangdongwuEntity;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.lang.Nullable;
import java.util.List;/*** 流浪动物 服务类*/
public interface LiulangdongwuService extends IService<LiulangdongwuEntity> {/*** @param params 查询参数* @return 带分页的查询出来的数据*/PageUtils queryPage(Map<String, Object> params);}

5.3 流浪动物ServiceImpl模块

package com.service.impl;import com.utils.StringUtil;
import com.service.DictionaryService;
import com.utils.ClazzDiff;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.lang.reflect.Field;
import java.util.*;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.transaction.annotation.Transactional;
import com.utils.PageUtils;
import com.utils.Query;
import org.springframework.web.context.ContextLoader;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import com.dao.LiulangdongwuDao;
import com.entity.LiulangdongwuEntity;
import com.service.LiulangdongwuService;
import com.entity.view.LiulangdongwuView;/*** 流浪动物 服务实现类*/
@Service("liulangdongwuService")
@Transactional
public class LiulangdongwuServiceImpl extends ServiceImpl<LiulangdongwuDao, LiulangdongwuEntity> implements LiulangdongwuService {@Overridepublic PageUtils queryPage(Map<String,Object> params) {Page<LiulangdongwuView> page =new Query<LiulangdongwuView>(params).getPage();page.setRecords(baseMapper.selectListView(page,params));return new PageUtils(page);}}

5.4 流浪动物Dao模块

package com.dao;import com.entity.LiulangdongwuEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;import org.apache.ibatis.annotations.Param;
import com.entity.view.LiulangdongwuView;/*** 流浪动物 Dao 接口** @author  学长编程*/
public interface LiulangdongwuDao extends BaseMapper<LiulangdongwuEntity> {List<LiulangdongwuView> selectListView(Pagination page,@Param("params")Map<String,Object> params);}

6、论文目录结构

7、源码获取

感谢大家的阅读,如有不懂的问题可以评论区交流或私聊!

喜欢文章可以点赞、收藏、关注、评论

获取源码请私信

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/337904.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

chatglm3的api调用

conda activate chatglm3 cd openai_api_demo python openai_api.py 启动ok&#xff0c;然后内网映射后 anaconda启动jupyter !pip install openai1.6.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/ """ This script is an example of using the OpenAI …

vue+springboot+mybatis实现项目管理系统

项目前端&#xff1a;https://gitee.com/anxin-personal-project/project-management-front 项目后端&#xff1a;https://gitee.com/anxin-personal-project/project-management-behind 项目均可运行&#xff01;&#xff01;&#xff01;有问题留言&#xff0c;如果看到了会…

怎么投稿各大媒体网站?

怎么投稿各大媒体网站&#xff1f;这是很多写作者及自媒体从业者经常面临的问题。在信息爆炸的时代&#xff0c;如何将自己的文章推送到广大读者面前&#xff0c;成为了一个不可避免的挑战。本文将为大家介绍一种简单有效的投稿方法——媒介库发稿平台发稿&#xff0c;帮助大家…

网络协议与攻击模拟_03实施ARP欺骗和攻击

一、ARP攻击 1、实验环境 kali Linux &#xff08;安装arpspoof工具&#xff09;被攻击主机 2、kali配置 kali Linux系统是基于debian Linux系统&#xff0c;采用deb包管理方式&#xff0c;可以使用apt源的方式进行直接从源的安装。 配置kali网络源 vim /etc/apt/sources…

电脑USB接口不同颜色的含义

当你看到笔记本电脑或台式机的USB端口时&#xff0c;你会发现USB端口的颜色很多&#xff1b;这些颜色可不只是为了好看&#xff0c;实际上不同颜色代表着不同的性能&#xff0c;那么这些带颜色的USB端口都是什么含义呢&#xff0c;下面就具体介绍下不同颜色代表的含义。-----吴…

寒武纪bang的基础向量除法和规约编程

前言&#xff1a;寒武纪显卡是国产GPU公司开发的显卡&#xff0c;相比于英伟达(nvidia)公司的A100,V100&#xff0c;Geforce RTX显卡来说&#xff0c;不仅性能上有大量的不同&#xff0c;使用过程也有非常大的差异&#xff0c;本文尝试解读一些寒武纪显卡的基本使用情况。寒武纪…

Python GIL 一文全知道!

GIL 作为 Python 开发者心中永远的痛&#xff0c;在最近即将到来的更新中&#xff0c;终于要彻底解决了&#xff0c;整个 Python 社群都沸腾了 什么是GIL&#xff1f; GIL是英文学名global interpreter lock的缩写&#xff0c;中文翻译成全局解释器锁。GIL需要解决的是线程竞…

基于arcgis的遥感深度学习数据集制作

由于很多时候&#xff0c;我们在研究过程中往往需要根据实际情况使用自己的影像数据来提取目标物&#xff0c;如果没有合适的公开数据集的话&#xff0c;为了满足实际需要&#xff0c;我们就需要制作符合自己要求的数据集。 今天我们就根据实际情况来详细讲解如何利用arcgis&am…

Android OpenCV(七十七):官方指南方式编译 OpenCV Android SDK.md

前言 众所周知&#x1f633;&#xff0c; OpenCV 4.9.0 罕见的在 Android 平台上做出调整&#xff0c;具体更新内容请移步难得一见的 Android OpenCV ChangeLog。然而&#xff0c;近期笔者在查阅 OpenCV Github Wiki 时&#xff0c;又发现了新东西&#x1f921;&#xff0c;一…

【学习总结】地面路谱分析

本文仅用于记录自己的学习总结&#xff0c;包括个人理解。不保证内容严格正确。 0. 参考资料 [1] 国标GB/T 703-2005/ISO 8608:1995。[2] Bilibili-车辆考研-路面不平度统计特性[3] Bilibili-清华大学《汽车理论》[4] 网络参考文档.[5] 论文&#xff1a;高雄《路面不平度统计…

Scala入门到放弃—04—集合

文章目录 集合数组ListSetMapTuple其他 集合 数组 可变数组 package org.example object ArrayApp extends App{//继承App后直接直接调用函数&#xff0c;不需要main//println("hello")val a new Array[String](5)a(0)"hello"println(a(0))val b Array…

跟着我学Python进阶篇:02.面向对象(上)

往期文章 跟着我学Python基础篇&#xff1a;01.初露端倪 跟着我学Python基础篇&#xff1a;02.数字与字符串编程 跟着我学Python基础篇&#xff1a;03.选择结构 跟着我学Python基础篇&#xff1a;04.循环 跟着我学Python基础篇&#xff1a;05.函数 跟着我学Python基础篇&#…