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

网页设计与制作课件张松炎上海百度首页优化

网页设计与制作课件张松炎,上海百度首页优化,在线做视频的网站,avian wordpress基于JavaEE的ssm公司员工信息管理系统的设计与实现043 开发工具:idea 数据库mysql5.7 数据库链接工具:navcat,小海豚等 技术:ssm 摘 要 现代经济快节奏发展以及不断完善升级的信息化技术,让传统数据信息的管理升级为软件存…

基于JavaEE的ssm公司员工信息管理系统的设计与实现043


 开发工具:idea 
 数据库mysql5.7+
 数据库链接工具:navcat,小海豚等
  技术:ssm

摘  要

现代经济快节奏发展以及不断完善升级的信息化技术,让传统数据信息的管理升级为软件存储,归纳,集中处理数据信息的管理方式。本龙腾公司员工信息管理系统就是在这样的大环境下诞生,其可以帮助管理者在短时间内处理完毕庞大的数据信息,使用这种软件工具可以帮助管理人员提高事务处理效率,达到事半功倍的效果。此龙腾公司员工信息管理系统利用当下成熟完善的SSM框架,使用跨平台的可开发大型商业网站的Java语言,以及最受欢迎的RDBMS应用软件之一的Mysql数据库进行程序开发。实现了员工基础数据的管理,招聘统计与面试,部门和职位的添加修改,工资条和培训。龙腾公司员工信息管理系统的开发根据操作人员需要设计的界面简洁美观,在功能模块布局上跟同类型网站保持一致,程序在实现基本要求功能时,也为数据信息面临的安全问题提供了一些实用的解决方案。可以说该程序在帮助管理者高效率地处理工作事务的同时,也实现了数据信息的整体化,规范化与自动化。

