昨天有个粉丝朋友也想学开发Web和小程序、安卓,问可以在大学学会吗?
在学校学到的东西真的有限:
在很多的高校,有一些教授是学院派的,他们没有做过多少开发工作,上课就是照本宣科,讲的知识点都是陈年落伍的技术,更别说带学生做项目了。
现在的很多硕博学生帮老师做课件,然后老师上课一顿读。
当然有的老师开发能力也是很强的,他们有开发经验,可以更加全面地理解技术知识点,然后传递给学生,也能拿到一些科研项目,然后带学生实战。
但是,但是,这种老师少之又少。我平时辅导过大量的计算机学生,也有个VIP群,很多学习VIP项目的小伙伴,也变得越来越强,
我总结出来,大部门计算机教学水平真的一般般:
1,教材落后,还有很多Java课程在教Swing/SSH框架,这已经是淘汰多少年的技术了。
2,实战不足。学生在大学期间代码量极少,少得可怜,没有项目实战。找工作和企业的要求无法匹配。
3,教授课程方式极其落后。这是计算机啊,不是汇报工作,你全课程ppt有啥用。是念ppt学生能理解,还是给学生实操下项目,学生可以理解????
4,课后辅导比较差。在国外的一些名校,老师每周抽出三个小时作为 office hour,国内的老师下课,直接拍屁股走人,课后没有辅导。
昨天没事,开发了一个APP的财务系统,如果需要学习开发,可以一起啊!加油,奥利给!
一,系统的技术栈
移动端,采用安卓进行开发,Android它应用于安卓系统软件和程序开发,其由谷歌公司推出,目前在国际市场上有着广泛的应用及开发环境,并不瘦限制研发人员能够通过修改开放的源代码来实现各种使用的 APP软件,开发的软件程序具有界面友好稳定性好等特点,安卓系统架构图具体如下:
后端采用的Java进行开发的,数据库采用的Mysql。
系统的功能架构:
二,系统界面
后台:
三,系统核心代码
/**
* 小孟v:jishulearn
*/@Controller@RequestMapping("/api")publicclassApiController{@AutowiredprivateUsersService userService;@AutowiredprivateShouruService shouruService;@AutowiredprivateZhichuService zhichuService;@AutowiredprivateGudingzhichuService gudingzhichuService;@AutowiredprivateGudingzhichuleixService gudingzhichuleixService;@AutowiredprivateShourutypeService shourutypeService;@AutowiredprivateZhichutypeService zhichutypeService;@AutowiredprivateWenzhangService wenzhangService;@AutowiredprivateGonggaoService gonggaoService;@PostMapping("/userlogin")@ResponseBodypublicJsonResultlogin(String username,String password){if(username ==null|| username.trim().isEmpty())returnJsonResult.error("请输入账号");if(password ==null|| password.trim().isEmpty())returnJsonResult.error("请输入密码");Users user = userService.getOne(newQueryWrapper<Users>().eq("username", username).eq("password", password));if(user !=null){returnJsonResult.ok("登录成功").setData(user);}else{returnJsonResult.error("用户名或密码错误");}}@PostMapping("/userreg")@ResponseBodypublicJsonResultreg(String username,String password,String nickname,String dianhua,String youxiang,String image){if(username ==null|| username.trim().isEmpty())returnJsonResult.error("请输入账号");if(password ==null|| password.trim().isEmpty())returnJsonResult.error("请输入密码");if(nickname ==null|| nickname.trim().isEmpty())returnJsonResult.error("请输入真实姓名");if(dianhua ==null|| dianhua.trim().isEmpty())returnJsonResult.error("请输入电话");if(youxiang ==null|| youxiang.trim().isEmpty())returnJsonResult.error("请输入邮箱");Users user1 =newUsers();
user1.setUsername(username);
user1.setNickname(nickname);
user1.setPassword(password);
user1.setDianhua(dianhua);
user1.setYouxiang(youxiang);
user1.setImage(image);Users user = userService.getOne(newQueryWrapper<Users>().eq("username", username));if(user!=null){returnJsonResult.error("用户名已经存在,请重试!");}if(userService.save(user1)){returnJsonResult.ok("注册成功");}returnJsonResult.error("注册失败");}@PostMapping("/userupdate")@ResponseBodypublicJsonResultupdate(Integer id,String username,String password,String nickname){if(username ==null|| username.trim().isEmpty())returnJsonResult.error("请输入账号");if(password ==null|| password.trim().isEmpty())returnJsonResult.error("请输入密码");if(nickname ==null|| nickname.trim().isEmpty())returnJsonResult.error("请输入真实姓名");Users userone = userService.getById(id);if(userone ==null){returnJsonResult.ok("用户不存在!");}
userone.setUsername(username);
userone.setPassword(password);
userone.setNickname(nickname);if(userService.updateById(userone)){returnJsonResult.ok("修改成功");}returnJsonResult.error("修改失败");}@PostMapping("/userupdatePass")@ResponseBodypublicJsonResultupdatePass(Integer id,String username,String password){if(username ==null|| username.trim().isEmpty())returnJsonResult.error("请输入账号");if(password ==null|| password.trim().isEmpty())returnJsonResult.error("请输入密码");Users userone = userService.getById(id);if(userone ==null){returnJsonResult.ok("用户不存在!");}
userone.setUsername(username);
userone.setPassword(password);if(userService.updateById(userone)){returnJsonResult.ok("修改成功");}returnJsonResult.error("修改失败");}@PostMapping("/userupdateImage")@ResponseBodypublicJsonResultupdateImage(Integer id,String image){Users userone = userService.getById(id);if(userone ==null){returnJsonResult.ok("用户不存在!");}
userone.setImage(image);if(userService.updateById(userone)){returnJsonResult.ok("修改成功");}returnJsonResult.error("修改失败");}@ResponseBody@RequestMapping("/shouru/list")publicJsonResultShouRuList(String username){PageParam<Zhichu> pageParam =newPageParam<>();
pageParam.put("username", username);List<Shouru> records = shouruService.listAll(pageParam.getNoPageParam());returnJsonResult.ok().setData(records);}@ResponseBody@RequestMapping("/wenzhang/list")publicJsonResultWenZhangList(){PageParam<Wenzhang> pageParam =newPageParam<>();List<Wenzhang> records = wenzhangService.listAll(pageParam.getNoPageParam());returnJsonResult.ok().setData(records);}@ResponseBody@RequestMapping("/gonggao/list")publicJsonResultGongGaoList(){PageParam<Gonggao> pageParam =newPageParam<>();List<Gonggao> records = gonggaoService.listAll(pageParam.getNoPageParam());returnJsonResult.ok().setData(records);}
/**
* 管理
* Created by xiaomeng,vx:jiushulearn
*/@Controller@RequestMapping("/caiwu/gonggao")publicclassGonggaoControllerextendsBaseController{@AutowiredprivateGonggaoService gonggaoService;@RequestMapping()publicStringview(){return"caiwu/gonggao.html";}/**
* 分页查询
*/@ResponseBody@RequestMapping("/page")publicPageResult<Gonggao>page(HttpServletRequest request){PageParam<Gonggao> pageParam =newPageParam<>(request);returnnewPageResult<>(gonggaoService.page(pageParam, pageParam.getWrapper()).getRecords(), pageParam.getTotal());//return gonggaoService.listPage(pageParam); // 使用关联查询}/**
* 查询全部
*/@ResponseBody@RequestMapping("/list")publicJsonResultlist(HttpServletRequest request){PageParam<Gonggao> pageParam =newPageParam<>(request);returnJsonResult.ok().setData(gonggaoService.list(pageParam.getOrderWrapper()));//List<Gonggao> records = gonggaoService.listAll(pageParam.getNoPageParam()); // 使用关联查询//return JsonResult.ok().setData(pageParam.sortRecords(records));}/**
* 根据id查询
*/@ResponseBody@RequestMapping("/get")publicJsonResultget(Integer id){returnJsonResult.ok().setData(gonggaoService.getById(id));// 使用关联查询//PageParam<Gonggao> pageParam = new PageParam<>();//pageParam.put("id", id);//List<Gonggao> records = gonggaoService.listAll(pageParam.getNoPageParam());//return JsonResult.ok().setData(pageParam.getOne(records));}/**
* 添加
*/@ResponseBody@RequestMapping("/save")publicJsonResultsave(Gonggao gonggao){if(gonggaoService.save(gonggao)){returnJsonResult.ok("添加成功");}returnJsonResult.error("添加失败");}/**
* 修改
*/@ResponseBody@RequestMapping("/update")publicJsonResultupdate(Gonggao gonggao){if(gonggaoService.updateById(gonggao)){returnJsonResult.ok("修改成功");}returnJsonResult.error("修改失败");}/**
* 删除
*/@ResponseBody@RequestMapping("/remove")publicJsonResultremove(Integer id){if(gonggaoService.removeById(id)){returnJsonResult.ok("删除成功");}returnJsonResult.error("删除失败");}/**
* 批量添加
*/@ResponseBody@RequestMapping("/saveBatch")publicJsonResultsaveBatch(@RequestBodyList<Gonggao> list){if(gonggaoService.saveBatch(list)){returnJsonResult.ok("添加成功");}returnJsonResult.error("添加失败");}/**
* 批量修改
*/@ResponseBody@RequestMapping("/updateBatch")publicJsonResultupdateBatch(@RequestBodyBatchParam<Gonggao> batchParam){if(batchParam.update(gonggaoService,"id")){returnJsonResult.ok("修改成功");}returnJsonResult.error("修改失败");}
@Controller@RequestMapping("/caiwu/gudingzhichu")publicclassGudingzhichuControllerextendsBaseController{@AutowiredprivateGudingzhichuService gudingzhichuService;@AutowiredprivateGudingzhichuleixService gudingzhichuleixService;privateList<String> shijianleixing=newArrayList<>();@RequestMapping()publicStringview(Model model){
model.addAttribute("leixing",gudingzhichuleixService.list());//每周 每月 每年 一直
shijianleixing.add("每周");
shijianleixing.add("每月");
shijianleixing.add("每年");
shijianleixing.add("一直");
model.addAttribute("shijianleixing", shijianleixing);return"caiwu/gudingzhichu.html";}/**
* 分页查询
*/@ResponseBody@RequestMapping("/page")publicPageResult<Gudingzhichu>page(HttpServletRequest request){PageParam<Gudingzhichu> pageParam =newPageParam<>(request);returnnewPageResult<>(gudingzhichuService.page(pageParam, pageParam.getWrapper()).getRecords(), pageParam.getTotal());//return gudingzhichuService.listPage(pageParam); // 使用关联查询}/**
* 查询全部
*/@ResponseBody@RequestMapping("/list")publicJsonResultlist(HttpServletRequest request){PageParam<Gudingzhichu> pageParam =newPageParam<>(request);returnJsonResult.ok().setData(gudingzhichuService.list(pageParam.getOrderWrapper()));//List<Gudingzhichu> records = gudingzhichuService.listAll(pageParam.getNoPageParam()); // 使用关联查询//return JsonResult.ok().setData(pageParam.sortRecords(records));}/**
* 根据id查询
*/@ResponseBody@RequestMapping("/get")publicJsonResultget(Integer id){returnJsonResult.ok().setData(gudingzhichuService.getById(id));// 使用关联查询//PageParam<Gudingzhichu> pageParam = new PageParam<>();//pageParam.put("id", id);//List<Gudingzhichu> records = gudingzhichuService.listAll(pageParam.getNoPageParam());//return JsonResult.ok().setData(pageParam.getOne(records));}/**
* 添加
*/@ResponseBody@RequestMapping("/save")publicJsonResultsave(Gudingzhichu gudingzhichu){if(gudingzhichuService.save(gudingzhichu)){returnJsonResult.ok("添加成功");}returnJsonResult.error("添加失败");}/**
* 修改
*/@ResponseBody@RequestMapping("/update")publicJsonResultupdate(Gudingzhichu gudingzhichu){if(gudingzhichuService.updateById(gudingzhichu)){returnJsonResult.ok("修改成功");}returnJsonResult.error("修改失败");}
四,一起学习
前面小孟已经开源了很多的项目给大家,如果大家想一起学习,可以一起搞起。
关注下面弹出的公众号,回复:项目大全
全部是干货。
👇🏻 点击下面图片回复 项目大全 获取👇🏻
版权归原作者 程序员springmeng 所有, 如有侵权,请联系我们删除。