首页下载资源信息化管理在线拍卖系统2024(代码+论文+ppt)

ZIP在线拍卖系统2024(代码+论文+ppt)

hhtt1982091998.76KB需要积分:1

资源文件列表:

com.zip 大约有125个文件
  1. com/
  2. com/SpringbootSchemaApplication.java 802B
  3. com/annotation/
  4. com/annotation/APPLoginUser.java 320B
  5. com/annotation/IgnoreAuth.java 196B
  6. com/annotation/LoginUser.java 317B
  7. com/config/
  8. com/config/InterceptorConfig.java 1.48KB
  9. com/config/MybatisPlusConfig.java 523B
  10. com/controller/
  11. com/controller/CommonController.java 8.13KB
  12. com/controller/ConfigController.java 3.02KB
  13. com/controller/DiscusstushuxinxiController.java 6.79KB
  14. com/controller/FileController.java 3.56KB
  15. com/controller/MessagesController.java 6.59KB
  16. com/controller/NewsController.java 5.96KB
  17. com/controller/StoreupController.java 6.77KB
  18. com/controller/TuihuantushuController.java 6.84KB
  19. com/controller/TushufenleiController.java 6.38KB
  20. com/controller/TushuxinxiController.java 8.24KB
  21. com/controller/TushuyuyueController.java 6.72KB
  22. com/controller/UserController.java 4.9KB
  23. com/controller/XueshengController.java 8.69KB
  24. com/dao/
  25. com/dao/CommonDao.java 622B
  26. com/dao/ConfigDao.java 199B
  27. com/dao/DiscusstushuxinxiDao.java 1.06KB
  28. com/dao/MessagesDao.java 941B
  29. com/dao/NewsDao.java 884B
  30. com/dao/StoreupDao.java 926B
  31. com/dao/TokenDao.java 560B
  32. com/dao/TuihuantushuDao.java 1004B
  33. com/dao/TushufenleiDao.java 989B
  34. com/dao/TushuxinxiDao.java 974B
  35. com/dao/TushuyuyueDao.java 974B
  36. com/dao/UserDao.java 554B
  37. com/dao/XueshengDao.java 938B
  38. com/entity/
  39. com/entity/ConfigEntity.java 851B
  40. com/entity/DiscusstushuxinxiEntity.java 2.75KB
  41. com/entity/EIException.java 845B
  42. com/entity/MessagesEntity.java 2.73KB
  43. com/entity/NewsEntity.java 2.7KB
  44. com/entity/StoreupEntity.java 2.94KB
  45. com/entity/TokenEntity.java 2.14KB
  46. com/entity/TuihuantushuEntity.java 4.76KB
  47. com/entity/TushufenleiEntity.java 2KB
  48. com/entity/TushuxinxiEntity.java 5.08KB
  49. com/entity/TushuyuyueEntity.java 5.12KB
  50. com/entity/UserEntity.java 1.22KB
  51. com/entity/XueshengEntity.java 3.66KB
  52. com/entity/model/
  53. com/entity/model/DiscusstushuxinxiModel.java 1.5KB
  54. com/entity/model/MessagesModel.java 1.49KB
  55. com/entity/model/NewsModel.java 1.48KB
  56. com/entity/model/StoreupModel.java 1.72KB
  57. com/entity/model/TuihuantushuModel.java 3.56KB
  58. com/entity/model/TushufenleiModel.java 694B
  59. com/entity/model/TushuxinxiModel.java 3.89KB
  60. com/entity/model/TushuyuyueModel.java 3.94KB
  61. com/entity/model/XueshengModel.java 2.47KB
  62. com/entity/view/
  63. com/entity/view/DiscusstushuxinxiView.java 1000B
  64. com/entity/view/MessagesView.java 907B
  65. com/entity/view/NewsView.java 874B
  66. com/entity/view/StoreupView.java 898B
  67. com/entity/view/TuihuantushuView.java 946B
  68. com/entity/view/TushufenleiView.java 937B
  69. com/entity/view/TushuxinxiView.java 928B
  70. com/entity/view/TushuyuyueView.java 928B
  71. com/entity/view/XueshengView.java 904B
  72. com/entity/vo/
  73. com/entity/vo/DiscusstushuxinxiVO.java 1.4KB
  74. com/entity/vo/MessagesVO.java 1.39KB
  75. com/entity/vo/NewsVO.java 1.38KB
  76. com/entity/vo/StoreupVO.java 1.63KB
  77. com/entity/vo/TuihuantushuVO.java 3.46KB
  78. com/entity/vo/TushufenleiVO.java 594B
  79. com/entity/vo/TushuxinxiVO.java 3.79KB
  80. com/entity/vo/TushuyuyueVO.java 3.84KB
  81. com/entity/vo/XueshengVO.java 2.38KB
  82. com/interceptor/
  83. com/interceptor/AuthorizationInterceptor.java 3.3KB
  84. com/service/
  85. com/service/CommonService.java 536B
  86. com/service/ConfigService.java 314B
  87. com/service/DiscusstushuxinxiService.java 1.09KB
  88. com/service/MessagesService.java 981B
  89. com/service/NewsService.java 928B
  90. com/service/StoreupService.java 967B
  91. com/service/TokenService.java 684B
  92. com/service/TuihuantushuService.java 1.02KB
  93. com/service/TushufenleiService.java 1KB
  94. com/service/TushuxinxiService.java 1012B
  95. com/service/TushuyuyueService.java 1012B
  96. com/service/UserService.java 597B
  97. com/service/XueshengService.java 978B
  98. com/service/impl/
  99. com/service/impl/CommonServiceImpl.java 1.26KB
  100. com/service/impl/ConfigServiceImpl.java 895B
  101. com/service/impl/DiscusstushuxinxiServiceImpl.java 2.06KB
  102. com/service/impl/MessagesServiceImpl.java 1.85KB
  103. com/service/impl/NewsServiceImpl.java 1.76KB
  104. com/service/impl/StoreupServiceImpl.java 1.83KB
  105. com/service/impl/TokenServiceImpl.java 2.41KB
  106. com/service/impl/TuihuantushuServiceImpl.java 1.94KB
  107. com/service/impl/TushufenleiServiceImpl.java 1.92KB
  108. com/service/impl/TushuxinxiServiceImpl.java 1.9KB
  109. com/service/impl/TushuyuyueServiceImpl.java 1.9KB
  110. com/service/impl/UserServiceImpl.java 1.34KB
  111. com/service/impl/XueshengServiceImpl.java 1.85KB
  112. com/utils/
  113. com/utils/BaiduUtil.java 3.6KB
  114. com/utils/CommonUtil.java 566B
  115. com/utils/FileUtil.java 680B
  116. com/utils/HttpClientUtils.java 1013B
  117. com/utils/JQPageInfo.java 790B
  118. com/utils/MD5Util.java 337B
  119. com/utils/MPUtil.java 5.17KB
  120. com/utils/PageUtils.java 1.92KB
  121. com/utils/Query.java 2.6KB
  122. com/utils/R.java 884B
  123. com/utils/SQLFilter.java 1.04KB
  124. com/utils/SpringContextUtils.java 1.1KB
  125. com/utils/ValidatorUtils.java 1.08KB

