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

基于Android的陪诊护理系统源码+论文

代码可以查看文章末尾⬇️联系方式获取,记得注明来意哦~🌹
分享万套开题报告+任务书+答辩PPT模板
作者完整代码目录供你选择:
《SpringBoot网站项目》1800套
《SSM网站项目》1500套
《小程序项目》1600套
《APP项目》1500套
《Python网站项目》1300套
⬇️文章末尾可以获取联系方式,需要源码或者演示视频可以联系⬇️
⚡感兴趣大家可以点点关注收藏,后续更新更多项目资料。⚡

采用技术:

编程语言:Java
后端框架:SpringBoot
APP端框架:uni-app
数据库:MySQL
数据表数量:27张表
运行软件:HBuilder X

系统功能:


本系统实现管理员、用户、陪诊员模块。
管理员模块功能:公告资讯、操作日志、友情链接、网站介绍、管理员、用户、陪诊员、陪同就诊、代办买药、代取报告、代办出院、陪诊接单、买药接单、取报告接单、代办出院接单、饮食推荐、医院信息等。
用户模块功能:陪同就诊、代办买药、代取报告、代办出院、陪诊接单、买药接单、取报告接单、代办出院接单、代办买药账单、我的收藏等。
陪诊员模块功能:陪诊接单、买药接单、取报告接单、代办出院接单、代办买药账单等。

运行截图:






















论文目录:




核心代码:

