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());
做了那么多年开发,自学了很多门编程语言,我很明白学习资源对于学一门新语言的重要性,这些年也收藏了不少的Python干货,对我来说这些东西确实已经用不到了,但对于准备自学Python的人来说,或许它就是一个宝藏,可以给你省去很多的时间和精力。
别在网上瞎学了,我最近也做了一些资源的更新,只要你是我的粉丝,这期福利你都可拿走。
我先来介绍一下这些东西怎么用,文末抱走。
* * *
**(1)Python所有方向的学习路线(新版)**
这是我花了几天的时间去把Python所有方向的技术点做的整理,形成各个领域的知识点汇总,它的用处就在于,你可以按照上面的知识点去找对应的学习资源,保证自己学得较为全面。
最近我才对这些路线做了一下新的更新,知识体系更全面了。
![在这里插入图片描述](https://img-blog.csdnimg.cn/8fc093dcfa1f476694c574db1242c05b.png)
**(2)Python学习视频**
包含了Python入门、爬虫、数据分析和web开发的学习视频,总共100多个,虽然没有那么全面,但是对于入门来说是没问题的,学完这些之后,你可以按照我上面的学习路线去网上找其他的知识资源进行进阶。
![在这里插入图片描述](https://img-blog.csdnimg.cn/d66e3ad5592f4cdcb197de0dc0438ec5.png#pic_center)
**(3)100多个练手项目**
我们在看视频学习的时候,不能光动眼动脑不动手,比较科学的学习方法是在理解之后运用它们,这时候练手项目就很适合了,只是里面的项目比较多,水平也是参差不齐,大家可以挑自己能做的项目去练练。
![在这里插入图片描述](https://img-blog.csdnimg.cn/f5aeb4050ab547cf90b1a028d1aacb1d.png#pic_center)
**(4)200多本电子书**
这些年我也收藏了很多电子书,大概200多本,有时候带实体书不方便的话,我就会去打开电子书看看,书籍可不一定比视频教程差,尤其是权威的技术书籍。
基本上主流的和经典的都有,这里我就不放图了,版权问题,个人看看是没有问题的。
**(5)Python知识点汇总**
知识点汇总有点像学习路线,但与学习路线不同的点就在于,知识点汇总更为细致,里面包含了对具体知识点的简单说明,而我们的学习路线则更为抽象和简单,只是为了方便大家只是某个领域你应该学习哪些技术栈。
![在这里插入图片描述](https://img-blog.csdnimg.cn/c741a91b05a542ba9dc8abf2f2f4b1af.png)
**(6)其他资料**
还有其他的一些东西,比如说我自己出的Python入门图文类教程,没有电脑的时候用手机也可以学习知识,学会了理论之后再去敲代码实践验证,还有Python中文版的库资料、MySQL和HTML标签大全等等,这些都是可以送给粉丝们的东西。
![在这里插入图片描述](https://img-blog.csdnimg.cn/9fa77af248b84885a6ec779b2ead064d.png)
**这些都不是什么非常值钱的东西,但对于没有资源或者资源不是很好的学习者来说确实很不错,你要是用得到的话都可以直接抱走,关注过我的人都知道,这些都是可以拿到的。**
**网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。**
**[需要这份系统化学习资料的朋友,可以戳这里无偿获取](https://bbs.csdn.net/topics/618317507)**
**一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**