当前位置: 首页 > article >正文

基于微信小程序的校园二手交易平台设计与实现,微信小程序(定制+讲解+咨询)校园二手商品在线交易系统、校园二手市场管理与推荐工具、智能化商品交易与推荐平台

博主介绍:
    ✌我是阿龙,一名专注于Java技术领域的程序员,全网拥有10W+粉丝。作为CSDN特邀作者、博客专家、新星计划导师,我在计算机毕业设计开发方面积累了丰富的经验。同时,我也是掘金、华为云、阿里云、InfoQ等平台的优质作者。通过长期分享和实战指导,我致力于帮助更多学生完成毕业项目和技术提升。

技术范围:
    我熟悉的技术领域涵盖SpringBoot、Vue、SSM、HLMT、Jsp、PHP、Nodejs、Python、爬虫、数据可视化、小程序、安卓app、大数据、物联网、机器学习等方面的设计与开发。如果你有任何技术难题,我都乐意与你分享解决方案。

 为什么选择阅读我:

我是程序阿龙,专注于软件开发,拥有丰富的编程能力和实战经验。在过去的几年里,我辅导了上千名学生,帮助他们顺利完成毕业项目,同时我的技术分享也吸引了超过50W+的粉丝。我是CSDN特邀作者、博客专家、新星计划导师,并在Java领域内获得了多项荣誉,如博客之星。我的作品也被掘金、华为云、阿里云、InfoQ等多个平台推荐,成为各大平台的优质作者。

🍅获取源码请在文末联系我🍅

目录

目录

系统实现界面:

系统实现:

数据库核心代码:

​编辑

案例实现

一、详细操作演示视频
       在文章的尾声,您会发现一张电子名片👤,欢迎通过名片上的联系方式与我取得联系,以获取更多关于项目演示的详尽视频内容。视频将帮助您全面理解项目的关键点和操作流程。期待与您的进一步交流!

系统实现界面:

系统实现:

package com.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.utils.PageUtils;
import com.entity.DiscussershoushangchengEntity;
import java.util.List;
import java.util.Map;
import com.entity.vo.DiscussershoushangchengVO;
import org.apache.ibatis.annotations.Param;
import com.entity.view.DiscussershoushangchengView;


/**
 * 二手商城评论表
 *
 * @author 
 * @email 
 * @date 2024-04-28 12:02:38
 */
public interface DiscussershoushangchengService extends IService<DiscussershoushangchengEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
   	List<DiscussershoushangchengVO> selectListVO(Wrapper<DiscussershoushangchengEntity> wrapper);
   	
   	DiscussershoushangchengVO selectVO(@Param("ew") Wrapper<DiscussershoushangchengEntity> wrapper);
   	
   	List<DiscussershoushangchengView> selectListView(Wrapper<DiscussershoushangchengEntity> wrapper);
   	
   	DiscussershoushangchengView selectView(@Param("ew") Wrapper<DiscussershoushangchengEntity> wrapper);
   	
   	PageUtils queryPage(Map<String, Object> params,Wrapper<DiscussershoushangchengEntity> wrapper);

   	

}

数据库核心代码:

--
-- Current Database: `springbootc9u9lr84`
--

/*!40000 DROP DATABASE IF EXISTS `springbootc9u9lr84`*/;

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `springbootc9u9lr84` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;

USE `springbootc9u9lr84`;

--
-- Table structure for table `aboutus`
--

DROP TABLE IF EXISTS `aboutus`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `aboutus` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `title` varchar(200) NOT NULL COMMENT '标题',
  `subtitle` varchar(200) DEFAULT NULL COMMENT '副标题',
  `content` longtext NOT NULL COMMENT '内容',
  `picture1` longtext COMMENT '图片1',
  `picture2` longtext COMMENT '图片2',
  `picture3` longtext COMMENT '图片3',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='关于我们';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `aboutus`
--

