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

大腕 网站建设黄骅怎么样

大腕 网站建设,黄骅怎么样,公司宣传片视频制作,wordpress被恶意注册ssm简易版营业厅宽带系统源码和论文018 开发工具#xff1a;idea 数据库mysql5.7 数据库链接工具#xff1a;navcat,小海豚等 技术#xff1a;ssm 摘 要 现代经济快节奏发展以及不断完善升级的信息化技术#xff0c;让传统数据信息的管理升级为软件存储#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 MapString, 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);WrapperKuandaixinxiEntity queryWrapper new EntityWrapperKuandaixinxiEntity().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(kuandaixinxiEntitynull){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);//根据字段查询是否有相同数据WrapperKuandaixinxiEntity queryWrapper new EntityWrapperKuandaixinxiEntity().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(kuandaixinxiEntitynull){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.dnsts.com.cn/news/18287.html

相关文章:

  • 国际域名网站网站分类目录大全
  • nas 做网站服务器wordpress首页优化
  • mq网站开发html5做网站系统
  • 提供网站建设框架公司网站百度推广
  • 网站改名 seo我是做网站的 怎么才能提高业绩
  • 客户案例 网站建设网络规划设计师教程第三版云盘下载
  • 大型网站建设公司排名设计软件ai
  • 中铁建设集团有限公司招标seo搜索优化推广
  • 在企业网站建设的解决方案中17模板网站
  • 懒人学做网站大数据营销案例有哪些
  • 怎么做一个免费网站网站正在建设中html5
  • 宜昌网站网站建设成功企业vi设计案例
  • 哪个平台可以发布免费推广网站优化建议书
  • 网站后台修改不了家具网站建设公司
  • 怎么办网站网站建设有哪些基本流程
  • 站长工具浪潮可采用的基本方式有
  • dedecms模板站wordpress的用户名密码
  • 网站建设程序做哪些网站模板建站公司
  • 张家港市网站建设律师网站模板
  • 外国网站dns一个企业网站需要多少钱
  • 企业网站建设一般要素包括做装修业务呢有多少网站
  • 有哪些网站可以做微商怎么把网站放到空间
  • 移动网站建设书国内做网站费用
  • 长沙网站建设外贸主流建站公司
  • 四川做网站多少钱好的网站设计机构
  • 溆浦县建筑公司网站北京建设教育协会网站首页
  • 有回定ip怎么做网站自己建立网站后怎么做淘客
  • 站长网站大全安顺建设工程造价管理网站
  • 做百度推广网站排名编程培训机构名字
  • 北京托管网站深圳小区封闭最新通知