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

wordpress+左侧导航网站优化公司怎么选

wordpress+左侧导航,网站优化公司怎么选,表格模板免费下载网站,java网站开发公司私信或留言即免费送开题报告和任务书(可指定任意题目) 目录 一、摘要 二、相关技术 三、系统设计 四、数据库设计 五、核心代码 六、论文参考 七、源码获取 一、摘要 互联网发展至今,无论是其理论还是技术都已经成熟&#xf…

私信或留言即免费送开题报告和任务书(可指定任意题目)

目录

一、摘要

二、相关技术

三、系统设计

四、数据库设计  

五、核心代码  

六、论文参考 

七、源码获取  


一、摘要

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

智能无人仓库管理在Eclipse环境中,使用Java语言进行编码,使用Mysql创建数据表保存本系统产生的数据。

总之,智能无人仓库管理集中管理信息,有着保密性强,效率高,存储空间大,成本低等诸多优点。它可以降低信息管理成本,实现信息管理计算机化。

关键词:智能无人仓库管理;Java语言;Mysql

二、相关技术

java、tomcat、mysql、spring、springBoot、mybatis、query、vue

三、系统设计

3.1 整体功能设计图

 3.2 功能具体细节设计   

(1)员工信息管理

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

(2)补货提醒管理

如图5.2显示的就是补货提醒管理页面,此页面提供给管理员的功能有:查看已发布的补货提醒数据,修改补货提醒,补货提醒作废,即可删除,还进行了对补货提醒名称的模糊查询 补货提醒信息的类型查询等等一些条件。

(3)物品类型管理

如图5.3显示的就是物品类型管理页面,此页面提供给管理员的功能有:根据物品类型进行条件查询,还可以对物品类型进行新增、修改、查询操作等等。

(4)补货申请管理

如图5.4显示的就是补货申请管理页面,此页面提供给管理员的功能有:根据补货申请进行新增、修改、查询操作等等。

四、数据库设计  

(1)下图是补货申请实体和其具备的属性。

(2)下图是字典表实体和其具备的属性。

(3)下图是员工实体和其具备的属性。

(4)下图是取货申请实体和其具备的属性。

(5)下图是补货提醒实体和其具备的属性。

五、核心代码  


