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

做兼职的网站策划书湖北省建设工程造价信息网

做兼职的网站策划书,湖北省建设工程造价信息网,网页传奇公益服,中国十大it公司私信或留言即免费送开题报告和任务书#xff08;可指定任意题目#xff09; 目录 一、摘要 二、相关技术 三、系统设计 四、数据库设计 五、核心代码 六、论文参考 七、源码获取 一、摘要 互联网发展至今#xff0c;无论是其理论还是技术都已经成熟#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;//级联表serviceAutowiredprivate YonghuService yonghuService;/*** 后端列表*/RequestMapping(/page)public R page(RequestParam MapString, 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);//字典表数据转换ListQuhuoshenqingView list (ListQuhuoshenqingView)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))));WrapperQuhuoshenqingEntity queryWrapper new EntityWrapperQuhuoshenqingEntity().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(quhuoshenqingEntitynull){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))));//根据字段查询是否有相同数据WrapperQuhuoshenqingEntity queryWrapper new EntityWrapperQuhuoshenqingEntity().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(quhuoshenqingEntitynull){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 {ListQuhuoshenqingEntity quhuoshenqingList new ArrayList();//上传的东西MapString, ListString 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{ListListString dataList PoiUtil.poiImport(file.getPath());//读取xls文件dataList.remove(0);//删除第一行因为第一行是提示for(ListString 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.w-s-a.com/news/261891/

相关文章:

  • 企业网站网址长期做网站应该购买稳定的空间
  • 网站静态化设计html5手机网站制作
  • 深圳最简单的网站建设家居网站建设全网营销
  • 如何取消网站备案佛山网站优化公司
  • 网站开发 成都广水网站设计
  • 音乐网站建设目标合同管理系统
  • jq网站特效插件如何知道网站是否被k
  • 自己的网站怎么接广告网站搭建收费
  • 宁波大型网站制作建立一个网站 优帮云
  • 大连零基础网站建设教学电话有哪些比较好的做ppt好的网站
  • 哪个网站做logo设计我的建筑网
  • php电子商务网站开发沂源手机网站建设公司
  • html和php做网站哪个好3gcms企业手机网站整站源码asp
  • 网站建设网页设计案例云南建设厅网站删除
  • 杏坛网站制作太原做网站要多少钱呢
  • 做新闻类网站还有市场吗东莞黄页网广告
  • 地方网站做外卖专业做互联网招聘的网站有哪些
  • 网站推广公司兴田德润紧急网页升级紧急通知
  • 厦门做网站哪家强企业网站网页设计的步骤
  • 普拓网站建设济南行业网站建设
  • 燕郊 网站开发网站里的地图定位怎么做
  • 门户网站建设招标互联网创业项目概述
  • 用什么做网站比较好市场调研公司是做什么的
  • 电商网站充值消费系统绍兴网站优化
  • 深圳网站建设公司联虚拟币交易网站开发
  • 专业网站设计建设公司抖音代运营公司排名前十强
  • 做网站架构肃北蒙古族自治县建设局网站
  • 推广网站怎么建经济研究院网站建设方案
  • 网站建设商家淘宝客自建网站做还是用微信qq做
  • django做网站效率高吗涉县移动网站建设报价