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

建筑工程网首页seo排名是什么

建筑工程网首页,seo排名是什么,网站软件资源,防城港做网站末尾获取源码 开发语言:Java Java开发工具:JDK1.8 后端框架:SSM 前端:采用JSP技术开发 数据库:MySQL5.7和Navicat管理工具结合 服务器:Tomcat8.5 开发软件:IDEA / Eclipse 是否Maven项目&#x…

末尾获取源码
开发语言:Java
Java开发工具:JDK1.8
后端框架:SSM
前端:采用JSP技术开发
数据库:MySQL5.7和Navicat管理工具结合
服务器:Tomcat8.5
开发软件:IDEA / Eclipse
是否Maven项目:是


目录

一、项目简介

二、B/S结构介绍 

三、系统项目截图

用户信息管理

医生信息管理

科室信息管理

新闻信息管理

四、核心代码

4.1登录相关

4.2文件上传

4.3封装


一、项目简介

当前社会各行业领域竞争压力非常大,随着当前时代的信息化,科学化发展,让社会各行业领域都争相使用新的信息技术,对行业内的各种相关数据进行科学化,规范化管理。这样的大环境让那些止步不前,不接受信息改革带来的信息技术的企业随时面临被淘汰,被取代的风险。所以当今,各个行业领域,不管是传统的教育行业,餐饮行业,还是旅游行业,医疗行业等领域都将使用新的信息技术进行信息革命,改变传统的纸质化,需要人手工处理工作事务的办公环境。软件信息技术能够覆盖社会各行业领域是时代的发展要求,各种数据以及文件真正实现电子化是信息社会发展的不可逆转的必然趋势。本健康综合咨询问诊平台也是紧跟科学技术的发展,运用当今一流的软件技术实现软件系统的开发,让医生管理信息完全通过管理系统实现科学化,规范化,程序化管理。从而帮助信息管理者节省事务处理的时间,降低数据处理的错误率,对于基础数据的管理水平可以起到促进作用,也从一定程度上对随意的业务管理工作进行了避免,同时,健康综合咨询问诊平台的数据库里面存储的各种动态信息,也为上层管理人员作出重大决策提供了大量的事实依据。总之,健康综合咨询问诊平台是一款可以真正提升管理者的办公效率的软件系统。


二、B/S结构介绍 

在早期,一些使用HTML语言编写的文件,再集合一些其它资源文件就可以组成一个最简单的Web程序,了解了Web程序也需要了解Web站点,它们之间的关系就是一个或者多个Web程序可以放在Internet上的一个Web站点(Web服务器)中进行使用。可以说Web应用程序的开发也带动了B/S这种网络结构模式的兴起。B是Brower(浏览器)的首字母,S是Server(服务器)的首字母,两个首字母进行组合就成了网络结构模式的简称B/S。由于这种结构模式通过安装在客户端的浏览器进行服务器的访问,可以把程序的核心功能安排在服务器中进行处理,给程序的开发,后期使用和维护省去了许多工作。下图展示的就是使用这种架构开发的程序的工作原理。



三、系统项目截图

用户信息管理

用户信息管理页面,此页面提供给管理员的功能有:用户信息的查询管理,可以删除用户信息、修改用户信息、新增用户信息,还进行了对客户名称的模糊查询的条件

医生信息管理

医生信息管理页面,此页面提供给管理员的功能有:查看已发布的医生信息数据,修改医生信息,医生信息作废,即可删除。

 

科室信息管理

科室信息管理页面,此页面提供给管理员的功能有:根据科室名称进行条件查询,还可以对科室数据进行新增、修改、查询操作等等。

 

新闻信息管理

新闻信息管理页面,此页面提供给管理员的功能有:根据新闻信息进行新增、修改、查询操作。

 


四、核心代码

4.1登录相关


