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

某网站突然不能浏览了餐馆建设网站的目的是什么

某网站突然不能浏览了,餐馆建设网站的目的是什么,中国十大地推公司,wordpress登陆logossm简易版营业厅宽带系统源码和论文018 开发工具:idea 数据库mysql5.7 数据库链接工具:navcat,小海豚等 技术:ssm 摘 要 现代经济快节奏发展以及不断完善升级的信息化技术,让传统数据信息的管理升级为软件存储&#xff0c…

ssm简易版营业厅宽带系统源码和论文018

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

摘  要

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

关键词:营业厅宽带系统;SSM框架;Mysql;自动化

package com.controller;import java.text.SimpleDateFormat;
import java.util.*;
import javax.servlet.http.HttpServletRequest;import com.entity.KuandaileixingEntity;
import com.entity.YonghuxinxiEntity;
import com.service.KuandaileixingService;
import com.service.YonghuxinxiService;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
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.entity.KuandaixinxiEntity;import com.service.KuandaixinxiService;
import com.utils.PageUtils;
import com.utils.R;/*** 宽带信息表* 后端接口* @author* @email* @date 2021-02-03
*/
@RestController
@Controller
@RequestMapping("/kuandaixinxi")
public class KuandaixinxiController {private static final Logger logger = LoggerFactory.getLogger(KuandaixinxiController.class);@Autowiredprivate KuandaixinxiService kuandaixinxiService;@Autowiredprivate YonghuxinxiService yonghuxinxiService;@Autowiredprivate KuandaileixingService kuandaileixingService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params, HttpServletRequest request){logger.debug("Controller:"+this.getClass().getName()+",page方法");Object role = request.getSession().getAttribute("role");PageUtils page = null;if(role.equals("用户")){params.put("yh",request.getSession().getAttribute("userId"));page = kuandaixinxiService.queryPage(params);}else{page = kuandaixinxiService.queryPage(params);}return R.ok().put("data", page);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){logger.debug("Controller:"+this.getClass().getName()+",info方法");KuandaixinxiEntity kuandaixinxi = kuandaixinxiService.selectById(id);if(kuandaixinxi!=null){return R.ok().put("data", kuandaixinxi);}else {return R.error(511,"查不到数据");}}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody KuandaixinxiEntity kuandaixinxi, HttpServletRequest request){logger.debug("Controller:"+this.getClass().getName()+",save");Wrapper<KuandaixinxiEntity> queryWrapper = new EntityWrapper<KuandaixinxiEntity>().eq("yh_types", kuandaixinxi.getYhTypes()).eq("kd_types", kuandaixinxi.getKdTypes());logger.info("sql语句:"+queryWrapper.getSqlSegment());KuandaixinxiEntity kuandaixinxiEntity = kuandaixinxiService.selectOne(queryWrapper);kuandaixinxi.setCreateTime(new Date());kuandaixinxi.setMariadbTypes(2);YonghuxinxiEntity yonghuxinxi = yonghuxinxiService.selectById(kuandaixinxi.getYhTypes());KuandaileixingEntity kuandaileixing = kuandaileixingService.selectById(kuandaixinxi.getKdTypes());if(yonghuxinxi.getBalance() == null){yonghuxinxi.setBalance(0.0);}Double balance = yonghuxinxi.getBalance()-kuandaileixing.getMoney();if(balance != null && balance >= 0){yonghuxinxi.setBalance(balance);yonghuxinxiService.updateById(yonghuxinxi);}else{return R.error("余额不足请充值");}if(kuandaixinxiEntity==null){kuandaixinxiService.insert(kuandaixinxi);return R.ok();}else {return R.error(511,"表中有相同数据");}}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody KuandaixinxiEntity kuandaixinxi, HttpServletRequest request){logger.debug("Controller:"+this.getClass().getName()+",update");//根据字段查询是否有相同数据Wrapper<KuandaixinxiEntity> queryWrapper = new EntityWrapper<KuandaixinxiEntity>().notIn("id",kuandaixinxi.getId()).eq("yh_types", kuandaixinxi.getYhTypes()).eq("kd_types", kuandaixinxi.getKdTypes());logger.info("sql语句:"+queryWrapper.getSqlSegment());KuandaixinxiEntity kuandaixinxiEntity = kuandaixinxiService.selectOne(queryWrapper);if(kuandaixinxiEntity==null){kuandaixinxiService.updateById(kuandaixinxi);//根据id更新return R.ok();}else {return R.error(511,"表中有相同数据");}}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){logger.debug("Controller:"+this.getClass().getName()+",delete");kuandaixinxiService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 删除*/@RequestMapping("/removeUser")public R removeUser(@RequestBody Integer id){KuandaixinxiEntity kuandaixinxi = kuandaixinxiService.selectById(id);if(kuandaixinxi.getMariadbTypes()!=3){kuandaixinxi.setMariadbTypes(3);}else{return R.error("请不要重复点击拆机按钮");}kuandaixinxiService.updateById(kuandaixinxi);return R.ok();}/*** 更换状态为已安装*/@RequestMapping("/stutat")public R stutat(@RequestBody Integer id){KuandaixinxiEntity kuandaixinxi = kuandaixinxiService.selectById(id);if(kuandaixinxi.getMariadbTypes()!=1){kuandaixinxi.setMariadbTypes(1);}else{return R.error("请不要重复点击更换状态按钮");}kuandaixinxiService.updateById(kuandaixinxi);return R.ok();}
}

 

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

相关文章:

  • 网站开发框架苏州相城做网站哪家好
  • 51ape是谁做的网站西安网站制作有限公司
  • 网站搭建公司排名做网站的上海公司
  • 北京品牌网站建设网页如何保存密码
  • 不同性质网站的营销特点一览表c 做网站方便吗
  • 阿里云 备案 网站服务内容wordpress网页搭建报名表
  • 网站前后端全部做需要多少钱网站被百度k了如何申述
  • 苏州专业做网站较好的公司全屏网站表现形式
  • 网站不备案能解析吗一个网站完整的html代码
  • 采票网站刷流水做任务wordpress 功能 wordpress.org
  • 阳泉网站开发wordpress 前台文章
  • 做设计的网站有哪些什么是网站开发工程师
  • 做电子购物网站需要申请企业网站维护的主要内容
  • 公司网站建设论文结束语drupal joomla wordpress 带后台管理
  • 西安 做网站站点的几种推广方式
  • 长春制作手机网站北京建设局网站
  • 布吉做棋牌网站建设哪家便宜无人区高清免费网页直播
  • 盐城最专业网站建设网站排名优化苏州网站地址
  • 北京网站建设设计公司泉州关键词排名seo
  • creative建网站平台wordpress 摄影
  • 网上提供免费主页空间的网站外链下载
  • 做天猫网站要多少钱商务网站专题页
  • 网站多网合一网站建设对公司的发展
  • 网站标题关键词用什么隔开松原做网站的公司
  • 钓鱼网站开发素材图库
  • 深圳北站设计者专业做网站技术
  • 做资讯类网站小广告多的网站
  • 邹城网站制作移动crm系统客户端
  • 网站域名品牌怎么写jquery网站底部导航效果
  • 丽江网站建设深圳做软件开发的公司