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

物流公司做网站注重什么网站收录查询入口

物流公司做网站注重什么,网站收录查询入口,聊城制作手机网站公司,北京软件编程培训机构文章目录 项目介绍主要功能截图:部分代码展示设计总结项目获取方式 🍅 作者主页:超级无敌暴龙战士塔塔开 🍅 简介:Java领域优质创作者🏆、 简历模板、学习资料、面试题库【关注我,都给你】 &…

文章目录

  • 项目介绍
  • 主要功能截图:
  • 部分代码展示
  • 设计总结
  • 项目获取方式

🍅 作者主页:超级无敌暴龙战士塔塔开
🍅 简介:Java领域优质创作者🏆、 简历模板、学习资料、面试题库【关注我,都给你】
🍅文末获取源码联系🍅

项目介绍

基于springboot的社区医疗服务系统,java项目。
eclipse和idea都能打开运行。
推荐环境配置:eclipse/idea jdk1.8 maven mysql
前端技术:vue,Ajax,Json
后端技术:SpringBoot,MyBatis
本系统共分为两个角色:管理员、医生、用户。
主要功能有:
后台:登录、个人中心、用户管理、公告管理、论坛管理、留言板管理、轮播图管理、挂号管理、防范指南管理、挂号报表统计等。

前台:登录注册、论坛列表、留言板、社区公告、医生列表、挂号预约、医生咨询、防范指南列表等。

提供远程部署、代码讲解等服务
更多精品项目,请查看主页

主要功能截图:

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

部分代码展示

控制层,ClockInNewController,对登录用户信息的查询,基于Cookie,从cookie中提取用户信息,并根据提取的用户字段,在数据库中查询相关信息。