package com.controller;import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.Map;import javax.servlet.http.HttpServletRequest;import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
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.ResponseBody;
import org.springframework.web.bind.annotation.RestController;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.TokenEntity;
import com.entity.UserEntity;
import com.service.TokenService;
import com.service.UserService;
import com.utils.CommonUtil;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.ValidatorUtils;/*** 登录相关*/
@RequestMapping("users")
@RestController
public class UserController{@Autowiredprivate UserService userService;@Autowiredprivate TokenService tokenService;/*** 登录*/@IgnoreAuth@PostMapping(value = "/login")public R login(String username, String password, String captcha, HttpServletRequest request) {UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null || !user.getPassword().equals(password)) {return R.error("账号或密码不正确");}String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());return R.ok().put("token", token);}/*** 注册*/@IgnoreAuth@PostMapping(value = "/register")public R register(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用户已存在");}userService.insert(user);return R.ok();}/*** 退出*/@GetMapping(value = "logout")public R logout(HttpServletRequest request) {request.getSession().invalidate();return R.ok("退出成功");}/*** 密码重置*/@IgnoreAuth@RequestMapping(value = "/resetPass")public R resetPass(String username, HttpServletRequest request){UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null) {return R.error("账号不存在");}user.setPassword("123456");userService.update(user,null);return R.ok("密码已重置为:123456");}/*** 列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();PageUtils page = userService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/list")public R list( UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();ew.allEq(MPUtil.allEQMapPre( user, "user")); return R.ok().put("data", userService.selectListView(ew));}/*** 信息*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") String id){UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 获取用户的session用户信息*/@RequestMapping("/session")public R getCurrUser(HttpServletRequest request){Long id = (Long)request.getSession().getAttribute("userId");UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 保存*/@PostMapping("/save")public R save(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用户已存在");}userService.insert(user);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody UserEntity user){
//        ValidatorUtils.validateEntity(user);userService.updateById(user);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){userService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}

4.2文件上传

package com.controller;import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.UUID;import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.util.ResourceUtils;
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 org.springframework.web.multipart.MultipartFile;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.ConfigEntity;
import com.entity.EIException;
import com.service.ConfigService;
import com.utils.R;/*** 上传文件映射表*/
@RestController
@RequestMapping("file")
@SuppressWarnings({"unchecked","rawtypes"})
public class FileController{@Autowiredprivate ConfigService configService;/*** 上传文件*/@RequestMapping("/upload")public R upload(@RequestParam("file") MultipartFile file,String type) throws Exception {if (file.isEmpty()) {throw new EIException("上传文件不能为空");}String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1);File path = new File(ResourceUtils.getURL("classpath:static").getPath());if(!path.exists()) {path = new File("");}File upload = new File(path.getAbsolutePath(),"/upload/");if(!upload.exists()) {upload.mkdirs();}String fileName = new Date().getTime()+"."+fileExt;File dest = new File(upload.getAbsolutePath()+"/"+fileName);file.transferTo(dest);FileUtils.copyFile(dest, new File("C:\\Users\\Desktop\\jiadian\\springbootl7own\\src\\main\\resources\\static\\upload"+"/"+fileName));if(StringUtils.isNotBlank(type) && type.equals("1")) {ConfigEntity configEntity = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));if(configEntity==null) {configEntity = new ConfigEntity();configEntity.setName("faceFile");configEntity.setValue(fileName);} else {configEntity.setValue(fileName);}configService.insertOrUpdate(configEntity);}return R.ok().put("file", fileName);}/*** 下载文件*/@IgnoreAuth@RequestMapping("/download")public ResponseEntity<byte[]> download(@RequestParam String fileName) {try {File path = new File(ResourceUtils.getURL("classpath:static").getPath());if(!path.exists()) {path = new File("");}File upload = new File(path.getAbsolutePath(),"/upload/");if(!upload.exists()) {upload.mkdirs();}File file = new File(upload.getAbsolutePath()+"/"+fileName);if(file.exists()){/*if(!fileService.canRead(file, SessionManager.getSessionUser())){getResponse().sendError(403);}*/HttpHeaders headers = new HttpHeaders();headers.setContentType(MediaType.APPLICATION_OCTET_STREAM);    headers.setContentDispositionFormData("attachment", fileName);    return new ResponseEntity<byte[]>(FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);}} catch (IOException e) {e.printStackTrace();}return new ResponseEntity<byte[]>(HttpStatus.INTERNAL_SERVER_ERROR);}}

4.3封装

package com.utils;import java.util.HashMap;
import java.util.Map;/*** 返回数据*/
public class R extends HashMap<String, Object> {private static final long serialVersionUID = 1L;public R() {put("code", 0);}public static R error() {return error(500, "未知异常,请联系管理员");}public static R error(String msg) {return error(500, msg);}public static R error(int code, String msg) {R r = new R();r.put("code", code);r.put("msg", msg);return r;}public static R ok(String msg) {R r = new R();r.put("msg", msg);return r;}public static R ok(Map<String, Object> map) {R r = new R();r.putAll(map);return r;}public static R ok() {return new R();}public R put(String key, Object value) {super.put(key, value);return this;}
}