关键词:公司员工信息管理系统;SSM框架;Mysql;自动化

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.GequxinxiEntity;
import com.entity.view.GequxinxiView;import com.service.GequxinxiService;
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-11 18:11:06*/
@RestController
@RequestMapping("/gequxinxi")
public class GequxinxiController {@Autowiredprivate GequxinxiService gequxinxiService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,GequxinxiEntity gequxinxi, HttpServletRequest request){EntityWrapper<GequxinxiEntity> ew = new EntityWrapper<GequxinxiEntity>();PageUtils page = gequxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, gequxinxi), params), params));request.setAttribute("data", page);return R.ok().put("data", page);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,GequxinxiEntity gequxinxi, HttpServletRequest request){EntityWrapper<GequxinxiEntity> ew = new EntityWrapper<GequxinxiEntity>();PageUtils page = gequxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, gequxinxi), params), params));request.setAttribute("data", page);return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( GequxinxiEntity gequxinxi){EntityWrapper<GequxinxiEntity> ew = new EntityWrapper<GequxinxiEntity>();ew.allEq(MPUtil.allEQMapPre( gequxinxi, "gequxinxi")); return R.ok().put("data", gequxinxiService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(GequxinxiEntity gequxinxi){EntityWrapper< GequxinxiEntity> ew = new EntityWrapper< GequxinxiEntity>();ew.allEq(MPUtil.allEQMapPre( gequxinxi, "gequxinxi")); GequxinxiView gequxinxiView =  gequxinxiService.selectView(ew);return R.ok("查询歌曲信息成功").put("data", gequxinxiView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){GequxinxiEntity gequxinxi = gequxinxiService.selectById(id);gequxinxi.setClicknum(gequxinxi.getClicknum()+1);gequxinxi.setClicktime(new Date());gequxinxiService.updateById(gequxinxi);return R.ok().put("data", gequxinxi);}/*** 前端详情*/@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){GequxinxiEntity gequxinxi = gequxinxiService.selectById(id);gequxinxi.setClicknum(gequxinxi.getClicknum()+1);gequxinxi.setClicktime(new Date());gequxinxiService.updateById(gequxinxi);return R.ok().put("data", gequxinxi);}/*** 赞或踩*/@RequestMapping("/thumbsup/{id}")public R vote(@PathVariable("id") String id,String type){GequxinxiEntity gequxinxi = gequxinxiService.selectById(id);if(type.equals("1")) {gequxinxi.setThumbsupnum(gequxinxi.getThumbsupnum()+1);} else {gequxinxi.setCrazilynum(gequxinxi.getCrazilynum()+1);}gequxinxiService.updateById(gequxinxi);return R.ok("投票成功");}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody GequxinxiEntity gequxinxi, HttpServletRequest request){gequxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(gequxinxi);gequxinxiService.insert(gequxinxi);return R.ok();}/*** 前端保存*/@IgnoreAuth@RequestMapping("/add")public R add(@RequestBody GequxinxiEntity gequxinxi, HttpServletRequest request){gequxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(gequxinxi);gequxinxiService.insert(gequxinxi);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody GequxinxiEntity gequxinxi, HttpServletRequest request){//ValidatorUtils.validateEntity(gequxinxi);gequxinxiService.updateById(gequxinxi);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){gequxinxiService.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<String, Object> 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 remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<GequxinxiEntity> wrapper = new EntityWrapper<GequxinxiEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}int count = gequxinxiService.selectCount(wrapper);return R.ok().put("count", count);}/*** 前端智能排序*/@IgnoreAuth@RequestMapping("/autoSort")public R autoSort(@RequestParam Map<String, Object> params,GequxinxiEntity gequxinxi, HttpServletRequest request,String pre){EntityWrapper<GequxinxiEntity> ew = new EntityWrapper<GequxinxiEntity>();Map<String, Object> newMap = new HashMap<String, Object>();Map<String, Object> param = new HashMap<String, Object>();Iterator<Map.Entry<String, Object>> it = param.entrySet().iterator();while (it.hasNext()) {Map.Entry<String, Object> entry = it.next();String key = entry.getKey();String newKey = entry.getKey();if (pre.endsWith(".")) {newMap.put(pre + newKey, entry.getValue());} else if (StringUtils.isEmpty(pre)) {newMap.put(newKey, entry.getValue());} else {newMap.put(pre + "." + newKey, entry.getValue());}}params.put("sort", "clicknum");params.put("order", "desc");PageUtils page = gequxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, gequxinxi), params), params));return R.ok().put("data", page);}}

http://www.ds6.com.cn/news/39388.html

相关文章:

  • 甘肃病毒感染最新消息湖南seo排名
  • 天河建设网站报价优化seo
  • 电器类网站设计站长工具传媒
  • 绵阳网页制作网站优化流程
  • 云畅网站建设中文域名注册官网
  • 电话销售做网站的术语2022年明星百度指数排行
  • 如何编写网站seo门户网
  • 上海网站建设联系电话成都网站建设方案优化
  • 网站建设公司公司哪家好英语seo
  • 淮北市建设委员会网站seo怎么快速提高排名
  • b2b网站做水处理哪个好计算机培训机构哪个最好
  • 巴南网站制作seo推广费用
  • 闲鱼怎么推广自己的产品广西seo
  • 中国建设银行官网网站首页如何做企业网站
  • 哈尔滨模板建站哪个品牌好网站seo招聘
  • 做代购注册什么网站seo入门培训
  • 做设计的地图网站有哪些2345网址导航设为主页
  • 网站做三个月收录100营销培训课程内容
  • java做网站需要什么深圳市昊客网络科技有限公司
  • 泉州网站建设托管干净无广告的搜索引擎
  • 公司想做一个网站推广普通话内容
  • 有哪些小程序免费模板平台seo规范培训
  • 网站注册商标属于哪一类购买域名的网站
  • wordpress 自定义搜索功能贵阳seo网站推广
  • 网站服务器租用价格十大小说网站排名
  • 广州做网站优化费用谷歌优化怎么做
  • 做自媒体怎么在其它网站搬运内容深圳全网推广排名
  • 南开网站建设公司b2b推广网站
  • 怎么打开文件做的网站合肥seo代理商
  • 破解直播免费视频济南seo外贸网站建设