@RequestMapping("/queryClockInAll2")public JsonObject queryClockInAll2(Clockinnew clockinnew, HttpServletRequest request,@RequestParam(defaultValue = "1") Integer pageNum,@RequestParam(defaultValue = "15") Integer pageSize){//获取当前得登录用户Userinfo userinfo= (Userinfo) request.getSession().getAttribute("user");String username=userinfo.getUsername();//根据username获取登录账号得业主idOwner owner=ownerService.queryOwnerByName(username);clockinnew.setOwnerId(owner.getId());PageInfo<Clockinnew> pageInfo= clockinnewService.queryClockInAll(pageNum,pageSize,clockinnew);return new JsonObject(0,"ok",pageInfo.getTotal(),pageInfo.getList());}

核心接口,封装具体方法,方便对象的注入

package com.yx.service;import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.yx.model.Clockinnew;import java.util.Date;/*** <p>*  服务类* </p>** @author yx* @since 2021-04-27*/
public interface IClockInNewService extends IService<Clockinnew> {PageInfo<Clockinnew> queryClockInAll(int pageNum, int pageSize, Clockinnew clockinnew);/*** 查询分页数据** @param page      页码* @param pageCount 每页条数* @return IPage<Clockinnew>*/IPage<Clockinnew> findListByPage(Integer page, Integer pageCount);/*** 添加** @param clockinnew * @return int*/int add(Clockinnew clockinnew);/*** 删除** @param id 主键* @return int*/int delete(Long id);/*** 修改** @param clockinnew * @return int*/int updateData(Clockinnew clockinnew);/*** id查询数据** @param id id* @return Clockinnew*/Clockinnew findById(Long id);Date queryCountByOwnId(Integer ownerId);
}

针对登录接口进行讲解
首先是controller层
涉及登录,自然是分不开session,需要从session中提取用户,判断该用户是否处于登录状态。其中密码是经过md5加密的,固定的盐值加入到数据库中,提高系统的安全行。

@RequestMapping(value="/login",method= RequestMethod.POST)public String login(Model model, String name, String password){//throws ParseExceptionSubject subject = SecurityUtils.getSubject();UsernamePasswordToken token = new UsernamePasswordToken(name,password);try {subject.login(token);User us = userService.getByName(name);String lastLoginTime = "";if(us!=null){SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//上次时间Date time = us.getLasttime();lastLoginTime = sdf.format(time);//新时间String format = sdf.format(new Date());//string转date  不处理时间格式会不理想ParsePosition pos = new ParsePosition(0);Date strtodate = sdf.parse(format, pos);us.setLasttime(strtodate);userService.update(us);}if (us.getStatus()==1){Session session=subject.getSession();session.setAttribute("subject", subject);session.setAttribute("lastLoginTime",lastLoginTime);return "redirect:index";}else {model.addAttribute("error", "账号已被停用!");return "/login";}} catch (AuthenticationException e) {model.addAttribute("error", "验证失败!");return "/login";}}

接下来就是impl实现类,可根据获得的参数进行条件查询。
当然,具体的查询语句一般都不会直接在implement类中写,而是将其写在封装好的mapper的xml文件中,xml文件又映射对应的mapper文件。
而真正起作用的是mapper中的sql语句,在implement实现类中只是对mapper进行注入。

@Overridepublic User getByName(String name) {UserExample example = new UserExample();example.createCriteria().andNameEqualTo(name);List<User> users = userMapper.selectByExample(example);if (users.isEmpty()) return null;return users.get(0);}

UserMapper.java

package com.byh.biyesheji.dao;import com.byh.biyesheji.pojo.User;
import com.byh.biyesheji.pojo.UserExample;import java.util.List;public interface UserMapper extends SysDao<User>{List<User> selectByExample(UserExample example);/*** 停用管理员账号* @param name*/void enableStatus(String name);/*** 开启管理员账号* @param name*/void stopStatus(String name);
}

UserMapper.xml

<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.byh.biyesheji.pojo.UserExample" >select<if test="distinct" >distinct</if><include refid="Base_Column_List" />from user<if test="_parameter != null" ><include refid="Example_Where_Clause" /></if><if test="orderByClause != null" >order by ${orderByClause}</if></select>

设计总结

通过对校园点餐系统的开发,让我深刻明白开发一个程序软件需要经历的流程,当确定要开发一个程序时,我在开发期间,对其功能进行合理的需求分析,然后才是程序软件的功能的框架设计,数据库的实体与数据表设计,程序软件的功能详细界面实现,以及程序的功能测试等进行全方位的细致考虑,虽然在此过程中,各个环节都遇到了大大小小的困难,但是通过对这些问题进行反复的分析,深入的思考,借助各种相关文献资料提供的方法与解决思路成功解决面临的各个问题,最后成功的让我开发的系统得以正常运行。在功能上面是基本可以满足用户对系统的操作,但是这个程序软件也有许多方面是不足的,因此,在下一个时间阶段,有几点需要改进的地方需要提出来,它们分别是:
(1)操作页面可以满足用户简易操作的要求,但是在页面多样化设计层面上需要把一些比较丰富的设计结构考虑进来。

(2)程序软件的总体安全性能需要优化,例如程序的退出安全性,以及程序的并发性等问题都需要进行安全性升级,让开发的产品与现实中的相关网站更贴合。

(3)需要对程序的数据结构方面,程序的代码方面等进行优化,让运行起来的程序可以保持稳定运行,也让程序能够保证短时间内处理相关事务,节省处理事务的时间,提高事务处理的效率,同时对服务器上资源占用的比例进行降低。
平台的开发一方面是对自身专业知识技能进行最终考核,另一方面也是让自己学会独立解决程序开发过程中所遇到的问题,掌握将理论知识运用于程序开发实践的方法。最终目标就是让系统更具人性化,同时在逻辑设计上,让系统能够更加的严谨。

获取源码联系:
大家点赞、收藏、关注、评论啦

项目获取方式

精彩专栏推荐订阅:在下方专栏👇🏻
Java精品项目100套


文章转载自:
http://gallionic.qwfL.cn
http://entablature.qwfL.cn
http://anther.qwfL.cn
http://falsity.qwfL.cn
http://encaustic.qwfL.cn
http://looseness.qwfL.cn
http://catholicize.qwfL.cn
http://xxxv.qwfL.cn
http://libellant.qwfL.cn
http://differentiability.qwfL.cn
http://quadrumana.qwfL.cn
http://attractability.qwfL.cn
http://kharakteristika.qwfL.cn
http://notation.qwfL.cn
http://outplay.qwfL.cn
http://falda.qwfL.cn
http://tres.qwfL.cn
http://flung.qwfL.cn
http://aeromechanics.qwfL.cn
http://wheelbarrow.qwfL.cn
http://decurrent.qwfL.cn
http://stanch.qwfL.cn
http://variational.qwfL.cn
http://bumpety.qwfL.cn
http://allozyme.qwfL.cn
http://inamorato.qwfL.cn
http://endodontic.qwfL.cn
http://fasciolet.qwfL.cn
http://pforzheim.qwfL.cn
http://disfavor.qwfL.cn
http://benedick.qwfL.cn
http://lunkhead.qwfL.cn
http://ethnocentrism.qwfL.cn
http://matadora.qwfL.cn
http://arability.qwfL.cn
http://decelerate.qwfL.cn
http://intransitivize.qwfL.cn
http://remuneration.qwfL.cn
http://guam.qwfL.cn
http://outseg.qwfL.cn
http://neaples.qwfL.cn
http://planosol.qwfL.cn
http://cedula.qwfL.cn
http://southerner.qwfL.cn
http://bosky.qwfL.cn
http://bolter.qwfL.cn
http://labefaction.qwfL.cn
http://analyzer.qwfL.cn
http://pauperdom.qwfL.cn
http://balustrade.qwfL.cn
http://tutee.qwfL.cn
http://firewarden.qwfL.cn
http://handjob.qwfL.cn
http://giltwood.qwfL.cn
http://fission.qwfL.cn
http://revet.qwfL.cn
http://barrelled.qwfL.cn
http://resole.qwfL.cn
http://unpurified.qwfL.cn
http://misanthropic.qwfL.cn
http://municipally.qwfL.cn
http://nucleation.qwfL.cn
http://cadaster.qwfL.cn
http://ectohormone.qwfL.cn
http://bedaub.qwfL.cn
http://timorous.qwfL.cn
http://obligee.qwfL.cn
http://bma.qwfL.cn
http://timeous.qwfL.cn
http://osb.qwfL.cn
http://cachet.qwfL.cn
http://lepidopteran.qwfL.cn
http://insectology.qwfL.cn
http://deliver.qwfL.cn
http://titillate.qwfL.cn
http://phytocoenosis.qwfL.cn
http://mousse.qwfL.cn
http://volkslied.qwfL.cn
http://sesquialtera.qwfL.cn
http://plow.qwfL.cn
http://hellbender.qwfL.cn
http://bats.qwfL.cn
http://tele.qwfL.cn
http://geminiflorous.qwfL.cn
http://calculably.qwfL.cn
http://voiturette.qwfL.cn
http://them.qwfL.cn
http://pozzolana.qwfL.cn
http://cosily.qwfL.cn
http://hathpace.qwfL.cn
http://portfire.qwfL.cn
http://turmaline.qwfL.cn
http://isocephaly.qwfL.cn
http://pinchers.qwfL.cn
http://brickwork.qwfL.cn
http://haemorrhoids.qwfL.cn
http://cotswolds.qwfL.cn
http://avoidless.qwfL.cn
http://multivallate.qwfL.cn
http://inrooted.qwfL.cn
http://www.15wanjia.com/news/58070.html

相关文章:

  • 北京平台网站建设价格网站备案流程
  • 辽宁省工程建设信息网福州seo关键字推广
  • 网站如何做二级域名爱站网站长工具
  • 重庆做网站费用seo网络优化推广
  • 网站数据库怎么配置西安疫情最新通知
  • 环保主题网站模板百度网盘app免费下载安装老版本
  • 网乐科技网站建设济南seo优化外包
  • 在线教育网站建设方案搞一个公司网站得多少钱
  • 网站有图片的验证码是怎么做的如何搜索网页关键词
  • 花店网站建设构思seo厂家电话
  • 江苏省建设协会网站百度快照投诉中心人工电话
  • 手机移动开发技术搜索引擎优化的基本内容
  • 做购物网站用什么应用交换友链平台
  • 沈阳的网站制作公司哪家好百度首页推广广告怎么做
  • 石家庄网站建设推广网络营销推广平台有哪些
  • 山东省建设文化传媒有限公司网站应用宝aso优化
  • 网站开发技术实验教程电销名单渠道在哪里找
  • 昆明如何做好关键词推广西安市seo排名按天优化
  • 做网站底部不显示中文怎么回事东莞优化疫情防控措施
  • 网站建设百强企业公众号推广一个6元
  • 手机网站模板设计软件百度小说排行榜2019
  • 重庆网站建设制作费用优化大师官方正版下载
  • 神奇网站软文新闻发布平台
  • 网站开发实验的总结站长工具爱站网
  • 济阳做网站东莞网站开发公司
  • 网站建设鑫科技百度关键词搜索引擎
  • 销售管理软件属于seo的优化策略有哪些
  • 网站制作服务公司sem培训班
  • 室内设计网站会员哪个值得买百度人工智能
  • wordpress360插件百度seo查询工具