首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

医护人员排班系统2024(代码+论文+开题报告)

后端 121.26KB 13 需要积分: 1
立即下载

资源介绍:

CSDN展示地址: http://t.csdnimg.cn/YZ3z4 【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。 【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。 【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。 【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。 【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
package com.controller; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import com.utils.ValidatorUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.mapper.Wrapper; import com.annotation.IgnoreAuth; import com.entity.YihuEntity; import com.entity.view.YihuView; import com.service.YihuService; import com.service.TokenService; import com.utils.PageUtils; import com.utils.R; import com.utils.MD5Util; import com.utils.MPUtil; import com.utils.CommonUtil; /** * 医护 * 后端接口 * @author * @email * @date 2021-05-08 16:41:19 */ @RestController @RequestMapping("/yihu") public class YihuController { @Autowired private YihuService yihuService; @Autowired private TokenService tokenService; /** * 登录 */ @IgnoreAuth @RequestMapping(value = "/login") public R login(String username, String password, String captcha, HttpServletRequest request) { YihuEntity user = yihuService.selectOne(new EntityWrapper().eq("gonghao", username)); if(user==null || !user.getMima().equals(password)) { return R.error("账号或密码不正确"); } String token = tokenService.generateToken(user.getId(), username,"yihu", "医护" ); return R.ok().put("token", token); } /** * 注册 */ @IgnoreAuth @RequestMapping("/register") public R register(@RequestBody YihuEntity yihu){ //ValidatorUtils.validateEntity(yihu); YihuEntity user = yihuService.selectOne(new EntityWrapper().eq("gonghao", yihu.getGonghao())); if(user!=null) { return R.error("注册用户已存在"); } Long uId = new Date().getTime(); yihu.setId(uId); yihuService.insert(yihu); return R.ok(); } /** * 退出 */ @RequestMapping("/logout") public R logout(HttpServletRequest request) { request.getSession().invalidate(); return R.ok("退出成功"); } /** * 获取用户的session用户信息 */ @RequestMapping("/session") public R getCurrUser(HttpServletRequest request){ Long id = (Long)request.getSession().getAttribute("userId"); YihuEntity user = yihuService.selectById(id); return R.ok().put("data", user); } /** * 密码重置 */ @IgnoreAuth @RequestMapping(value = "/resetPass") public R resetPass(String username, HttpServletRequest request){ YihuEntity user = yihuService.selectOne(new EntityWrapper().eq("gonghao", username)); if(user==null) { return R.error("账号不存在"); } user.setMima("123456"); yihuService.updateById(user); return R.ok("密码已重置为:123456"); } /** * 后端列表 */ @RequestMapping("/page") public R page(@RequestParam Map params,YihuEntity yihu, HttpServletRequest request){ EntityWrapper ew = new EntityWrapper(); PageUtils page = yihuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yihu), params), params)); return R.ok().put("data", page); } /** * 前端列表 */ @RequestMapping("/list") public R list(@RequestParam Map params,YihuEntity yihu, HttpServletRequest request){ EntityWrapper ew = new EntityWrapper(); PageUtils page = yihuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yihu), params), params)); return R.ok().put("data", page); } /** * 列表 */ @RequestMapping("/lists") public R list( YihuEntity yihu){ EntityWrapper ew = new EntityWrapper(); ew.allEq(MPUtil.allEQMapPre( yihu, "yihu")); return R.ok().put("data", yihuService.selectListView(ew)); } /** * 查询 */ @RequestMapping("/query") public R query(YihuEntity yihu){ EntityWrapper< YihuEntity> ew = new EntityWrapper< YihuEntity>(); ew.allEq(MPUtil.allEQMapPre( yihu, "yihu")); YihuView yihuView = yihuService.selectView(ew); return R.ok("查询医护成功").put("data", yihuView); } /** * 后端详情 */ @RequestMapping("/info/{id}") public R info(@PathVariable("id") Long id){ YihuEntity yihu = yihuService.selectById(id); return R.ok().put("data", yihu); } /** * 前端详情 */ @RequestMapping("/detail/{id}") public R detail(@PathVariable("id") Long id){ YihuEntity yihu = yihuService.selectById(id); return R.ok().put("data", yihu); } /** * 后端保存 */ @RequestMapping("/save") public R save(@RequestBody YihuEntity yihu, HttpServletRequest request){ yihu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); //ValidatorUtils.validateEntity(yihu); YihuEntity user = yihuService.selectOne(new EntityWrapper().eq("gonghao", yihu.getGonghao())); if(user!=null) { return R.error("用户已存在"); } yihu.setId(new Date().getTime()); yihuService.insert(yihu); return R.ok(); } /** * 前端保存 */ @RequestMapping("/add") public R add(@RequestBody YihuEntity yihu, HttpServletRequest request){ yihu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); //ValidatorUtils.validateEntity(yihu); YihuEntity user = yihuService.selectOne(new EntityWrapper().eq("gonghao", yihu.getGonghao())); if(user!=null) { return R.error("用户已存在"); } yihu.setId(new Date().getTime()); yihuService.insert(yihu); return R.ok(); } /** * 修改 */ @RequestMapping("/update") public R update(@RequestBody YihuEntity yihu, HttpServletRequest request){ //ValidatorUtils.validateEntity(yihu); yihuService.updateById(yihu);//全部更新 return R.ok(); } /** * 删除 */ @RequestMapping("/delete") public R delete(@RequestBody Long[] ids){ yihuService.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 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 rem

资源文件列表:

java.zip 大约有150个文件
  1. java/
  2. java/com/
  3. java/com/SpringbootSchemaApplication.java 802B
  4. java/com/annotation/
  5. java/com/annotation/APPLoginUser.java 320B
  6. java/com/annotation/IgnoreAuth.java 196B
  7. java/com/annotation/LoginUser.java 317B
  8. java/com/config/
  9. java/com/config/InterceptorConfig.java 1.48KB
  10. java/com/config/MybatisPlusConfig.java 523B
  11. java/com/controller/
  12. java/com/controller/CommonController.java 8.35KB
  13. java/com/controller/ConfigController.java 3.02KB
  14. java/com/controller/DiscusskeshixinxiController.java 6.86KB
  15. java/com/controller/DiscussyiyuanxinxiController.java 6.92KB
  16. java/com/controller/FileController.java 3.56KB
  17. java/com/controller/ForumController.java 7.36KB
  18. java/com/controller/KeshixinxiController.java 6.41KB
  19. java/com/controller/PaibanleixingController.java 6.57KB
  20. java/com/controller/PaibanxinxiController.java 6.47KB
  21. java/com/controller/StoreupController.java 6.84KB
  22. java/com/controller/TousuxinxiController.java 6.79KB
  23. java/com/controller/UserController.java 5.16KB
  24. java/com/controller/YihuController.java 8.39KB
  25. java/com/controller/YihuleixingController.java 6.45KB
  26. java/com/controller/YihuxinxiController.java 6.35KB
  27. java/com/controller/YiyuanxinxiController.java 6.97KB
  28. java/com/dao/
  29. java/com/dao/CommonDao.java 622B
  30. java/com/dao/ConfigDao.java 199B
  31. java/com/dao/DiscusskeshixinxiDao.java 1.06KB
  32. java/com/dao/DiscussyiyuanxinxiDao.java 1.08KB
  33. java/com/dao/ForumDao.java 896B
  34. java/com/dao/KeshixinxiDao.java 974B
  35. java/com/dao/PaibanleixingDao.java 1019B
  36. java/com/dao/PaibanxinxiDao.java 989B
  37. java/com/dao/StoreupDao.java 926B
  38. java/com/dao/TokenDao.java 560B
  39. java/com/dao/TousuxinxiDao.java 974B
  40. java/com/dao/UserDao.java 554B
  41. java/com/dao/YihuDao.java 878B
  42. java/com/dao/YihuleixingDao.java 989B
  43. java/com/dao/YihuxinxiDao.java 959B
  44. java/com/dao/YiyuanxinxiDao.java 989B
  45. java/com/entity/
  46. java/com/entity/ConfigEntity.java 851B
  47. java/com/entity/DiscusskeshixinxiEntity.java 3.01KB
  48. java/com/entity/DiscussyiyuanxinxiEntity.java 3.01KB
  49. java/com/entity/EIException.java 845B
  50. java/com/entity/ForumEntity.java 3.42KB
  51. java/com/entity/KeshixinxiEntity.java 3.38KB
  52. java/com/entity/PaibanleixingEntity.java 1.95KB
  53. java/com/entity/PaibanxinxiEntity.java 4.6KB
  54. java/com/entity/StoreupEntity.java 2.94KB
  55. java/com/entity/TokenEntity.java 2.14KB
  56. java/com/entity/TousuxinxiEntity.java 3.44KB
  57. java/com/entity/UserEntity.java 1.22KB
  58. java/com/entity/YihuEntity.java 3.99KB
  59. java/com/entity/YihuleixingEntity.java 2KB
  60. java/com/entity/YihuxinxiEntity.java 3.74KB
  61. java/com/entity/YiyuanxinxiEntity.java 3.77KB
  62. java/com/entity/model/
  63. java/com/entity/model/DiscusskeshixinxiModel.java 1.77KB
  64. java/com/entity/model/DiscussyiyuanxinxiModel.java 1.77KB
  65. java/com/entity/model/ForumModel.java 2KB
  66. java/com/entity/model/KeshixinxiModel.java 2.18KB
  67. java/com/entity/model/PaibanleixingModel.java 698B
  68. java/com/entity/model/PaibanxinxiModel.java 3.44KB
  69. java/com/entity/model/StoreupModel.java 1.72KB
  70. java/com/entity/model/TousuxinxiModel.java 2.23KB
  71. java/com/entity/model/YihuModel.java 2.82KB
  72. java/com/entity/model/YihuleixingModel.java 694B
  73. java/com/entity/model/YihuxinxiModel.java 2.55KB
  74. java/com/entity/model/YiyuanxinxiModel.java 2.49KB
  75. java/com/entity/view/
  76. java/com/entity/view/DiscusskeshixinxiView.java 1000B
  77. java/com/entity/view/DiscussyiyuanxinxiView.java 1009B
  78. java/com/entity/view/ForumView.java 880B
  79. java/com/entity/view/KeshixinxiView.java 928B
  80. java/com/entity/view/PaibanleixingView.java 955B
  81. java/com/entity/view/PaibanxinxiView.java 937B
  82. java/com/entity/view/StoreupView.java 898B
  83. java/com/entity/view/TousuxinxiView.java 928B
  84. java/com/entity/view/YihuView.java 868B
  85. java/com/entity/view/YihuleixingView.java 937B
  86. java/com/entity/view/YihuxinxiView.java 919B
  87. java/com/entity/view/YiyuanxinxiView.java 937B
  88. java/com/entity/vo/
  89. java/com/entity/vo/DiscusskeshixinxiVO.java 1.67KB
  90. java/com/entity/vo/DiscussyiyuanxinxiVO.java 1.68KB
  91. java/com/entity/vo/ForumVO.java 1.9KB
  92. java/com/entity/vo/KeshixinxiVO.java 2.08KB
  93. java/com/entity/vo/PaibanleixingVO.java 598B
  94. java/com/entity/vo/PaibanxinxiVO.java 3.35KB
  95. java/com/entity/vo/StoreupVO.java 1.63KB
  96. java/com/entity/vo/TousuxinxiVO.java 2.13KB
  97. java/com/entity/vo/YihuVO.java 2.72KB
  98. java/com/entity/vo/YihuleixingVO.java 594B
  99. java/com/entity/vo/YihuxinxiVO.java 2.45KB
  100. java/com/entity/vo/YiyuanxinxiVO.java 2.39KB
  101. java/com/interceptor/
  102. java/com/interceptor/AuthorizationInterceptor.java 3.3KB
  103. java/com/service/
  104. java/com/service/CommonService.java 536B
  105. java/com/service/ConfigService.java 314B
  106. java/com/service/DiscusskeshixinxiService.java 1.09KB
  107. java/com/service/DiscussyiyuanxinxiService.java 1.11KB
  108. java/com/service/ForumService.java 939B
  109. java/com/service/KeshixinxiService.java 1012B
  110. java/com/service/PaibanleixingService.java 1.03KB
  111. java/com/service/PaibanxinxiService.java 1KB
  112. java/com/service/StoreupService.java 967B
  113. java/com/service/TokenService.java 684B
  114. java/com/service/TousuxinxiService.java 1012B
  115. java/com/service/UserService.java 597B
  116. java/com/service/YihuService.java 922B
  117. java/com/service/YihuleixingService.java 1KB
  118. java/com/service/YihuxinxiService.java 998B
  119. java/com/service/YiyuanxinxiService.java 1KB
  120. java/com/service/impl/
  121. java/com/service/impl/CommonServiceImpl.java 1.26KB
  122. java/com/service/impl/ConfigServiceImpl.java 895B
  123. java/com/service/impl/DiscusskeshixinxiServiceImpl.java 2.06KB
  124. java/com/service/impl/DiscussyiyuanxinxiServiceImpl.java 2.08KB
  125. java/com/service/impl/ForumServiceImpl.java 1.78KB
  126. java/com/service/impl/KeshixinxiServiceImpl.java 1.9KB
  127. java/com/service/impl/PaibanleixingServiceImpl.java 1.97KB
  128. java/com/service/impl/PaibanxinxiServiceImpl.java 1.92KB
  129. java/com/service/impl/StoreupServiceImpl.java 1.83KB
  130. java/com/service/impl/TokenServiceImpl.java 2.41KB
  131. java/com/service/impl/TousuxinxiServiceImpl.java 1.9KB
  132. java/com/service/impl/UserServiceImpl.java 1.34KB
  133. java/com/service/impl/YihuServiceImpl.java 1.76KB
  134. java/com/service/impl/YihuleixingServiceImpl.java 1.92KB
  135. java/com/service/impl/YihuxinxiServiceImpl.java 1.87KB
  136. java/com/service/impl/YiyuanxinxiServiceImpl.java 1.92KB
  137. java/com/utils/
  138. java/com/utils/BaiduUtil.java 3.6KB
  139. java/com/utils/CommonUtil.java 566B
  140. java/com/utils/FileUtil.java 680B
  141. java/com/utils/HttpClientUtils.java 1013B
  142. java/com/utils/JQPageInfo.java 790B
  143. java/com/utils/MD5Util.java 337B
  144. java/com/utils/MPUtil.java 5.17KB
  145. java/com/utils/PageUtils.java 1.92KB
  146. java/com/utils/Query.java 2.6KB
  147. java/com/utils/R.java 884B
  148. java/com/utils/SQLFilter.java 1.04KB
  149. java/com/utils/SpringContextUtils.java 1.1KB
  150. java/com/utils/ValidatorUtils.java 1.08KB
0评论
提交 加载更多评论
其他资源 20240716naWCLQKB.zip
20240716naWCLQKB.zip
STC8H8K64U-RA8889-HW-SPI4-v1.3
STC8H8K64U+RA8889+7寸TFT_800x480+硬件SPI通信源码
51单片机(STC8051U34K64)-RA8889-硬件SPI4通信-参考代码(v1.3)
51单片机(STC8051U34K64)-RA8889-硬件SPI4通信_参考代码(v1.3)
SecureCRT SecureFXPortable32.zip
SecureCRT是一款支持SSH(SSH1和SSH2)的终端仿真程序,简单地说是Windows下登录UNIX或Linux服务器主机的软件。SecureCRT支持SSH,同时支持Telnet和rlogin协议。SecureCRT的SSH协议支持DES,3DES和RC4密码和密码与RSA鉴别。在今后的工作和学习中会经常的用到用来连接linux服务器。 SecureFXP最新版是款方便快捷的文件传输工具。SecureFX可以让你在windows系统中登陆UNIX或Linux的服务器主机并实现管理设置,且能够支持标签化SSH对话。SecureFX还支持SSH1,SSH2,Telnet,RLogin,Serial,和TAPI协议。
西门子PLC以太网控制斑马打印机标签打印
S71200以太网控制斑马ZD888打印机功能块,经测试可正常打印标签
qq机器人酷喵v2.3.4
该机器人适用于腾讯qq。 无需云服务器,可进行出图,自动回复,点歌等。 【声明】 此资料仅用于交流学习,下载后请于24h之内删除。 此资料转自互联网,若侵权必删。
CentOS7 搭建Radius认证服务器
CentOS7 搭建Radius认证服务器
西门子S71215C DC/DC/DC固件V4.6.1
CPU 1215C固件