LOCK TABLES `aboutus` WRITE;
/*!40000 ALTER TABLE `aboutus` DISABLE KEYS */;
INSERT INTO `aboutus` VALUES (1,'2024-04-28 04:03:06','关于我们','ABOUT US','当你设想门外是寒冷可怕的世界时,你还应该开门出去看看,是否真的如此。如果你有信心,你对前途就不犹豫了。如果你有勇气,你就不怕前途是否有困难或危险了每个人心中都应有两盏灯,一盏是希望的灯,一盏是勇气的灯。有了这两盏灯,我们就不怕海上的黑暗和风涛的险恶了。人的一生很像是在雾中行走。远远望去,只是迷蒙一片,辨不出方向和吉凶。可是,当你鼓起勇气,放下恐惧和怀疑,一步一步向前走去的时候,你就会发现,每走一步,你都能把下一步路看得清楚一点。“往前走,别站在远远的地方观望!”你就可以找到你的方向。','upload/aboutus_picture1.jpg','upload/aboutus_picture2.jpg','upload/aboutus_picture3.jpg');
/*!40000 ALTER TABLE `aboutus` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `address`
--

DROP TABLE IF EXISTS `address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `address` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `address` varchar(200) NOT NULL COMMENT '地址',
  `name` varchar(200) NOT NULL COMMENT '收货人',
  `phone` varchar(200) NOT NULL COMMENT '电话',
  `isdefault` varchar(200) NOT NULL COMMENT '是否默认地址[是/否]',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='地址';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `address`
--

LOCK TABLES `address` WRITE;
/*!40000 ALTER TABLE `address` DISABLE KEYS */;
INSERT INTO `address` VALUES (1,'2024-04-28 04:03:06',11,'宇宙银河系金星1号','金某','13823888881','是'),(2,'2024-04-28 04:03:06',12,'宇宙银河系木星1号','木某','13823888882','是'),(3,'2024-04-28 04:03:06',13,'宇宙银河系水星1号','水某','13823888883','是'),(4,'2024-04-28 04:03:06',14,'宇宙银河系火星1号','火某','13823888884','是'),(5,'2024-04-28 04:03:06',15,'宇宙银河系土星1号','土某','13823888885','是'),(6,'2024-04-28 04:03:06',16,'宇宙银河系月球1号','月某','13823888886','是'),(7,'2024-04-28 04:03:06',17,'宇宙银河系黑洞1号','黑某','13823888887','是'),(8,'2024-04-28 04:03:06',18,'宇宙银河系地球1号','地某','13823888888','是');
/*!40000 ALTER TABLE `address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cart`
--

DROP TABLE IF EXISTS `cart`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `tablename` varchar(200) DEFAULT 'ershoushangcheng' COMMENT '商品表名',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `goodid` bigint(20) NOT NULL COMMENT '商品id',
  `goodname` varchar(200) DEFAULT NULL COMMENT '商品名称',
  `picture` longtext COMMENT '图片',
  `buynumber` int(11) NOT NULL COMMENT '购买数量',
  `price` double DEFAULT NULL COMMENT '单价',
  `shangjiazhanghao` varchar(200) DEFAULT NULL COMMENT '商户名称',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='购物车表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cart`
--

LOCK TABLES `cart` WRITE;
/*!40000 ALTER TABLE `cart` DISABLE KEYS */;
/*!40000 ALTER TABLE `cart` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chatmessage`
--

DROP TABLE IF EXISTS `chatmessage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chatmessage` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `uid` bigint(20) NOT NULL COMMENT '用户ID',
  `fid` bigint(20) NOT NULL COMMENT '好友用户ID',
  `content` varchar(200) DEFAULT NULL COMMENT '内容',
  `format` int(11) DEFAULT NULL COMMENT '格式(1:文字,2:图片)',
  `isread` int(11) DEFAULT '0' COMMENT '消息已读(0:未读,1:已读)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='消息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chatmessage`
--

LOCK TABLES `chatmessage` WRITE;
/*!40000 ALTER TABLE `chatmessage` DISABLE KEYS */;
/*!40000 ALTER TABLE `chatmessage` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config`
--

DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(100) NOT NULL COMMENT '配置参数名称',
  `value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
  `url` varchar(500) DEFAULT NULL COMMENT 'url',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='配置文件';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config`
--

LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES (1,'picture1','upload/picture1.jpg',NULL),(2,'picture2','upload/picture2.jpg',NULL),(3,'picture3','upload/picture3.jpg',NULL);
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `discussershoushangcheng`
--

DROP TABLE IF EXISTS `discussershoushangcheng`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discussershoushangcheng` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `refid` bigint(20) NOT NULL COMMENT '关联表id',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `avatarurl` longtext COMMENT '头像',
  `nickname` varchar(200) DEFAULT NULL COMMENT '用户名',
  `content` longtext NOT NULL COMMENT '评论内容',
  `reply` longtext COMMENT '回复内容',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='二手商城评论表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `discussershoushangcheng`
--

LOCK TABLES `discussershoushangcheng` WRITE;
/*!40000 ALTER TABLE `discussershoushangcheng` DISABLE KEYS */;
/*!40000 ALTER TABLE `discussershoushangcheng` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ershoushangcheng`
--

DROP TABLE IF EXISTS `ershoushangcheng`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ershoushangcheng` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `shangpinbianhao` varchar(200) DEFAULT NULL COMMENT '商品编号',
  `shangpinmingcheng` varchar(200) DEFAULT NULL COMMENT '商品名称',
  `shangpinfenlei` varchar(200) DEFAULT NULL COMMENT '商品分类',
  `shangpinzhaopian` longtext COMMENT '商品照片',
  `xinjiuchengdu` varchar(200) DEFAULT NULL COMMENT '新旧程度',
  `shangjiashijian` date DEFAULT NULL COMMENT '上架时间',
  `shangpinxiangqing` longtext COMMENT '商品详情',
  `shangjiazhanghao` varchar(200) DEFAULT NULL COMMENT '商家账号',
  `shangjiaxingming` varchar(200) DEFAULT NULL COMMENT '商家姓名',
  `onelimittimes` int(11) DEFAULT NULL COMMENT '单限',
  `alllimittimes` int(11) DEFAULT NULL COMMENT '库存',
  `clicktime` datetime DEFAULT NULL COMMENT '最近点击时间',
  `clicknum` int(11) DEFAULT '0' COMMENT '点击次数',
  `discussnum` int(11) DEFAULT '0' COMMENT '评论数',
  `jf` int(11) DEFAULT '-1' COMMENT '积分',
  `price` double NOT NULL COMMENT '价格',
  `storeupnum` int(11) DEFAULT '0' COMMENT '收藏数',
  PRIMARY KEY (`id`),
  UNIQUE KEY `shangpinbianhao` (`shangpinbianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8 COMMENT='二手商城';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ershoushangcheng`
--

LOCK TABLES `ershoushangcheng` WRITE;
/*!40000 ALTER TABLE `ershoushangcheng` DISABLE KEYS */;
INSERT INTO `ershoushangcheng` VALUES (41,'2024-04-28 04:03:05','1111111111','商品名称1','商品分类1','upload/ershoushangcheng_shangpinzhaopian1.jpg,upload/ershoushangcheng_shangpinzhaopian2.jpg,upload/ershoushangcheng_shangpinzhaopian3.jpg','全新','2024-04-28','商品详情1','商家账号1','商家姓名1',1,99,'2024-04-28 12:03:05',1,0,10000,99.9,1),(42,'2024-04-28 04:03:05','2222222222','商品名称2','商品分类2','upload/ershoushangcheng_shangpinzhaopian2.jpg,upload/ershoushangcheng_shangpinzhaopian3.jpg,upload/ershoushangcheng_shangpinzhaopian4.jpg','全新','2024-04-28','商品详情2','商家账号2','商家姓名2',2,99,'2024-04-28 12:03:05',2,0,10000,99.9,2),(43,'2024-04-28 04:03:05','3333333333','商品名称3','商品分类3','upload/ershoushangcheng_shangpinzhaopian3.jpg,upload/ershoushangcheng_shangpinzhaopian4.jpg,upload/ershoushangcheng_shangpinzhaopian5.jpg','全新','2024-04-28','商品详情3','商家账号3','商家姓名3',3,99,'2024-04-28 12:03:05',3,0,10000,99.9,3),(44,'2024-04-28 04:03:05','4444444444','商品名称4','商品分类4','upload/ershoushangcheng_shangpinzhaopian4.jpg,upload/ershoushangcheng_shangpinzhaopian5.jpg,upload/ershoushangcheng_shangpinzhaopian6.jpg','全新','2024-04-28','商品详情4','商家账号4','商家姓名4',4,99,'2024-04-28 12:03:05',4,0,10000,99.9,4),(45,'2024-04-28 04:03:05','5555555555','商品名称5','商品分类5','upload/ershoushangcheng_shangpinzhaopian5.jpg,upload/ershoushangcheng_shangpinzhaopian6.jpg,upload/ershoushangcheng_shangpinzhaopian7.jpg','全新','2024-04-28','商品详情5','商家账号5','商家姓名5',5,99,'2024-04-28 12:03:05',5,0,10000,99.9,5),(46,'2024-04-28 04:03:05','6666666666','商品名称6','商品分类6','upload/ershoushangcheng_shangpinzhaopian6.jpg,upload/ershoushangcheng_shangpinzhaopian7.jpg,upload/ershoushangcheng_shangpinzhaopian8.jpg','全新','2024-04-28','商品详情6','商家账号6','商家姓名6',6,99,'2024-04-28 12:03:05',6,0,10000,99.9,6),(47,'2024-04-28 04:03:05','7777777777','商品名称7','商品分类7','upload/ershoushangcheng_shangpinzhaopian7.jpg,upload/ershoushangcheng_shangpinzhaopian8.jpg,upload/ershoushangcheng_shangpinzhaopian9.jpg','全新','2024-04-28','商品详情7','商家账号7','商家姓名7',7,99,'2024-04-28 12:03:05',7,0,10000,99.9,7),(48,'2024-04-28 04:03:05','8888888888','商品名称8','商品分类8','upload/ershoushangcheng_shangpinzhaopian8.jpg,upload/ershoushangcheng_shangpinzhaopian9.jpg,upload/ershoushangcheng_shangpinzhaopian10.jpg','全新','2024-04-28','商品详情8','商家账号8','商家姓名8',8,99,'2024-04-28 12:03:05',8,0,10000,99.9,8);
/*!40000 ALTER TABLE `ershoushangcheng` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `forum`
--

DROP TABLE IF EXISTS `forum`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `forum` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `title` varchar(200) DEFAULT NULL COMMENT '帖子标题',
  `content` longtext NOT NULL COMMENT '帖子内容',
  `parentid` bigint(20) DEFAULT NULL COMMENT '父节点id',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `username` varchar(200) DEFAULT NULL COMMENT '用户名',
  `avatarurl` longtext COMMENT '头像',
  `isdone` varchar(200) DEFAULT NULL COMMENT '状态',
  `istop` int(11) DEFAULT '0' COMMENT '是否置顶',
  `toptime` datetime DEFAULT NULL COMMENT '置顶时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=119 DEFAULT CHARSET=utf8 COMMENT='交流论坛';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `forum`
--

LOCK TABLES `forum` WRITE;
/*!40000 ALTER TABLE `forum` DISABLE KEYS */;
INSERT INTO `forum` VALUES (111,'2024-04-28 04:03:05','帖子标题1','帖子内容1',0,1,'用户名1','upload/forum_avatarurl1.jpg,upload/forum_avatarurl2.jpg,upload/forum_avatarurl3.jpg','开放',0,'2024-04-28 12:03:05'),(112,'2024-04-28 04:03:05','帖子标题2','帖子内容2',0,2,'用户名2','upload/forum_avatarurl2.jpg,upload/forum_avatarurl3.jpg,upload/forum_avatarurl4.jpg','开放',0,'2024-04-28 12:03:05'),(113,'2024-04-28 04:03:05','帖子标题3','帖子内容3',0,3,'用户名3','upload/forum_avatarurl3.jpg,upload/forum_avatarurl4.jpg,upload/forum_avatarurl5.jpg','开放',0,'2024-04-28 12:03:05'),(114,'2024-04-28 04:03:05','帖子标题4','帖子内容4',0,4,'用户名4','upload/forum_avatarurl4.jpg,upload/forum_avatarurl5.jpg,upload/forum_avatarurl6.jpg','开放',0,'2024-04-28 12:03:05'),(115,'2024-04-28 04:03:06','帖子标题5','帖子内容5',0,5,'用户名5','upload/forum_avatarurl5.jpg,upload/forum_avatarurl6.jpg,upload/forum_avatarurl7.jpg','开放',0,'2024-04-28 12:03:06'),(116,'2024-04-28 04:03:06','帖子标题6','帖子内容6',0,6,'用户名6','upload/forum_avatarurl6.jpg,upload/forum_avatarurl7.jpg,upload/forum_avatarurl8.jpg','开放',0,'2024-04-28 12:03:06'),(117,'2024-04-28 04:03:06','帖子标题7','帖子内容7',0,7,'用户名7','upload/forum_avatarurl7.jpg,upload/forum_avatarurl8.jpg,upload/forum_avatarurl9.jpg','开放',0,'2024-04-28 12:03:06'),(118,'2024-04-28 04:03:06','帖子标题8','帖子内容8',0,8,'用户名8','upload/forum_avatarurl8.jpg,upload/forum_avatarurl9.jpg,upload/forum_avatarurl10.jpg','开放',0,'2024-04-28 12:03:06');
/*!40000 ALTER TABLE `forum` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `friend`
--

DROP TABLE IF EXISTS `friend`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `friend` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `uid` bigint(20) NOT NULL COMMENT '用户ID',
  `fid` bigint(20) NOT NULL COMMENT '好友用户ID',
  `name` varchar(200) NOT NULL COMMENT '名称',
  `picture` longtext NOT NULL COMMENT '图片',
  `role` varchar(200) DEFAULT NULL COMMENT '角色',
  `tablename` varchar(200) DEFAULT NULL COMMENT '表名',
  `alias` varchar(200) DEFAULT NULL COMMENT '别名',
  `type` int(11) DEFAULT '0' COMMENT '类型(0:好友申请,1:好友,2:消息)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='好友表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `friend`
--

LOCK TABLES `friend` WRITE;
/*!40000 ALTER TABLE `friend` DISABLE KEYS */;
/*!40000 ALTER TABLE `friend` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gongyilan`
--

DROP TABLE IF EXISTS `gongyilan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gongyilan` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `xueshengzhanghao` varchar(200) DEFAULT NULL COMMENT '学生账号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `xueshengzhaopian` longtext COMMENT '学生照片',
  `pinkunzhuangtai` varchar(200) DEFAULT NULL COMMENT '贫困状态',
  `pinkunmiaoshu` longtext COMMENT '贫困描述',
  `pinkunxiangqing` longtext COMMENT '贫困详情',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COMMENT='公益栏';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gongyilan`
--

LOCK TABLES `gongyilan` WRITE;
/*!40000 ALTER TABLE `gongyilan` DISABLE KEYS */;
INSERT INTO `gongyilan` VALUES (61,'2024-04-28 04:03:05','学生账号1','学生姓名1','upload/gongyilan_xueshengzhaopian1.jpg,upload/gongyilan_xueshengzhaopian2.jpg,upload/gongyilan_xueshengzhaopian3.jpg','极度贫困','贫困描述1','贫困详情1'),(62,'2024-04-28 04:03:05','学生账号2','学生姓名2','upload/gongyilan_xueshengzhaopian2.jpg,upload/gongyilan_xueshengzhaopian3.jpg,upload/gongyilan_xueshengzhaopian4.jpg','极度贫困','贫困描述2','贫困详情2'),(63,'2024-04-28 04:03:05','学生账号3','学生姓名3','upload/gongyilan_xueshengzhaopian3.jpg,upload/gongyilan_xueshengzhaopian4.jpg,upload/gongyilan_xueshengzhaopian5.jpg','极度贫困','贫困描述3','贫困详情3'),(64,'2024-04-28 04:03:05','学生账号4','学生姓名4','upload/gongyilan_xueshengzhaopian4.jpg,upload/gongyilan_xueshengzhaopian5.jpg,upload/gongyilan_xueshengzhaopian6.jpg','极度贫困','贫困描述4','贫困详情4'),(65,'2024-04-28 04:03:05','学生账号5','学生姓名5','upload/gongyilan_xueshengzhaopian5.jpg,upload/gongyilan_xueshengzhaopian6.jpg,upload/gongyilan_xueshengzhaopian7.jpg','极度贫困','贫困描述5','贫困详情5'),(66,'2024-04-28 04:03:05','学生账号6','学生姓名6','upload/gongyilan_xueshengzhaopian6.jpg,upload/gongyilan_xueshengzhaopian7.jpg,upload/gongyilan_xueshengzhaopian8.jpg','极度贫困','贫困描述6','贫困详情6'),(67,'2024-04-28 04:03:05','学生账号7','学生姓名7','upload/gongyilan_xueshengzhaopian7.jpg,upload/gongyilan_xueshengzhaopian8.jpg,upload/gongyilan_xueshengzhaopian9.jpg','极度贫困','贫困描述7','贫困详情7'),(68,'2024-04-28 04:03:05','学生账号8','学生姓名8','upload/gongyilan_xueshengzhaopian8.jpg,upload/gongyilan_xueshengzhaopian9.jpg,upload/gongyilan_xueshengzhaopian10.jpg','极度贫困','贫困描述8','贫困详情8');
/*!40000 ALTER TABLE `gongyilan` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `juanzengxinxi`
--

DROP TABLE IF EXISTS `juanzengxinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `juanzengxinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `juanzengbianhao` varchar(200) DEFAULT NULL COMMENT '捐赠编号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `xueshengzhanghao` varchar(200) DEFAULT NULL COMMENT '学生账号',
  `xueshengzhaopian` longtext COMMENT '学生照片',
  `juanzengshijian` date DEFAULT NULL COMMENT '捐赠时间',
  `juanzengjine` double DEFAULT NULL COMMENT '捐赠金额',
  `jf` double DEFAULT NULL COMMENT '获得积分',
  `ruzhangjifen` double DEFAULT NULL COMMENT '入账积分',
  `juanzengzhanghao` varchar(200) DEFAULT NULL COMMENT '捐赠账号',
  `juanzengzhe` varchar(200) DEFAULT NULL COMMENT '捐赠者',
  `sfsh` varchar(200) DEFAULT '待审核' COMMENT '是否审核',
  `shhf` longtext COMMENT '审核回复',
  `ispay` varchar(200) DEFAULT '未支付' COMMENT '是否支付',
  PRIMARY KEY (`id`),
  UNIQUE KEY `juanzengbianhao` (`juanzengbianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8 COMMENT='捐赠信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `juanzengxinxi`
--

LOCK TABLES `juanzengxinxi` WRITE;
/*!40000 ALTER TABLE `juanzengxinxi` DISABLE KEYS */;
INSERT INTO `juanzengxinxi` VALUES (71,'2024-04-28 04:03:05','1111111111','学生姓名1','学生账号1','upload/juanzengxinxi_xueshengzhaopian1.jpg,upload/juanzengxinxi_xueshengzhaopian2.jpg,upload/juanzengxinxi_xueshengzhaopian3.jpg','2024-04-28',1,10000,1,'捐赠账号1','捐赠者1','是','','未支付'),(72,'2024-04-28 04:03:05','2222222222','学生姓名2','学生账号2','upload/juanzengxinxi_xueshengzhaopian2.jpg,upload/juanzengxinxi_xueshengzhaopian3.jpg,upload/juanzengxinxi_xueshengzhaopian4.jpg','2024-04-28',2,10000,2,'捐赠账号2','捐赠者2','是','','未支付'),(73,'2024-04-28 04:03:05','3333333333','学生姓名3','学生账号3','upload/juanzengxinxi_xueshengzhaopian3.jpg,upload/juanzengxinxi_xueshengzhaopian4.jpg,upload/juanzengxinxi_xueshengzhaopian5.jpg','2024-04-28',3,10000,3,'捐赠账号3','捐赠者3','是','','未支付'),(74,'2024-04-28 04:03:05','4444444444','学生姓名4','学生账号4','upload/juanzengxinxi_xueshengzhaopian4.jpg,upload/juanzengxinxi_xueshengzhaopian5.jpg,upload/juanzengxinxi_xueshengzhaopian6.jpg','2024-04-28',4,10000,4,'捐赠账号4','捐赠者4','是','','未支付'),(75,'2024-04-28 04:03:05','5555555555','学生姓名5','学生账号5','upload/juanzengxinxi_xueshengzhaopian5.jpg,upload/juanzengxinxi_xueshengzhaopian6.jpg,upload/juanzengxinxi_xueshengzhaopian7.jpg','2024-04-28',5,10000,5,'捐赠账号5','捐赠者5','是','','未支付'),(76,'2024-04-28 04:03:05','6666666666','学生姓名6','学生账号6','upload/juanzengxinxi_xueshengzhaopian6.jpg,upload/juanzengxinxi_xueshengzhaopian7.jpg,upload/juanzengxinxi_xueshengzhaopian8.jpg','2024-04-28',6,10000,6,'捐赠账号6','捐赠者6','是','','未支付'),(77,'2024-04-28 04:03:05','7777777777','学生姓名7','学生账号7','upload/juanzengxinxi_xueshengzhaopian7.jpg,upload/juanzengxinxi_xueshengzhaopian8.jpg,upload/juanzengxinxi_xueshengzhaopian9.jpg','2024-04-28',7,10000,7,'捐赠账号7','捐赠者7','是','','未支付'),(78,'2024-04-28 04:03:05','8888888888','学生姓名8','学生账号8','upload/juanzengxinxi_xueshengzhaopian8.jpg,upload/juanzengxinxi_xueshengzhaopian9.jpg,upload/juanzengxinxi_xueshengzhaopian10.jpg','2024-04-28',8,10000,8,'捐赠账号8','捐赠者8','是','','未支付');
/*!40000 ALTER TABLE `juanzengxinxi` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `news`
--

DROP TABLE IF EXISTS `news`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `news` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `title` varchar(200) NOT NULL COMMENT '标题',
  `introduction` longtext COMMENT '简介',
  `typename` varchar(200) DEFAULT NULL COMMENT '分类名称',
  `name` varchar(200) DEFAULT NULL COMMENT '发布人',
  `headportrait` longtext COMMENT '头像',
  `clicknum` int(11) DEFAULT '0' COMMENT '点击次数',
  `clicktime` datetime DEFAULT NULL COMMENT '最近点击时间',
  `thumbsupnum` int(11) DEFAULT '0' COMMENT '赞',
  `crazilynum` int(11) DEFAULT '0' COMMENT '踩',
  `storeupnum` int(11) DEFAULT '0' COMMENT '收藏数',
  `picture` longtext NOT NULL COMMENT '图片',
  `content` longtext NOT NULL COMMENT '内容',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=utf8 COMMENT='公告资讯';
/*!40101 SET character_set_client = @saved_cs_client */;