packagecom.controller;importjava.text.SimpleDateFormat;importcom.alibaba.fastjson.JSONObject;importjava.util.*;importorg.springframework.beans.BeanUtils;importjavax.servlet.http.HttpServletRequest;importorg.springframework.web.context.ContextLoader;importjavax.servlet.ServletContext;importcom.service.TokenService;importcom.utils.StringUtil;importjava.lang.reflect.InvocationTargetException;importcom.service.DictionaryService;importorg.apache.commons.lang3.StringUtils;importcom.annotation.IgnoreAuth;importorg.slf4j.Logger;importorg.slf4j.LoggerFactory;importorg.springframework.beans.factory.annotation.Autowired;importorg.springframework.stereotype.Controller;importorg.springframework.web.bind.annotation.*;importcom.baomidou.mybatisplus.mapper.EntityWrapper;importcom.baomidou.mybatisplus.mapper.Wrapper;importcom.entity.YonghuEntity;importcom.service.YonghuService;importcom.entity.view.YonghuView;importcom.utils.PageUtils;importcom.utils.R;@RestController@Controller@RequestMapping("/yonghu")publicclassYonghuController{privatestaticfinalLoggerlogger=LoggerFactory.getLogger(YonghuController.class);@AutowiredprivateYonghuServiceyonghuService;@AutowiredprivateTokenServicetokenService;@AutowiredprivateDictionaryServicedictionaryService;//级联表service/** * 后端列表 */@RequestMapping("/page")publicRpage(@RequestParamMap<String,Object>params,HttpServletRequestrequest){logger.debug("page方法:,,Controller:{},,params:{}",this.getClass().getName(),JSONObject.toJSONString(params));params.put("orderBy","id");PageUtilspage=yonghuService.queryPage(params);//字典表数据转换List<YonghuView>list=(List<YonghuView>)page.getList();for(YonghuViewc:list){//修改对应字典表字段dictionaryService.dictionaryConvert(c);}returnR.ok().put("data",page);}/** * 后端详情 */@RequestMapping("/info/{id}")publicRinfo(@PathVariable("id")Longid){logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);YonghuEntityyonghu=yonghuService.selectById(id);if(yonghu!=null){//entity转viewYonghuViewview=newYonghuView();BeanUtils.copyProperties(yonghu,view);//把实体数据重构到view中//修改对应字典表字段dictionaryService.dictionaryConvert(view);returnR.ok().put("data",view);}else{returnR.error(511,"查不到数据");}}/** * 后端保存 */@RequestMapping("/save")publicRsave(@RequestBodyYonghuEntityyonghu,HttpServletRequestrequest){logger.debug("save方法:,,Controller:{},,yonghu:{}",this.getClass().getName(),yonghu.toString());Wrapper<YonghuEntity>queryWrapper=newEntityWrapper<YonghuEntity>().eq("username",yonghu.getUsername()).or().eq("yonghu_phone",yonghu.getYonghuPhone()).or().eq("yonghu_id_number",yonghu.getYonghuIdNumber());;logger.info("sql语句:"+queryWrapper.getSqlSegment());YonghuEntityyonghuEntity=yonghuService.selectOne(queryWrapper);if(yonghuEntity==null){yonghu.setCreateTime(newDate());yonghu.setPassword("123456");// String role = String.valueOf(request.getSession().getAttribute("role"));// if("".equals(role)){// yonghu.set// }yonghuService.insert(yonghu);returnR.ok();}else{returnR.error(511,"账户或者身份证号或者手机号已经被使用");}}/** * 后端修改 */@RequestMapping("/update")publicRupdate(@RequestBodyYonghuEntityyonghu,HttpServletRequestrequest){logger.debug("update方法:,,Controller:{},,yonghu:{}",this.getClass().getName(),yonghu.toString());//根据字段查询是否有相同数据Wrapper<YonghuEntity>queryWrapper=newEntityWrapper<YonghuEntity>().notIn("id",yonghu.getId()).andNew().eq("username",yonghu.getUsername()).or().eq("yonghu_phone",yonghu.getYonghuPhone()).or().eq("yonghu_id_number",yonghu.getYonghuIdNumber());;logger.info("sql语句:"+queryWrapper.getSqlSegment());YonghuEntityyonghuEntity=yonghuService.selectOne(queryWrapper);if("".equals(yonghu.getYonghuPhoto())||"null".equals(yonghu.getYonghuPhoto())){yonghu.setYonghuPhoto(null);}if(yonghuEntity==null){// String role = String.valueOf(request.getSession().getAttribute("role"));// if("".equals(role)){// yonghu.set// }yonghuService.updateById(yonghu);//根据id更新returnR.ok();}else{returnR.error(511,"账户或者身份证号或者手机号已经被使用");}}/** * 删除 */@RequestMapping("/delete")publicRdelete(@RequestBodyInteger[]ids){logger.debug("delete:,,Controller:{},,ids:{}",this.getClass().getName(),ids.toString());yonghuService.deleteBatchIds(Arrays.asList(ids));returnR.ok();}/** * 登录 */@IgnoreAuth@RequestMapping(value="/login")publicRlogin(Stringusername,Stringpassword,Stringcaptcha,HttpServletRequestrequest){YonghuEntityyonghu=yonghuService.selectOne(newEntityWrapper<YonghuEntity>().eq("username",username));if(yonghu==null||!yonghu.getPassword().equals(password)){returnR.error("账号或密码不正确");}Stringtoken=tokenService.generateToken(yonghu.getId(),username,"yonghu","用户");Rr=R.ok();r.put("token",token);r.put("role","用户");r.put("username",yonghu.getYonghuName());r.put("tableName","yonghu");r.put("userId",yonghu.getId());returnr;}/** * 注册 */@IgnoreAuth@PostMapping(value="/register")publicRregister(@RequestBodyYonghuEntityyonghu){// ValidatorUtils.validateEntity(user);if(yonghuService.selectOne(newEntityWrapper<YonghuEntity>().eq("username",yonghu.getUsername()).orNew().eq("yonghu_phone",yonghu.getYonghuPhone()).orNew().eq("yonghu_id_number",yonghu.getYonghuIdNumber()))!=null){returnR.error("账户已存在或手机号或身份证号已经被使用");}yonghuService.insert(yonghu);returnR.ok();}/** * 重置密码 */@GetMapping(value="/resetPassword")publicRresetPassword(Integerid){YonghuEntityyonghu=newYonghuEntity();yonghu.setPassword("123456");yonghu.setId(id);yonghuService.updateById(yonghu);returnR.ok();}/** * 获取用户的session用户信息 */@RequestMapping("/session")publicRgetCurrYonghu(HttpServletRequestrequest){Integerid=(Integer)request.getSession().getAttribute("userId");YonghuEntityyonghu=yonghuService.selectById(id);returnR.ok().put("data",yonghu);}/** * 退出 */@GetMapping(value="logout")publicRlogout(HttpServletRequestrequest){request.getSession().invalidate();returnR.ok("退出成功");}}t("data",yonghu);}/** * 退出 */@GetMapping(value="logout")publicRlogout(HttpServletRequestrequest){request.getSession().invalidate();returnR.ok("退出成功");}}tSession().invalidate();returnR.ok("退出成功");}}t("data",yonghu);}/** * 退出 */@GetMapping(value="logout")publicRlogout(HttpServletRequestrequest){request.getSession().invalidate();returnR.ok("退出成功");}}
http://www.rkmt.cn/news/1476423.html

相关文章:

  • 宝鸡电视柜定制技术拆解:宝鸡ENF级全屋定制环保包材/宝鸡全屋定制五金/宝鸡全屋柜体定制/宝鸡别墅全屋定制/宝鸡厨房整体定制/选择指南 - 优质品牌商家
  • 侧发光吸顶灯拆解:从光学原理到电路设计,揭秘高性价比LED照明方案
  • 速看!!东湖高新职称评审专业有哪些专业可以选择?
  • Quartus II 9.0内部错误解析:未连接的真双端口RAM输出端口触发AMERGE崩溃
  • 基于Android的网上点餐系统源码+论文
  • 上海交大谢伟迪团队借助Codex打造全球首个大规模标准化病人AI评估基准,给7款主流大模型来了一场临床执业医师考试
  • 数学艺术图案画-曼陀罗(25)
  • 终极Android Root解决方案:Magisk系统级定制完全指南
  • 高光谱遥感之光谱重建
  • 成都水处理设备厂家怎么选?2026本地靠谱企业盘点及选购指南 - 新闻快传
  • 到底为什么PHP要有RESTful?
  • Django动态权限拦截器——自定义 Middleware 实现全局鉴权与黑白名单
  • Nios II开发全流程疑难杂症排查指南:从硬件设计到软件调试
  • AI 数字人直播系统实测:零门槛操作如何让小白 15分钟上手直播?
  • 如何用Rust构建高效小说下载器:Tomato-Novel-Downloader技术深度解析
  • 开发提效神器:用快马AI一键生成阿里云盘核心上传与秒传代码
  • 【AI实战第2篇】Python+DeepSeek自动化Excel数据分析:3分钟生成老板想要的报表(附源码)
  • 2026年直播配套AI搜索优化引流哪家服务商强
  • 终极指南:使用bandcamp-dl高效下载Bandcamp音乐
  • RAGFlow/RAG 从文档解析到混合检索的完整链路
  • T-Mobile“Rely”5G家庭互联网套餐更新:明确最大下载速度为354 Mbps
  • 贾子真理定理(LWEVS评价体系):五维内在主义真理判定体系
  • 16800按摩椅免费送,老板半年赚700万
  • 2026北京迷你仓公司TOP1天花板测评:北京贴心存断层头部领先认定报告 - 企业深度横评dyy6420
  • 掌握反向传播算法原理与实践
  • 2026吸顶灯哪家靠谱?用产品矩阵、智能生态、空间适配3把尺子量 - 新闻快传
  • 告别重复造轮子:用快马AI生成mmrotate高效开发脚手架,一键搞定训练评估流水线
  • 抖音批量下载神器:5分钟搞定无水印视频,支持合集直播全功能
  • 2026流量卡办理攻略:低月租大流量正规手机卡哪里办?运营商直发链接汇总 - 172号卡
  • 96GB显存运行230B大模型!七彩虹灵创K16笔记本评测:160W性能释放 AMD锐龙AI Max+ 395加持全能移动AI工作站