当前位置:   article > 正文

基于微信小程序的高校新生报到系统(源码+文档+包运行)_基于微信小程序的新生报到系统

基于微信小程序的新生报到系统

基于微信小程序高校新生报到管理系统

毕设帮助、开题指导、技术解答,联系方式见文末
新生报到系统能够通过互联网得到广泛的、全面的宣传,让尽可能多的用户了解和熟知新生报到系统的便捷高效,不仅为群众提供了服务,而且也推广了自己,让更多的群众了解新生报到管理小程序。
本系统主要包括管理员和学生;主要包括首页、个人中心、学生管理、班级信息管理、师资力量管理、宿舍信息管理、宿舍安排管理、签到信息管理、在线缴费管理、论坛管理、我的收藏管理、系统管理等功能的管理系统。


技术环境

jdk版本:1.8 及以上
ide工具:Eclipse或者 IDEA,微信小程序开发工具
数据库: mysql5.7 (必须5.7)
编程语言: Java
tomcat: 8.0 及以上
java框架:SSM
maven: 3.6.1
详细技术:HTML+CSS+JAVA+SSM+MYSQL+VUE+MAVEN+微信开发工具


功能设计

小程序端包括首页、师资力量、论坛、我的(宿舍安排、签到信息、在线缴费、我的收藏管理、我要发帖、我的发帖)等;
后台管理端包括首页、个人中心、学生管理、班级信息管理、师资力量管理、宿舍信息管理、宿舍安排管理、签到信息管理、在线缴费管理、论坛管理、我的收藏管理、系统管理。
为了更好的去理清本系统整体思路,对该系统以结构图的形式表达出来,设计实现该新生报到系统的功能结构图如下所示:
在这里插入图片描述


部分代码展示

/**
 * 报道信息
 * 后端接口
 * @author 
 * @email 
 * @date 2022-04-26 22:00:28
 */