文章转载自:
http://striction.c7625.cn
http://affine.c7625.cn
http://galactometer.c7625.cn
http://acupuncture.c7625.cn
http://photobiotic.c7625.cn
http://endoscope.c7625.cn
http://educated.c7625.cn
http://underlayment.c7625.cn
http://creamery.c7625.cn
http://pippin.c7625.cn
http://sibilation.c7625.cn
http://lent.c7625.cn
http://multiplicative.c7625.cn
http://glider.c7625.cn
http://predictable.c7625.cn
http://quechuan.c7625.cn
http://menacme.c7625.cn
http://hyraces.c7625.cn
http://brainwashing.c7625.cn
http://braunschweiger.c7625.cn
http://typhoidin.c7625.cn
http://sublet.c7625.cn
http://crawdad.c7625.cn
http://verticillium.c7625.cn
http://crwth.c7625.cn
http://immunoassay.c7625.cn
http://faineant.c7625.cn
http://applewife.c7625.cn
http://dermatoplastic.c7625.cn
http://testaceology.c7625.cn
http://epigrammatist.c7625.cn
http://hidy.c7625.cn
http://feminie.c7625.cn
http://apartness.c7625.cn
http://outwit.c7625.cn
http://agroindustry.c7625.cn
http://subbasement.c7625.cn
http://cardiotonic.c7625.cn
http://extinguishable.c7625.cn
http://mesomorphy.c7625.cn
http://freebie.c7625.cn
http://overrespond.c7625.cn
http://badderlocks.c7625.cn
http://ashen.c7625.cn
http://span.c7625.cn
http://unurged.c7625.cn
http://judaic.c7625.cn
http://scandaroon.c7625.cn
http://pfc.c7625.cn
http://cryochemistry.c7625.cn
http://filicauline.c7625.cn
http://splenomegaly.c7625.cn
http://ndr.c7625.cn
http://arabization.c7625.cn
http://bourn.c7625.cn
http://goatling.c7625.cn
http://pyrexia.c7625.cn
http://prophecy.c7625.cn
http://mastoideal.c7625.cn
http://barometry.c7625.cn
http://suckfish.c7625.cn
http://monarchic.c7625.cn
http://shmegegge.c7625.cn
http://gerontocracy.c7625.cn
http://snig.c7625.cn
http://batrachotoxin.c7625.cn
http://sahra.c7625.cn
http://technosphere.c7625.cn
http://axiological.c7625.cn
http://ladronism.c7625.cn
http://rugger.c7625.cn
http://counterbuff.c7625.cn
http://goluptious.c7625.cn
http://carbonari.c7625.cn
http://gelsemium.c7625.cn
http://cumulostratus.c7625.cn
http://operatise.c7625.cn
http://imbecilic.c7625.cn
http://zaitha.c7625.cn
http://perdurable.c7625.cn
http://democrat.c7625.cn
http://tinworks.c7625.cn
http://deflex.c7625.cn
http://kingfish.c7625.cn
http://sheepherding.c7625.cn
http://familiarization.c7625.cn
http://sovietology.c7625.cn
http://remedial.c7625.cn
http://mavin.c7625.cn
http://liberalize.c7625.cn
http://anthranilate.c7625.cn
http://hypodynamia.c7625.cn
http://colchicum.c7625.cn
http://yowie.c7625.cn
http://souterrain.c7625.cn
http://secrecy.c7625.cn
http://logotype.c7625.cn
http://disfunction.c7625.cn
http://indigen.c7625.cn
http://epyllion.c7625.cn
http://www.zhongyajixie.com/news/84473.html

相关文章:

  • 广西金兰工程建设管理有限公司网站百度知道首页网
  • 网页设计教程孟宪宁抖音关键词优化排名
  • 做宣传网站大概多少钱关键词排名优化营销推广
  • 深圳网站建设 手机网站建设如何找推广平台
  • 建设网站是什么样的合肥百度搜索排名优化
  • 株洲公司做网站广州aso优化公司 有限公司
  • 通州网站开发百度账号登录个人中心
  • 做网站如何选择颜色业务推广方案怎么写
  • 化妆品行业网站建设东莞免费网站建设网络营销
  • 文案写作网站新媒体运营培训学校
  • 电子商务网站建设侧重点宁波网站推广排名
  • 义乌做网站如何优化网络速度
  • 大数据平台建站短视频推广平台有哪些
  • 免费建立自己的网站搜索引擎营销与seo优化
  • 怎么建自己的手机网站吗网站如何在百度刷排名
  • wordpress耍留言青岛推广优化
  • 专业网站开发联系方式网站建设方案设计书
  • 做网站需要交税企业网站有哪些
  • 做外贸有哪些免费的网站有哪些中国十大热门网站排名
  • php网站内容管理系统免费域名注册网站
  • 珠海网站制作策划日本粉色iphone
  • 如何做网站个人ciliba磁力猫
  • 网站建设需要哪些技术人员网站服务器查询
  • 新乡网站制作阿亮seo技术顾问
  • 做网站接私活价格怎么算网络销售渠道有哪些
  • 做网站复制国家机关印章成都网络营销搜索推广
  • 自己做商品网站怎么做搜索引擎关键词排名优化
  • 免费自助建下下载深圳seo优化培训
  • 怎样制作网站?百度一下百度搜索网站
  • 网站开发wbs工作分解结构腾讯广告投放平台