package com.controller;import java.io.File;
import java.math.BigDecimal;
import java.net.URL;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.JSONObject;
import java.util.*;
import org.springframework.beans.BeanUtils;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.context.ContextLoader;
import javax.servlet.ServletContext;
import com.service.TokenService;
import com.utils.*;
import java.lang.reflect.InvocationTargetException;import com.service.DictionaryService;
import org.apache.commons.lang3.StringUtils;
import com.annotation.IgnoreAuth;
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.*;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.entity.*;
import com.entity.view.*;
import com.service.*;
import com.utils.PageUtils;
import com.utils.R;
import com.alibaba.fastjson.*;/*** 取货申请* 后端接口* @author* @email
*/
@RestController
@Controller
@RequestMapping("/quhuoshenqing")
public class QuhuoshenqingController {private static final Logger logger = LoggerFactory.getLogger(QuhuoshenqingController.class);@Autowiredprivate QuhuoshenqingService quhuoshenqingService;@Autowiredprivate TokenService tokenService;@Autowiredprivate DictionaryService dictionaryService;//级联表service@Autowiredprivate YonghuService yonghuService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params, HttpServletRequest request){logger.debug("page方法:,,Controller:{},,params:{}",this.getClass().getName(),JSONObject.toJSONString(params));String role = String.valueOf(request.getSession().getAttribute("role"));if(false)return R.error(511,"永不会进入");else if("员工".equals(role))params.put("yonghuId",request.getSession().getAttribute("userId"));if(params.get("orderBy")==null || params.get("orderBy")==""){params.put("orderBy","id");}PageUtils page = quhuoshenqingService.queryPage(params);//字典表数据转换List<QuhuoshenqingView> list =(List<QuhuoshenqingView>)page.getList();for(QuhuoshenqingView c:list){//修改对应字典表字段dictionaryService.dictionaryConvert(c, request);}return R.ok().put("data", page);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id, HttpServletRequest request){logger.debug("info方法:,,Controller:{},,id:{}",this.getClass().getName(),id);QuhuoshenqingEntity quhuoshenqing = quhuoshenqingService.selectById(id);if(quhuoshenqing !=null){//entity转viewQuhuoshenqingView view = new QuhuoshenqingView();BeanUtils.copyProperties( quhuoshenqing , view );//把实体数据重构到view中//级联表YonghuEntity yonghu = yonghuService.selectById(quhuoshenqing.getYonghuId());if(yonghu != null){BeanUtils.copyProperties( yonghu , view ,new String[]{ "id", "createTime", "insertTime", "updateTime"});//把级联的数据添加到view中,并排除id和创建时间字段view.setYonghuId(yonghu.getId());}//修改对应字典表字段dictionaryService.dictionaryConvert(view, request);return R.ok().put("data", view);}else {return R.error(511,"查不到数据");}}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody QuhuoshenqingEntity quhuoshenqing, HttpServletRequest request){logger.debug("save方法:,,Controller:{},,quhuoshenqing:{}",this.getClass().getName(),quhuoshenqing.toString());String role = String.valueOf(request.getSession().getAttribute("role"));if(false)return R.error(511,"永远不会进入");else if("员工".equals(role))quhuoshenqing.setYonghuId(Integer.valueOf(String.valueOf(request.getSession().getAttribute("userId"))));Wrapper<QuhuoshenqingEntity> queryWrapper = new EntityWrapper<QuhuoshenqingEntity>().eq("quhuoshenqing_name", quhuoshenqing.getQuhuoshenqingName()).eq("buhuotixing_types", quhuoshenqing.getBuhuotixingTypes()).eq("yonghu_id", quhuoshenqing.getYonghuId()).eq("quhuoshenqing_number", quhuoshenqing.getQuhuoshenqingNumber()).eq("quhuoshenqing_yesno_types", quhuoshenqing.getQuhuoshenqingYesnoTypes()).eq("quhuoshenqing_yesno_text", quhuoshenqing.getQuhuoshenqingYesnoText());logger.info("sql语句:"+queryWrapper.getSqlSegment());QuhuoshenqingEntity quhuoshenqingEntity = quhuoshenqingService.selectOne(queryWrapper);if(quhuoshenqingEntity==null){quhuoshenqing.setQuhuoshenqingYesnoTypes(1);quhuoshenqing.setCreateTime(new Date());quhuoshenqingService.insert(quhuoshenqing);return R.ok();}else {return R.error(511,"表中有相同数据");}}/*** 后端修改*/@RequestMapping("/update")public R update(@RequestBody QuhuoshenqingEntity quhuoshenqing, HttpServletRequest request){logger.debug("update方法:,,Controller:{},,quhuoshenqing:{}",this.getClass().getName(),quhuoshenqing.toString());String role = String.valueOf(request.getSession().getAttribute("role"));
//        if(false)
//            return R.error(511,"永远不会进入");
//        else if("员工".equals(role))
//            quhuoshenqing.setYonghuId(Integer.valueOf(String.valueOf(request.getSession().getAttribute("userId"))));//根据字段查询是否有相同数据Wrapper<QuhuoshenqingEntity> queryWrapper = new EntityWrapper<QuhuoshenqingEntity>().notIn("id",quhuoshenqing.getId()).andNew().eq("quhuoshenqing_name", quhuoshenqing.getQuhuoshenqingName()).eq("buhuotixing_types", quhuoshenqing.getBuhuotixingTypes()).eq("yonghu_id", quhuoshenqing.getYonghuId()).eq("quhuoshenqing_number", quhuoshenqing.getQuhuoshenqingNumber()).eq("quhuoshenqing_yesno_types", quhuoshenqing.getQuhuoshenqingYesnoTypes()).eq("quhuoshenqing_yesno_text", quhuoshenqing.getQuhuoshenqingYesnoText());logger.info("sql语句:"+queryWrapper.getSqlSegment());QuhuoshenqingEntity quhuoshenqingEntity = quhuoshenqingService.selectOne(queryWrapper);if(quhuoshenqingEntity==null){quhuoshenqingService.updateById(quhuoshenqing);//根据id更新return R.ok();}else {return R.error(511,"表中有相同数据");}}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Integer[] ids){logger.debug("delete:,,Controller:{},,ids:{}",this.getClass().getName(),ids.toString());quhuoshenqingService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 批量上传*/@RequestMapping("/batchInsert")public R save( String fileName){logger.debug("batchInsert方法:,,Controller:{},,fileName:{}",this.getClass().getName(),fileName);try {List<QuhuoshenqingEntity> quhuoshenqingList = new ArrayList<>();//上传的东西Map<String, List<String>> seachFields= new HashMap<>();//要查询的字段Date date = new Date();int lastIndexOf = fileName.lastIndexOf(".");if(lastIndexOf == -1){return R.error(511,"该文件没有后缀");}else{String suffix = fileName.substring(lastIndexOf);if(!".xls".equals(suffix)){return R.error(511,"只支持后缀为xls的excel文件");}else{URL resource = this.getClass().getClassLoader().getResource("static/upload/" + fileName);//获取文件路径File file = new File(resource.getFile());if(!file.exists()){return R.error(511,"找不到上传文件,请联系管理员");}else{List<List<String>> dataList = PoiUtil.poiImport(file.getPath());//读取xls文件dataList.remove(0);//删除第一行,因为第一行是提示for(List<String> data:dataList){//循环QuhuoshenqingEntity quhuoshenqingEntity = new QuhuoshenqingEntity();
//                            quhuoshenqingEntity.setQuhuoshenqingName(data.get(0));                    //物品名称 要改的
//                            quhuoshenqingEntity.setBuhuotixingTypes(Integer.valueOf(data.get(0)));   //物品类型 要改的
//                            quhuoshenqingEntity.setYonghuId(Integer.valueOf(data.get(0)));   //员工 要改的
//                            quhuoshenqingEntity.setQuhuoshenqingNumber(Integer.valueOf(data.get(0)));   //取货数量 要改的
//                            quhuoshenqingEntity.setQuhuoshenqingYesnoTypes(Integer.valueOf(data.get(0)));   //审核状态 要改的
//                            quhuoshenqingEntity.setQuhuoshenqingYesnoText(data.get(0));                    //审核意见 要改的
//                            quhuoshenqingEntity.setCreateTime(date);//时间quhuoshenqingList.add(quhuoshenqingEntity);//把要查询是否重复的字段放入map中}//查询是否重复quhuoshenqingService.insertBatch(quhuoshenqingList);return R.ok();}}}}catch (Exception e){return R.error(511,"批量插入数据异常,请联系管理员");}}}

六、论文参考 

七、源码获取  

点赞、收藏、关注、评论啦。

联系即送开题报告和任务书,欢迎咨询

http://www.mmbaike.com/news/105446.html

相关文章:

  • 在境外做色情网站广州网络广告推广公司
  • 北京建设网站的公司培训心得体会200字
  • 自建网站怎么关闭4p营销理论
  • 微信群二维码推广平台长沙网站优化体验
  • 景区网站建设策划书2345网址导航官网下载安装
  • 做网站需要哪些框架三叶草gw9356
  • 用wordpress怎么生成pdf_word_图片文件seo关键词大搜
  • 多种手机网站建设快速排名网站
  • 洛阳市建设委员会网站品牌推广策划营销策划
  • 如何做亚马逊跨境电商平台武汉seo和网络推广
  • 专业做电子的外贸网站微博搜索引擎优化
  • 山西大同企业做网站宁波seo推广优化
  • 招远专业做网站公司招聘网络营销推广人员
  • 网站建设自助建站制作怎么在百度上发布信息广告
  • 泉州网站建设百度图片识别搜索
  • 常用的网页制作工具有哪几种seo诊断分析报告
  • 网上服务平台官网汨罗网站seo
  • 建设医院网站ppt模板下载搜索引擎优化公司排行
  • 网站安全建设步骤百度首页登录
  • 医院建设网站要求分析 amp代理怎么引流推广
  • 百度wordpress结构化数据插件win10最强性能优化设置
  • dw网站建设的常用技术内容营销案例
  • 做网站哪里有seo快速排名代理
  • 个人养老保险查询系统优化网站推广网站
  • 如何选择个人网站主题关键词优化排名工具
  • 企业网站建设后期维护费用游戏推广员好做吗
  • 网站建设平台选用及分析南宁seo主管
  • 浙江网站制作公司搜索引擎营销的作用
  • 安全的营销型网站制作网络营销管理
  • 哔哩哔哩推广网站什么样的人适合做营销