资源介绍:

CSDN展示地址: http://t.csdnimg.cn/28rdv
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.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.XueshengEntity; import com.entity.view.XueshengView; import com.service.XueshengService; 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-03-05 14:09:23 */ @RestController @RequestMapping("/xuesheng") public class XueshengController { @Autowired private XueshengService xueshengService; @Autowired private TokenService tokenService; /** * 登录 */ @IgnoreAuth @RequestMapping(value = "/login") public R login(String username, String password, String captcha, HttpServletRequest request) { XueshengEntity user = xueshengService.selectOne(new EntityWrapper().eq("xuehao", username)); if(user==null || !user.getMima().equals(password)) { return R.error("账号或密码不正确"); } String token = tokenService.generateToken(user.getId(), username,"xuesheng", "学生" ); return R.ok().put("token", token); } /** * 注册 */ @IgnoreAuth @RequestMapping("/register") public R register(@RequestBody XueshengEntity xuesheng){ //ValidatorUtils.validateEntity(xuesheng); XueshengEntity user = xueshengService.selectOne(new EntityWrapper().eq("xuehao", xuesheng.getXuehao())); if(user!=null) { return R.error("注册用户已存在"); } Long uId = new Date().getTime(); xuesheng.setId(uId); xueshengService.insert(xuesheng); 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"); XueshengEntity user = xueshengService.selectById(id); return R.ok().put("data", user); } /** * 密码重置 */ @IgnoreAuth @RequestMapping(value = "/resetPass") public R resetPass(String username, HttpServletRequest request){ XueshengEntity user = xueshengService.selectOne(new EntityWrapper().eq("xuehao", username)); if(user==null) { return R.error("账号不存在"); } user.setMima("123456"); xueshengService.updateById(user); return R.ok("密码已重置为:123456"); } /** * 后端列表 */ @RequestMapping("/page") public R page(@RequestParam Map params,XueshengEntity xuesheng, HttpServletRequest request){ EntityWrapper ew = new EntityWrapper(); PageUtils page = xueshengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xuesheng), params), params)); return R.ok().put("data", page); } /** * 前端列表 */ @RequestMapping("/list") public R list(@RequestParam Map params,XueshengEntity xuesheng, HttpServletRequest request){ EntityWrapper ew = new EntityWrapper(); PageUtils page = xueshengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xuesheng), params), params)); return R.ok().put("data", page); } /** * 列表 */ @RequestMapping("/lists") public R list( XueshengEntity xuesheng){ EntityWrapper ew = new EntityWrapper(); ew.allEq(MPUtil.allEQMapPre( xuesheng, "xuesheng")); return R.ok().put("data", xueshengService.selectListView(ew)); } /** * 查询 */ @RequestMapping("/query") public R query(XueshengEntity xuesheng){ EntityWrapper< XueshengEntity> ew = new EntityWrapper< XueshengEntity>(); ew.allEq(MPUtil.allEQMapPre( xuesheng, "xuesheng")); XueshengView xueshengView = xueshengService.selectView(ew); return R.ok("查询学生成功").put("data", xueshengView); } /** * 后端详情 */ @RequestMapping("/info/{id}") public R info(@PathVariable("id") Long id){ XueshengEntity xuesheng = xueshengService.selectById(id); return R.ok().put("data", xuesheng); } /** * 前端详情 */ @RequestMapping("/detail/{id}") public R detail(@PathVariable("id") Long id){ XueshengEntity xuesheng = xueshengService.selectById(id); return R.ok().put("data", xuesheng); } /** * 后端保存 */ @RequestMapping("/save") public R save(@RequestBody XueshengEntity xuesheng, HttpServletRequest request){ xuesheng.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); //ValidatorUtils.validateEntity(xuesheng); XueshengEntity user = xueshengService.selectOne(new EntityWrapper().eq("xuehao", xuesheng.getXuehao())); if(user!=null) { return R.error("用户已存在"); } xuesheng.setId(new Date().getTime()); xueshengService.insert(xuesheng); return R.ok(); } /** * 前端保存 */ @RequestMapping("/add") public R add(@RequestBody XueshengEntity xuesheng, HttpServletRequest request){ xuesheng.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); //ValidatorUtils.validateEntity(xuesheng); XueshengEntity user = xueshengService.selectOne(new EntityWrapper().eq("xuehao", xuesheng.getXuehao())); if(user!=null) { return R.error("用户已存在"); } xuesheng.setId(new Date().getTime()); xueshengService.insert(xuesheng); return R.ok(); } /** * 修改 */ @RequestMapping("/update") public R update(@RequestBody XueshengEntity xuesheng, HttpServletRequest request){ //ValidatorUtils.validateEntity(xuesheng); xueshengService.updateById(xuesheng);//全部更新 return R.ok(); } /** * 删除 */ @RequestMapping("/delete") public R delete(@RequestBody Long[] ids){ xueshengService.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 remin
100+评论
captcha