• Java项目:SSM电影售票管理系统


    作者主页:夜未央5788

     简介:Java领域优质创作者、Java项目、学习资料、技术互助

    文末获取源码

    项目介绍

    管理员角色包含以下功能:
    管理员登陆,管理员用户管理,新闻公告增删改查,电影类型增删改查,影院信息增删改查,电影信息增删改查,订单查询,电影评价管理等功能。

    用户角色包含以下功能:
    用户首页,用户登录,查看电影详情,加入购物车,下单电影票,查看我的订单,用户中心,评价电影等功能。
     

    这个系统除了不提供在线选座,其他真的一个很完美的电影买票网站

    环境需要

    1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。
    2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA;
    3.tomcat环境:Tomcat 7.x,8.x,9.x版本均可
    4.硬件环境:windows 7/8/10 1G内存以上;或者 Mac OS; 
    5.数据库:MySql 5.7版本;

    6.是否Maven项目:否;

    技术栈

    1. 后端:Spring+SpringMVC+Mybatis

    2. 前端:JSP+jQuery+Ajax

    使用说明

    1. 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件;

    2. 使用IDEA/Eclipse/MyEclipse导入项目,Eclipse/MyEclipse导入时,若为maven项目请选择maven;

    若为maven项目,导入成功后请执行maven clean;maven install命令,然后运行;

    3. 将项目中springmvc-servlet.xml配置文件中的数据库配置改为自己的配置;
    4. 运行项目,
    前台运行地址:输入localhost:8080/ssm_zxdydp/index/index.action 登录
    用户账号/密码: ls/lisi
    后台运行地址:localhost:8080/ssm_zxdydp/admin/index.jsp

    管理员账号/密码:admin/admin

    运行截图

    前台界面

     

     

     

     

    后台界面

     

     

     

     

     

     

     

    相关代码 

    AccountController

    1. package net.dqsy.manager.controller;
    2. import net.dqsy.manager.pojo.Account;
    3. import net.dqsy.manager.service.IAccountService;
    4. import net.dqsy.manager.web.util.IpUtil;
    5. import net.dqsy.manager.web.util.LocalizationUtil;
    6. import net.dqsy.manager.web.util.MD5Util;
    7. import net.dqsy.manager.web.util.PageUtil;
    8. import net.dqsy.manager.web.util.ParamUtils;
    9. import net.dqsy.manager.web.util.ResultUtil;
    10. import org.apache.commons.lang3.StringUtils;
    11. import org.springframework.beans.factory.annotation.Autowired;
    12. import org.springframework.stereotype.Controller;
    13. import org.springframework.web.bind.annotation.RequestMapping;
    14. import org.springframework.web.servlet.ModelAndView;
    15. import javax.servlet.http.HttpServletRequest;
    16. import javax.servlet.http.HttpServletResponse;
    17. import java.util.Arrays;
    18. import java.util.Date;
    19. import java.util.List;
    20. @Controller
    21. @RequestMapping("account")
    22. public class AccountController{
    23. @Autowired
    24. private IAccountService accountService;
    25. @RequestMapping(value = "list")
    26. public ModelAndView list(HttpServletRequest request, HttpServletResponse response){
    27. Account account = (Account) request.getSession().getAttribute("currentAccount");
    28. int start = ParamUtils.getIntParameter(request, "page", 1);
    29. int limit = ParamUtils.getIntParameter(request, "limit", 10);
    30. String userName = ParamUtils.getParameter(request, "s_userName");
    31. if(StringUtils.isBlank(userName) || "null".equals(userName)){
    32. userName = null;
    33. }
    34. int totalCount = accountService.getTotalCount(Arrays.asList(Account.ACCOUNT_MANAGER, Account.ACCOUNT_STUDENT), userName);
    35. List accountList = accountService.findAccountList(Arrays.asList(Account.ACCOUNT_MANAGER, Account.ACCOUNT_STUDENT), userName, start, limit);
    36. String pagation = PageUtil.getPagation("/account/list&s_userName=" + userName, totalCount, start, limit);
    37. ModelAndView mav = new ModelAndView("account/list");
    38. mav.getModel().put("accountList", accountList);
    39. mav.getModel().put("pageCode", pagation);
    40. return mav;
    41. }
    42. @RequestMapping(value = "add")
    43. public void add(HttpServletRequest request, HttpServletResponse response){
    44. Long account_id = ParamUtils.getLongParameter(request, "account_id", 0L);
    45. String username = ParamUtils.getParameter(request, "username");
    46. int sex = ParamUtils.getIntParameter(request, "sex", 1);
    47. String mobile = ParamUtils.getParameter(request, "mobile");
    48. String email = ParamUtils.getParameter(request, "email", "");
    49. String screenName = ParamUtils.getParameter(request, "screenName", "");
    50. if(account_id == 0L || StringUtils.isBlank(username)){
    51. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    52. return;
    53. }
    54. Account oldAccount = accountService.findAccountById(account_id);
    55. if(oldAccount != null){
    56. oldAccount.setId(account_id);
    57. oldAccount.setUsername(username);
    58. oldAccount.setMobile(mobile);
    59. oldAccount.setSex(sex);
    60. oldAccount.setEmail(email);
    61. oldAccount.setScreenName(screenName);
    62. accountService.update(oldAccount);
    63. }else{
    64. Account account = new Account();
    65. account.setId(account_id);
    66. account.setUsername(username);
    67. account.setMobile(mobile);
    68. account.setSex(sex);
    69. account.setCreateTime(new Date());
    70. account.setActivated(true);
    71. account.setEnabled(true);
    72. account.setRegisterIp(IpUtil.getIpStr(request));
    73. account.setPassword(MD5Util.getMD5("123456".getBytes()));
    74. account.setScreenName(username);
    75. account.setLocale(request.getLocale().getLanguage() +"_"+request.getLocale().getCountry());
    76. account.setRegisterTime(new Date());
    77. account.setCreateTime(new Date());
    78. account.setType(Account.ACCOUNT_STUDENT);
    79. accountService.save(account);
    80. }
    81. ResultUtil.success(response);
    82. }
    83. @RequestMapping(value = "detail")
    84. public void detail(HttpServletRequest request, HttpServletResponse response){
    85. Long account_id = ParamUtils.getLongParameter(request, "account_id", 0L);
    86. if(account_id == 0L){
    87. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    88. return;
    89. }
    90. Account account = accountService.findAccountById(account_id);
    91. ResultUtil.success(account, response);
    92. }
    93. @RequestMapping(value = "delete")
    94. public void delete(HttpServletRequest request, HttpServletResponse response){
    95. Long account_id = ParamUtils.getLongParameter(request, "account_id", 0L);
    96. if(account_id == 0L){
    97. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    98. return;
    99. }
    100. accountService.deteleById(account_id);
    101. Account account = accountService.findAccountById(account_id);
    102. ResultUtil.success(account, response);
    103. }
    104. }

    ActivityController

    1. package net.dqsy.manager.controller;
    2. import net.dqsy.manager.pojo.Account;
    3. import net.dqsy.manager.pojo.Activity;
    4. import net.dqsy.manager.pojo.DepartmentMember;
    5. import net.dqsy.manager.service.IActivityService;
    6. import net.dqsy.manager.service.IDepartmentMemberService;
    7. import net.dqsy.manager.service.junkword.SensitiveService;
    8. import net.dqsy.manager.web.util.PageUtil;
    9. import net.dqsy.manager.web.util.ParamUtils;
    10. import net.dqsy.manager.web.util.ResultUtil;
    11. import org.springframework.beans.factory.annotation.Autowired;
    12. import org.springframework.stereotype.Controller;
    13. import org.springframework.web.bind.annotation.RequestMapping;
    14. import org.springframework.web.bind.annotation.RequestMethod;
    15. import org.springframework.web.servlet.ModelAndView;
    16. import javax.servlet.http.HttpServletRequest;
    17. import javax.servlet.http.HttpServletResponse;
    18. import java.text.ParseException;
    19. import java.text.SimpleDateFormat;
    20. import java.util.Arrays;
    21. import java.util.Date;
    22. import java.util.List;
    23. @Controller
    24. @RequestMapping("activity")
    25. public class ActivityController{
    26. @Autowired
    27. private IActivityService activityService;
    28. @Autowired
    29. private SensitiveService sensitiveService;
    30. @Autowired
    31. private IDepartmentMemberService departmentMemberService;
    32. @RequestMapping(value = "list", method = RequestMethod.GET)
    33. public ModelAndView list(HttpServletRequest request, HttpServletResponse response){
    34. int type = ParamUtils.getIntParameter(request, "type", 1);
    35. int start = ParamUtils.getIntParameter(request, "start", 1);
    36. int limit = ParamUtils.getIntParameter(request, "limit", 10);
    37. int totalCount = activityService.getTotalCount(Arrays.asList(type));
    38. List list = activityService.findList(Arrays.asList(type), start, limit);
    39. String pagation = PageUtil.getPagation("/activityRedirectController.do?action=list", totalCount, start, limit);
    40. ModelAndView mav = new ModelAndView("activity/list");
    41. mav.getModel().put("activityList", list);
    42. mav.getModel().put("pageCode", pagation);
    43. return mav;
    44. }
    45. @RequestMapping(value = "add", method = RequestMethod.GET)
    46. public ModelAndView add(HttpServletRequest request, HttpServletResponse response){
    47. ModelAndView mav = new ModelAndView("activity/activity_add");
    48. return mav;
    49. }
    50. @RequestMapping("addActivity")
    51. public void addActivity(HttpServletRequest request, HttpServletResponse response) throws ParseException {
    52. Account account = (Account) request.getSession().getAttribute("currentAccount");
    53. if (account == null) {
    54. ResultUtil.fail(response);
    55. return;
    56. }
    57. String title = ParamUtils.getParameter(request, "title");
    58. String subTitle = ParamUtils.getParameter(request, "subTitle");
    59. int limitNum = ParamUtils.getIntParameter(request, "limitNum", 0);
    60. String startTime = ParamUtils.getParameter(request, "startTime");
    61. String endTime = ParamUtils.getParameter(request, "endTime");
    62. String content = ParamUtils.getParameter(request, "content");
    63. // 初始化时设置 日期和时间模式
    64. SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    65. Date start = sdf.parse(startTime);
    66. Date end = sdf.parse(endTime);
    67. DepartmentMember member = departmentMemberService.findMemberByAccountId(account.getId());
    68. if(member == null){
    69. ResultUtil.fail(response);
    70. return;
    71. }
    72. Activity activity = new Activity();
    73. activity.setTitle(title);
    74. activity.setSubTitle(subTitle);
    75. activity.setContent(content);
    76. activity.setLimitNum(limitNum);
    77. activity.setStartTime(start);
    78. activity.setEndTime(end);
    79. activity.setDepartmentMemberId(member.getDepartmentId());
    80. activity.setDepartmentId(member.getDepartmentId());
    81. activity.setType(Activity.ACTIVITY);
    82. activityService.add(activity);
    83. ResultUtil.success(response);
    84. }
    85. @RequestMapping("detail")
    86. public ModelAndView detail(HttpServletRequest request, HttpServletResponse response){
    87. Long activityId = ParamUtils.getLongParameter(request, "activityId");
    88. Activity activity = activityService.findById(activityId);
    89. ModelAndView mav = new ModelAndView("activity/detail");
    90. mav.getModel().put("activity",activity);
    91. return mav;
    92. }
    93. @RequestMapping("delete")
    94. public void delete(HttpServletRequest request, HttpServletResponse response){
    95. Long activityId = ParamUtils.getLongParameter(request, "activityId");
    96. Activity activity = activityService.findById(activityId);
    97. if(activity == null){
    98. ResultUtil.fail(response);
    99. return;
    100. }
    101. activityService.deleteById(activity.getId());
    102. ResultUtil.success(response);
    103. }
    104. }

    DepartmentApplyController

    1. package net.dqsy.manager.controller;
    2. import net.dqsy.manager.pojo.Account;
    3. import net.dqsy.manager.pojo.Department;
    4. import net.dqsy.manager.pojo.DepartmentApply;
    5. import net.dqsy.manager.pojo.DepartmentMember;
    6. import net.dqsy.manager.service.IAccountService;
    7. import net.dqsy.manager.service.IDepartmentApplyService;
    8. import net.dqsy.manager.service.IDepartmentMemberService;
    9. import net.dqsy.manager.service.IDepartmentService;
    10. import net.dqsy.manager.service.junkword.SensitiveService;
    11. import net.dqsy.manager.web.util.LocalizationUtil;
    12. import net.dqsy.manager.web.util.PageUtil;
    13. import net.dqsy.manager.web.util.ParamUtils;
    14. import net.dqsy.manager.web.util.ResultUtil;
    15. import org.springframework.beans.factory.annotation.Autowired;
    16. import org.springframework.stereotype.Controller;
    17. import org.springframework.web.bind.annotation.RequestMapping;
    18. import org.springframework.web.servlet.ModelAndView;
    19. import javax.servlet.http.HttpServletRequest;
    20. import javax.servlet.http.HttpServletResponse;
    21. import java.util.ArrayList;
    22. import java.util.Date;
    23. import java.util.List;
    24. @Controller
    25. @RequestMapping("departmentApply")
    26. public class DepartmentApplyController {
    27. @Autowired
    28. private SensitiveService sensitiveService;
    29. @Autowired
    30. private IDepartmentService departmentService;
    31. @Autowired
    32. private IDepartmentApplyService departmentApplyService;
    33. @Autowired
    34. private IDepartmentMemberService departmentMemberService;
    35. @Autowired
    36. private IAccountService accountService;
    37. @RequestMapping("add")
    38. public ModelAndView add(HttpServletRequest request, HttpServletResponse response){
    39. Account account = (Account) request.getSession().getAttribute("currentAccount");
    40. if (account == null) {
    41. ModelAndView mav = new ModelAndView("redirect:/index");
    42. return mav;
    43. }
    44. List departmentList = departmentService.findList(0, 1, 0);
    45. ModelAndView mav = new ModelAndView("departmentApply/apply");
    46. mav.getModel().put("departmentList", departmentList);
    47. return mav;
    48. }
    49. @RequestMapping("list")
    50. public ModelAndView list(HttpServletRequest request, HttpServletResponse response){
    51. Account account = (Account) request.getSession().getAttribute("currentAccount");
    52. if (account == null) {
    53. ModelAndView mav = new ModelAndView("redirect:/index");
    54. return mav;
    55. }
    56. int start = ParamUtils.getIntParameter(request, "start", 1);
    57. int limit = ParamUtils.getIntParameter(request, "limit", 10);
    58. List list = departmentApplyService.findApplyList(account.getId(), start, limit);
    59. if(list.size()> 0){
    60. for(DepartmentApply departmentApply :list){
    61. Department department = departmentService.findDepartmentById(departmentApply.getDepartmentId());
    62. if(department != null){
    63. departmentApply.setDepartmentName(department.getName());
    64. if (departmentApply.getType() == 6) {
    65. departmentApply.setTypeName("部长");
    66. } else if (departmentApply.getType() == 5) {
    67. departmentApply.setTypeName("副部长");
    68. } else if (departmentApply.getType() == 4) {
    69. departmentApply.setTypeName("部员");
    70. }
    71. }
    72. if(departmentApply.getStatus() == DepartmentApply.NEW&&accountService.findAccountById(departmentApply.getAccountId()).getType()!=6){
    73. departmentApply.setStatusName("待审核");
    74. }else if(departmentApply.getStatus() == DepartmentApply.PASS||accountService.findAccountById(departmentApply.getAccountId()).getType()==6){
    75. departmentApply.setStatusName("通过");
    76. }else if(departmentApply.getStatus() == DepartmentApply.REJECT){
    77. departmentApply.setStatusName("拒绝");
    78. }
    79. }
    80. }
    81. int totalCount = departmentApplyService.getTotalCount(account.getId());
    82. String pagation = PageUtil.getPagation("/departmentApply/list", totalCount, start, limit);
    83. ModelAndView mav = new ModelAndView("departmentApply/list");
    84. mav.getModel().put("pageCode", pagation);
    85. mav.getModel().put("applyList", list);
    86. return mav;
    87. }
    88. @RequestMapping("getDepartmentList")
    89. public void getDepartmentList(HttpServletRequest request, HttpServletResponse response){
    90. Account account = (Account) request.getSession().getAttribute("currentAccount");
    91. if (account == null) {
    92. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    93. return;
    94. }
    95. List departmentList = departmentService.findList(0, 1, 0);
    96. ResultUtil.success(departmentList, response);
    97. }
    98. /**
    99. * 提交申请
    100. *
    101. * @param request
    102. * @param response
    103. */
    104. @RequestMapping("apply")
    105. public void apply(HttpServletRequest request, HttpServletResponse response) {
    106. Account account = (Account) request.getSession().getAttribute("currentAccount");
    107. if (account == null) {
    108. ResultUtil.fail("请登录", response);
    109. }
    110. long departmentId = ParamUtils.getLongParameter(request, "departmentId", 0L);
    111. Department department = departmentService.findDepartmentById(departmentId);
    112. if (department == null) {
    113. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    114. return;
    115. }
    116. int type = ParamUtils.getIntParameter(request, "type", 0);
    117. String content = ParamUtils.getParameter(request, "content", "");
    118. content = sensitiveService.filter(content);
    119. DepartmentApply apply = new DepartmentApply();
    120. apply.setAccountId(account.getId());
    121. apply.setContent(content);
    122. apply.setCreateTime(new Date());
    123. apply.setDepartmentId(departmentId);
    124. apply.setType(type);
    125. if(accountService.findAccountById(account.getId()).getType() == 6) {
    126. DepartmentMember member = new DepartmentMember();
    127. member.setAccountId(apply.getAccountId());
    128. member.setCreateTime(new Date());
    129. member.setDepartmentId(apply.getDepartmentId());
    130. member.setRemark("");
    131. member.setRole(apply.getType());
    132. member.setStatus(1);
    133. apply.setStatus(DepartmentApply.PASS);
    134. DepartmentMember dbDepartmentMember = departmentMemberService.findMemberByAccountId(apply.getAccountId());
    135. if(dbDepartmentMember == null) {
    136. departmentMemberService.insert(member);
    137. }else {
    138. departmentMemberService.update(member);
    139. }
    140. }else {
    141. apply.setStatus(DepartmentApply.NEW);
    142. }
    143. apply.setStatus(DepartmentApply.NEW);
    144. departmentApplyService.add(apply);
    145. ResultUtil.success(response);
    146. }
    147. @RequestMapping("delete")
    148. public void delete(HttpServletRequest request, HttpServletResponse response){
    149. Long applyId = ParamUtils.getLongParameter(request, "applyId");
    150. DepartmentApply apply = departmentApplyService.findById(applyId);
    151. if(apply == null){
    152. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    153. return;
    154. }
    155. departmentApplyService.deleteById(apply.getId());
    156. ResultUtil.success(response);
    157. }
    158. @RequestMapping("detail")
    159. public ModelAndView detail(HttpServletRequest request, HttpServletResponse response){
    160. Account account = (Account) request.getSession().getAttribute("currentAccount");
    161. if (account == null) {
    162. ModelAndView mav = new ModelAndView("redirect:/index");
    163. return mav;
    164. }
    165. Long applyId = ParamUtils.getLongParameter(request, "applyId");
    166. DepartmentApply apply = departmentApplyService.findById(applyId);
    167. ModelAndView mav = new ModelAndView("departmentApply/detail");
    168. Department department = departmentService.findDepartmentById(apply.getDepartmentId());
    169. apply.setDepartmentName(department.getName());
    170. if (apply.getType() == 6) {
    171. apply.setTypeName("部长");
    172. } else if (apply.getType() == 5) {
    173. apply.setTypeName("副部长");
    174. } else if (apply.getType() == 4) {
    175. apply.setTypeName("部员");
    176. }
    177. if(apply.getStatus() == DepartmentApply.NEW&&accountService.findAccountById(apply.getAccountId()).getType()!=6){
    178. apply.setStatusName("待审核");
    179. }else if(apply.getStatus() == DepartmentApply.PASS||accountService.findAccountById(apply.getAccountId()).getType()==6){
    180. apply.setStatusName("通过");
    181. }else if(apply.getStatus() == DepartmentApply.REJECT){
    182. apply.setStatusName("拒绝");
    183. }
    184. long accountId = apply.getAccountId();
    185. Account account1 = accountService.findAccountById(accountId);
    186. if(account.getType() == Account.ACCOUNT_ADMIN || account.getType() == Account.ACCOUNT_MANAGER){
    187. if(apply.getStatus() == DepartmentApply.NEW){
    188. mav.getModel().put("manager", "true");
    189. }
    190. }
    191. mav.getModel().put("apply", apply);
    192. mav.getModel().put("applyName", account1.getUsername());
    193. return mav;
    194. }
    195. @RequestMapping("applyList")
    196. public ModelAndView applyList(HttpServletRequest request, HttpServletResponse response){
    197. int start = ParamUtils.getIntParameter(request, "start", 1);
    198. int limit = ParamUtils.getIntParameter(request, "limit", 10);
    199. List list = departmentApplyService.findApplyList(0, start, limit);
    200. if(list.size()> 0){
    201. for(DepartmentApply departmentApply :list){
    202. Department department = departmentService.findDepartmentById(departmentApply.getDepartmentId());
    203. departmentApply.setDepartmentName(department.getName());
    204. if (departmentApply.getType() == 6) {
    205. departmentApply.setTypeName("部长");
    206. } else if (departmentApply.getType() == 5) {
    207. departmentApply.setTypeName("副部长");
    208. } else if (departmentApply.getType() == 4) {
    209. departmentApply.setTypeName("部员");
    210. }
    211. if(departmentApply.getStatus() == DepartmentApply.NEW&&accountService.findAccountById(departmentApply.getAccountId()).getType()!=6){
    212. departmentApply.setStatusName("待审核");
    213. }else if(departmentApply.getStatus() == DepartmentApply.PASS||accountService.findAccountById(departmentApply.getAccountId()).getType()==6){
    214. departmentApply.setStatusName("通过");
    215. }else if(departmentApply.getStatus() == DepartmentApply.REJECT){
    216. departmentApply.setStatusName("拒绝");
    217. }
    218. }
    219. }
    220. int totalCount = departmentApplyService.getTotalCount(0);
    221. String pagation = PageUtil.getPagation("/departmentApply/applyList", totalCount, start, limit);
    222. ModelAndView mav = new ModelAndView("departmentApply/pendList");
    223. mav.getModel().put("pageCode", pagation);
    224. mav.getModel().put("applyList", list);
    225. return mav;
    226. }
    227. @RequestMapping("pend")
    228. public void pend(HttpServletRequest request, HttpServletResponse response){
    229. Account account = (Account) request.getSession().getAttribute("currentAccount");
    230. if (account == null) {
    231. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    232. return;
    233. }
    234. long applyId = ParamUtils.getLongParameter(request, "applyId", 0L);
    235. DepartmentApply departmentApply = departmentApplyService.findById(applyId);
    236. if(departmentApply == null){
    237. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    238. return;
    239. }
    240. int status = ParamUtils.getIntParameter(request, "status", 0);
    241. if(status == 0){
    242. ResultUtil.fail(LocalizationUtil.getClientString("Account_22", request), response);
    243. return;
    244. }
    245. if(status == DepartmentApply.PASS){
    246. DepartmentMember member = new DepartmentMember();
    247. member.setAccountId(departmentApply.getAccountId());
    248. member.setCreateTime(new Date());
    249. member.setDepartmentId(departmentApply.getDepartmentId());
    250. member.setRemark("");
    251. member.setRole(departmentApply.getType());
    252. member.setStatus(1);
    253. DepartmentMember dbDepartmentMember = departmentMemberService.findMemberByAccountId(departmentApply.getAccountId());
    254. if(dbDepartmentMember == null) {
    255. departmentMemberService.insert(member);
    256. }else {
    257. departmentMemberService.update(member);
    258. }
    259. Account applyAccount = accountService.findAccountById(departmentApply.getAccountId());
    260. applyAccount.setType(departmentApply.getType());
    261. // 更改用户状态
    262. accountService.update(applyAccount);
    263. }
    264. departmentApplyService.update(applyId, status);
    265. ResultUtil.success(response);
    266. }
    267. }

    如果也想学习本系统,下面领取。关注并回复:066ssm 

  • 相关阅读:
    20+个很棒的 Python 脚本的集合(迷你项目)
    转转“拯救世界”的第一步,师从小米换LOGO?
    聊聊Adapter模式
    实现简易负载式均衡在线判题系统
    DM3730 X-load 分析
    多线程基础知识点梳理
    (02)Cartographer源码无死角解析-(25) 阻塞队列BlockingQueue,与OrderedMultiQueue成员函数
    GBASE 8s cpu和共享内存配置参数
    【重温基础算法】内部排序之冒泡排序法
    uni-upgrade-center 升级中心详细流程
  • 原文地址:https://blog.csdn.net/hanyunlong1989/article/details/126717030