@RestController
@RequestMapping("/baodaoxinxi")
public class BaodaoxinxiController {
    @Autowired
    private BaodaoxinxiService baodaoxinxiService;
    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,BaodaoxinxiEntity baodaoxinxi, 
		HttpServletRequest request){

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("xuesheng")) {
			baodaoxinxi.setXuehao((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper<BaodaoxinxiEntity> ew = new EntityWrapper<BaodaoxinxiEntity>();
		PageUtils page = baodaoxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, baodaoxinxi), params), params));
        return R.ok().put("data", page);
    }
    
    /**
     * 前端列表
     */
	@IgnoreAuth
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,BaodaoxinxiEntity baodaoxinxi, 
		HttpServletRequest request){
        EntityWrapper<BaodaoxinxiEntity> ew = new EntityWrapper<BaodaoxinxiEntity>();
		PageUtils page = baodaoxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, baodaoxinxi), params), params));
        return R.ok().put("data", page);
    }

	/**
     * 列表
     */
    @RequestMapping("/lists")
    public R list( BaodaoxinxiEntity baodaoxinxi){
       	EntityWrapper<BaodaoxinxiEntity> ew = new EntityWrapper<BaodaoxinxiEntity>();
      	ew.allEq(MPUtil.allEQMapPre( baodaoxinxi, "baodaoxinxi")); 
        return R.ok().put("data", baodaoxinxiService.selectListView(ew));
    }

	 /**
     * 查询
     */
    @RequestMapping("/query")
    public R query(BaodaoxinxiEntity baodaoxinxi){
        EntityWrapper< BaodaoxinxiEntity> ew = new EntityWrapper< BaodaoxinxiEntity>();
 		ew.allEq(MPUtil.allEQMapPre( baodaoxinxi, "baodaoxinxi")); 
		BaodaoxinxiView baodaoxinxiView =  baodaoxinxiService.selectView(ew);
		return R.ok("查询报道信息成功").put("data", baodaoxinxiView);
    }
	
    /**
     * 后端详情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        BaodaoxinxiEntity baodaoxinxi = baodaoxinxiService.selectById(id);
        return R.ok().put("data", baodaoxinxi);
    }

    /**
     * 前端详情
     */
	@IgnoreAuth
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") Long id){
        BaodaoxinxiEntity baodaoxinxi = baodaoxinxiService.selectById(id);
        return R.ok().put("data", baodaoxinxi);
    }
    



    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody BaodaoxinxiEntity baodaoxinxi, HttpServletRequest request){
    	baodaoxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(baodaoxinxi);

        baodaoxinxiService.insert(baodaoxinxi);
        return R.ok();
    }
    
    /**
     * 前端保存
     */
    @RequestMapping("/add")
    public R add(@RequestBody BaodaoxinxiEntity baodaoxinxi, HttpServletRequest request){
    	baodaoxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(baodaoxinxi);

        baodaoxinxiService.insert(baodaoxinxi);
        return R.ok();
    }
    
    /**
     * 修改
     */
    @RequestMapping("/update")
    @Transactional
    public R update(@RequestBody BaodaoxinxiEntity baodaoxinxi, HttpServletRequest request){
        //ValidatorUtils.validateEntity(baodaoxinxi);
        baodaoxinxiService.updateById(baodaoxinxi);//全部更新
        return R.ok();
    }
    
    /**
     * 删除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        baodaoxinxiService.deleteBatchIds(Arrays.asList(ids));
        return R.ok();
    }
    
    /**
     * 提醒接口
     */
	@RequestMapping("/remind/{columnName}/{type}")
	public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, 
						 @PathVariable("type") String type,@RequestParam Map<String, Object> map) {
		map.put("column", columnName);
		map.put("type", type);
		
		if(type.equals("2")) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			Calendar c = Calendar.getInstance();
			Date remindStartDate = null;
			Date remindEndDate = null;
			if(map.get("remindstart")!=null) {
				Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
				c.setTime(new Date()); 
				c.add(Calendar.DAY_OF_MONTH,remindStart);
				remindStartDate = c.getTime();
				map.put("remindstart", sdf.format(remindStartDate));
			}
			if(map.get("remindend")!=null) {
				Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
				c.setTime(new Date());
				c.add(Calendar.DAY_OF_MONTH,remindEnd);
				remindEndDate = c.getTime();
				map.put("remindend", sdf.format(remindEndDate));
			}
		}
		
		Wrapper<BaodaoxinxiEntity> wrapper = new EntityWrapper<BaodaoxinxiEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("xuesheng")) {
			wrapper.eq("xuehao", (String)request.getSession().getAttribute("username"));
		}

		int count = baodaoxinxiService.selectCount(wrapper);
		return R.ok().put("count", count);
	}
}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174

部分系统截图

小程序端:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

管理系统端:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

文章目录

目 录 III
第一章 概述 1
1.1 研究背景 1
1.2 开发意义 1
1.3 研究现状 1
1.4 研究内容 2
1.5 论文结构 2
第二章 开发技术介绍 1
2.1 系统开发平台 1
2.2 平台开发相关技术 1
2.2.1 Java语言简介 1
2.2.2 微信小程序框架 2
2.2.3 mysql数据库介绍 2
2.2.4 MySQL环境配置 2
2.2.5 B/S架构 3
2.2.6 SSM框架 3
第三章 系统分析 1
3.1 可行性分析 1
3.1.1 技术可行性 1
3.1.2 操作可行性 1
3.1.3 经济可行性 1
3.2性能需求分析 1
3.3功能分析 2
第四章 系统设计 4
4.1功能结构 4
4.2 数据库设计 4
4.2.1 数据库E/R图 4
4.2.2 数据库表 5
第五章 系统功能实现 13
5.1小程序端 13
5.2管理员功能模块 15
第六章 系统测试 21
第七章 总结与心得体会 22
7.1 总结 22
7.2 心得体会 22
致 谢 23
参考文献 24

最后

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/神奇cpp/article/detail/758059
推荐阅读
相关标签
  

闽ICP备14008679号