案例实现

为什么选择我

我是程序阿龙,专注于软件开发,拥有丰富的编程能力和实战经验。在过去的几年里,我辅导了上千名学生,帮助他们顺利完成毕业项目,同时我的技术分享也吸引了超过50W+的粉丝。我是CSDN特邀作者、博客专家、新星计划导师,并在Java领域内获得了多项荣誉,如博客之星。我的作品也被掘金、华为云、阿里云、InfoQ等多个平台推荐,成为各大平台的优质作者。
 


http://www.kler.cn/a/412209.html

相关文章:

  • 卡尔曼滤波详细推导
  • 从零开始学 Maven:简化 Java 项目的构建与管理
  • 如何设计和实现通用唯一 Code 生成方法
  • C#中面试的常见问题001
  • 【AI系统】Tensor Core 架构演进
  • Sourcetree:一款强大的Git客户端
  • 网络安全、Web安全、渗透测试之笔经面经总结(一)
  • FastAPI学习最后一天: Cors跨域和token鉴权
  • MySQL 存储引擎切换场景与示例
  • 泷羽Sec学习笔记:shell(2)永久环境变量和字符串显位
  • 【Vue】计算属性
  • Leetcode 每日一题 3.无重复字符的最长子串
  • 基于springboot的雪具销售系统
  • “华为杯”研究生数学建模比赛历年赛题汇总(2004-2024)
  • localStorage缓存 接口 配置
  • python写共享内存,格式json
  • 实践篇:青果IP助理跨境电商的高效采集
  • JQuery -- 第九课
  • AWS IAM 及其功能
  • 『VUE』33. 组件保持存活,切换组件时的生命周期(详细图文注释)
  • 标记matlab曲线的x坐标
  • pyhton+yaml+pytest+allure框架封装-全局变量接口关联
  • C#调用C++ DLL方法之C++/CLI(托管C++)
  • web分页查询
  • Linux 生成/proc/config.gz
  • Java项目实战II基于微信小程序的校运会管理系统(开发文档+数据库+源码)