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

桂林网站建企业网站优化技巧

桂林网站建,企业网站优化技巧,建设网站上申请劳务资质,长沙市住房和城乡建设局ssmvue小型企业办公自动化系统源码和论文PPT013 开发工具:idea 数据库mysql5.7(mysql5.7最佳) 数据库链接工具:navcat,小海豚等 开发技术:java ssm tomcat8.5 摘 要 互联网发展至今,无论是其理论还是技术都已经成熟&#xf…

ssm+vue小型企业办公自动化系统源码和论文PPT013

开发工具:idea 

 数据库mysql5.7+(mysql5.7最佳)

 数据库链接工具:navcat,小海豚等

开发技术:java  ssm tomcat8.5

摘  要

互联网发展至今,无论是其理论还是技术都已经成熟,而且它广泛参与在社会中的方方面面。它让信息都可以通过网络传播,搭配信息管理工具可以很好地为人们提供服务。针对小型企业办公信息管理混乱,出错率高,信息安全性差,劳动强度大,费时费力等问题,采用小型企业办公自动化系统可以有效管理,使信息管理能够更加科学和规范。

小型企业办公自动化系统在Eclipse环境中,使用Java语言进行编码,使用Mysql创建数据表保存本系统产生的数据。系统可以提供信息显示和相应服务,其管理员管理部门经理,管理总经理,管理员工和员工留言以及员工工资,管理内部邮件,管理审批流程,管理离职申请。部门经理给员工发放工资,审核并回复员工留言,管理员工工资,审核员工的离职申请信息,查询和下载内部邮件以及审批流程。总经理查询下载内部邮件和审批流程,审核员工离职申请,查询员工工资,查询员工和部门经理。员工发布留言,发布内部邮件,发布离职申请,查询通知公告和审批流程,查看员工本人工资。

总之,小型企业办公自动化系统集中管理信息,有着保密性强,效率高,存储空间大,成本低等诸多优点。它可以降低信息管理成本,实现信息管理计算机化。

关键词:小型企业办公自动化系统;Java语言;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.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.ChengshitongjiEntity;
import com.entity.view.ChengshitongjiView;import com.service.ChengshitongjiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MPUtil;
import com.utils.CommonUtil;/*** 城市统计* 后端接口* @author * @email * @date 2024-01-14 16:14:50*/
@RestController
@RequestMapping("/chengshitongji")
public class ChengshitongjiController {@Autowiredprivate ChengshitongjiService chengshitongjiService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,ChengshitongjiEntity chengshitongji, HttpServletRequest request){String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("xuesheng")) {chengshitongji.setXuehao((String)request.getSession().getAttribute("username"));}EntityWrapper<ChengshitongjiEntity> ew = new EntityWrapper<ChengshitongjiEntity>();PageUtils page = chengshitongjiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, chengshitongji), params), params));return R.ok().put("data", page);}/*** 前端列表*/@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,ChengshitongjiEntity chengshitongji, HttpServletRequest request){EntityWrapper<ChengshitongjiEntity> ew = new EntityWrapper<ChengshitongjiEntity>();PageUtils page = chengshitongjiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, chengshitongji), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( ChengshitongjiEntity chengshitongji){EntityWrapper<ChengshitongjiEntity> ew = new EntityWrapper<ChengshitongjiEntity>();ew.allEq(MPUtil.allEQMapPre( chengshitongji, "chengshitongji")); return R.ok().put("data", chengshitongjiService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(ChengshitongjiEntity chengshitongji){EntityWrapper< ChengshitongjiEntity> ew = new EntityWrapper< ChengshitongjiEntity>();ew.allEq(MPUtil.allEQMapPre( chengshitongji, "chengshitongji")); ChengshitongjiView chengshitongjiView =  chengshitongjiService.selectView(ew);return R.ok("查询城市统计成功").put("data", chengshitongjiView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){ChengshitongjiEntity chengshitongji = chengshitongjiService.selectById(id);return R.ok().put("data", chengshitongji);}/*** 前端详情*/@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){ChengshitongjiEntity chengshitongji = chengshitongjiService.selectById(id);return R.ok().put("data", chengshitongji);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody ChengshitongjiEntity chengshitongji, HttpServletRequest request){chengshitongji.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(chengshitongji);chengshitongjiService.insert(chengshitongji);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody ChengshitongjiEntity chengshitongji, HttpServletRequest request){chengshitongji.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(chengshitongji);chengshitongjiService.insert(chengshitongji);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody ChengshitongjiEntity chengshitongji, HttpServletRequest request){//ValidatorUtils.validateEntity(chengshitongji);chengshitongjiService.updateById(chengshitongji);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){chengshitongjiService.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<ChengshitongjiEntity> wrapper = new EntityWrapper<ChengshitongjiEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("xuesheng")) {wrapper.eq("xuehao", (String)request.getSession().getAttribute("username"));}int count = chengshitongjiService.selectCount(wrapper);return R.ok().put("count", count);}}

 

http://www.yayakq.cn/news/462742/

相关文章:

  • 北京个人网站制作wordpress充值插件
  • 做的系统怎么和网站对接零基础建设网站教程
  • 做推广用那个网站吗东莞网络营销外包价格
  • 保洁公司 网站模板选择扬中网站建设
  • 免费金融网站模板wordpress手机插件6
  • WordPress中文king主题wordpress 中文 seo
  • 网站建设投票系统总结雅安 网站建设
  • 紫金网站制作上海公司牌照价格2023年
  • 网站运营情况怎么写空间手机版网站目录建设
  • 国际 网站制作公司双轨网站开发
  • 学校网站设计方案模板广州网站二级等保
  • 诸城企业网站建设手机网站开发 教程
  • 做女装代理需要自建网站么做catalog的免费网站
  • 网站改版 域名建设部房地产网站
  • 坂田网站的建设wordpress免费简约主题下载
  • 精品网站建设费用 尖端磐石网络雄安智能网站建设方案
  • 中明建投建设集团 网站南京网站排名提升
  • 什么网站可以做片头如何做小程序微信
  • 阿里云建设网站教学996工作制是什么意思
  • 小说网站推荐中石化网站是哪个公司做的
  • wordpress更改语言设置seo自然优化排名技巧
  • 如何开发微信网站网站制作与设计知识点
  • 佛山市 骏域网站建设闵行18路
  • 衡阳网站建设怎样收费亚马逊云服务 网站建设
  • 东莞地产公司网站建设网页模板网站模板
  • 贵阳拍卖网站开发公司设计师学校有哪些
  • 哪些网站可以做国外生意网站建设放入什么会计科目
  • 遂溪网站建设公司绍兴网站建设报价
  • discuz做影视网站成都企业网站设计
  • 网站建立网站西安seo培训