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

惠州专业网站制作公司wordpress加载js代码

惠州专业网站制作公司,wordpress加载js代码,网站的开发设计的技术,中卫市网站开发制作随着信息化时代的到来#xff0c;管理系统都趋向于智能化、系统化#xff0c;实习管理也不例外#xff0c;但目前国内仍都使用人工管理#xff0c;市场规模越来越大#xff0c;同时信息量也越来越庞大#xff0c;人工管理显然已无法应对时代的变化#xff0c;而实习管理… 随着信息化时代的到来管理系统都趋向于智能化、系统化实习管理也不例外但目前国内仍都使用人工管理市场规模越来越大同时信息量也越来越庞大人工管理显然已无法应对时代的变化而实习管理系统能很好地解决这一问题轻松应对实习管理平时的工作既能提高人力物力财力又能加快工作的效率取代人工管理是必然趋势。 本实习管理系统以springboot作为框架b/s模式以及MySql作为后台运行的数据库同时使用Tomcat用为系统的服务器。本系统主要包括首页个人中心班级管理学生管理教师管理实习单位管理实习作业管理教师评分管理单位成绩管理系统管理等功能通过这些功能的实现基本能够满足日常实习管理的操作。 本文着重阐述了实习管理系统的分析、设计与实现首先介绍开发系统和环境配置、数据库的设计接着说明功能模块的详细实现最后进行了总结。 关键词实习管理系统springbootMySql数据库Tomcat 基于sprinmgboot实习管理系统源码和论文315 演示视频 基于sprinmgboot实习管理系统源码和论文 Abstract With the coming of information era, all tend to be intelligent, systematic management system, practice management is no exception, but at present domestic still use manual management, the size of the market is more and more big, at the same time, the amount of information is becoming more and more big, artificial management has clearly unable to cope with the changes of The Times, and practice management system can solve this problem well, easy to practice management work at ordinary times, It can not only improve manpower, material and financial resources, but also speed up the efficiency of work, replacing manual management is an inevitable trend. This practice management system uses Springboot as the framework, B/S mode and MySql as the background database, and Tomcat as the server of the system. This system mainly includes home page, personal center, class management, student management, teacher management, practice unit management, practice operation management, teacher scoring management, unit score management, system management and other functions, through the realization of these functions can basically meet the operation of daily practice management. This paper focuses on the analysis, design and implementation of the practice management system, first introduces the development system and environment configuration, the design of the database, then explains the detailed implementation of the functional modules, and finally summarizes. Key words: Practice management system; Springboot; MySql database; Tomcat package com.controller;import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map;import javax.servlet.http.HttpServletRequest;import org.apache.commons.lang3.StringUtils; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; 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 com.annotation.IgnoreAuth; import com.baidu.aip.face.AipFace; import com.baidu.aip.face.MatchRequest; import com.baidu.aip.util.Base64Util; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.entity.ConfigEntity; import com.service.CommonService; import com.service.ConfigService; import com.utils.BaiduUtil; import com.utils.FileUtil; import com.utils.R; /*** 通用接口*/ RestController public class CommonController{Autowiredprivate CommonService commonService;private static AipFace client null;Autowiredprivate ConfigService configService; /*** 获取table表中的column列表(联动接口)* param table* param column* return*/IgnoreAuthRequestMapping(/option/{tableName}/{columnName})public R getOption(PathVariable(tableName) String tableName, PathVariable(columnName) String columnName,String level,String parent) {MapString, Object params new HashMapString, Object();params.put(table, tableName);params.put(column, columnName);if(StringUtils.isNotBlank(level)) {params.put(level, level);}if(StringUtils.isNotBlank(parent)) {params.put(parent, parent);}ListString data commonService.getOption(params);return R.ok().put(data, data);}/*** 根据table中的column获取单条记录* param table* param column* return*/IgnoreAuthRequestMapping(/follow/{tableName}/{columnName})public R getFollowByOption(PathVariable(tableName) String tableName, PathVariable(columnName) String columnName, RequestParam String columnValue) {MapString, Object params new HashMapString, Object();params.put(table, tableName);params.put(column, columnName);params.put(columnValue, columnValue);MapString, Object result commonService.getFollowByOption(params);return R.ok().put(data, result);}/*** 修改table表的sfsh状态* param table* param map* return*/RequestMapping(/sh/{tableName})public R sh(PathVariable(tableName) String tableName, RequestBody MapString, Object map) {map.put(table, tableName);commonService.sh(map);return R.ok();}/*** 获取需要提醒的记录数* param tableName* param columnName* param type 1:数字 2:日期* param map* return*/IgnoreAuthRequestMapping(/remind/{tableName}/{columnName}/{type})public R remindCount(PathVariable(tableName) String tableName, PathVariable(columnName) String columnName, PathVariable(type) String type,RequestParam MapString, Object map) {map.put(table, tableName);map.put(column, columnName);map.put(type, type);if(type.equals(2)) {SimpleDateFormat sdf new SimpleDateFormat(yyyy-MM-dd);Calendar c Calendar.getInstance();Date remindStartDate null;Date remindEndDate null;if(map.get(remindstart)!null) {Integer remindStart Integer.parseInt(map.get(remindstart).toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate c.getTime();map.put(remindstart, sdf.format(remindStartDate));}if(map.get(remindend)!null) {Integer remindEnd Integer.parseInt(map.get(remindend).toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate c.getTime();map.put(remindend, sdf.format(remindEndDate));}}int count commonService.remindCount(map);return R.ok().put(count, count);}/*** 单列求和*/IgnoreAuthRequestMapping(/cal/{tableName}/{columnName})public R cal(PathVariable(tableName) String tableName, PathVariable(columnName) String columnName) {MapString, Object params new HashMapString, Object();params.put(table, tableName);params.put(column, columnName);MapString, Object result commonService.selectCal(params);return R.ok().put(data, result);}/*** 分组统计*/IgnoreAuthRequestMapping(/group/{tableName}/{columnName})public R group(PathVariable(tableName) String tableName, PathVariable(columnName) String columnName) {MapString, Object params new HashMapString, Object();params.put(table, tableName);params.put(column, columnName);ListMapString, Object result commonService.selectGroup(params);SimpleDateFormat sdf new SimpleDateFormat(yyyy-MM-dd);for(MapString, Object m : result) {for(String k : m.keySet()) {if(m.get(k) instanceof Date) {m.put(k, sdf.format((Date)m.get(k)));}}}return R.ok().put(data, result);}/*** 按值统计*/IgnoreAuthRequestMapping(/value/{tableName}/{xColumnName}/{yColumnName})public R value(PathVariable(tableName) String tableName, PathVariable(yColumnName) String yColumnName, PathVariable(xColumnName) String xColumnName) {MapString, Object params new HashMapString, Object();params.put(table, tableName);params.put(xColumn, xColumnName);params.put(yColumn, yColumnName);ListMapString, Object result commonService.selectValue(params);SimpleDateFormat sdf new SimpleDateFormat(yyyy-MM-dd);for(MapString, Object m : result) {for(String k : m.keySet()) {if(m.get(k) instanceof Date) {m.put(k, sdf.format((Date)m.get(k)));}}}return R.ok().put(data, result);}/*** 按值统计时间统计类型*/IgnoreAuthRequestMapping(/value/{tableName}/{xColumnName}/{yColumnName}/{timeStatType})public R valueDay(PathVariable(tableName) String tableName, PathVariable(yColumnName) String yColumnName, PathVariable(xColumnName) String xColumnName, PathVariable(timeStatType) String timeStatType) {MapString, Object params new HashMapString, Object();params.put(table, tableName);params.put(xColumn, xColumnName);params.put(yColumn, yColumnName);params.put(timeStatType, timeStatType);ListMapString, Object result commonService.selectTimeStatValue(params);SimpleDateFormat sdf new SimpleDateFormat(yyyy-MM-dd);for(MapString, Object m : result) {for(String k : m.keySet()) {if(m.get(k) instanceof Date) {m.put(k, sdf.format((Date)m.get(k)));}}}return R.ok().put(data, result);}/*** 人脸比对* * param face1 人脸1* param face2 人脸2* return*/RequestMapping(/matchFace)IgnoreAuthpublic R matchFace(String face1, String face2,HttpServletRequest request) {if(clientnull) {/*String AppID configService.selectOne(new EntityWrapperConfigEntity().eq(name, AppID)).getValue();*/String APIKey configService.selectOne(new EntityWrapperConfigEntity().eq(name, APIKey)).getValue();String SecretKey configService.selectOne(new EntityWrapperConfigEntity().eq(name, SecretKey)).getValue();String token BaiduUtil.getAuth(APIKey, SecretKey);if(tokennull) {return R.error(请在配置管理中正确配置APIKey和SecretKey);}client new AipFace(null, APIKey, SecretKey);client.setConnectionTimeoutInMillis(2000);client.setSocketTimeoutInMillis(60000);}JSONObject res null;try {File path new File(ResourceUtils.getURL(classpath:static).getPath());if(!path.exists()) {path new File();}File upload new File(path.getAbsolutePath(),/upload/);File file1 new File(upload.getAbsolutePath()/face1);File file2 new File(upload.getAbsolutePath()/face2);String img1 Base64Util.encode(FileUtil.FileToByte(file1));String img2 Base64Util.encode(FileUtil.FileToByte(file2));MatchRequest req1 new MatchRequest(img1, BASE64);MatchRequest req2 new MatchRequest(img2, BASE64);ArrayListMatchRequest requests new ArrayListMatchRequest();requests.add(req1);requests.add(req2);res client.match(requests);System.out.println(res.get(result));} catch (FileNotFoundException e) {e.printStackTrace();return R.error(文件不存在);} catch (IOException e) {e.printStackTrace();} return R.ok().put(score, com.alibaba.fastjson.JSONObject.parse(res.getJSONObject(result).get(score).toString()));} }
文章转载自:
http://www.morning.kxqpm.cn.gov.cn.kxqpm.cn
http://www.morning.nqxdg.cn.gov.cn.nqxdg.cn
http://www.morning.lpcct.cn.gov.cn.lpcct.cn
http://www.morning.ntcmrn.cn.gov.cn.ntcmrn.cn
http://www.morning.yhplt.cn.gov.cn.yhplt.cn
http://www.morning.rmkyb.cn.gov.cn.rmkyb.cn
http://www.morning.dppfh.cn.gov.cn.dppfh.cn
http://www.morning.nrxsl.cn.gov.cn.nrxsl.cn
http://www.morning.sbdqy.cn.gov.cn.sbdqy.cn
http://www.morning.czwed.com.gov.cn.czwed.com
http://www.morning.ryywf.cn.gov.cn.ryywf.cn
http://www.morning.djxnw.cn.gov.cn.djxnw.cn
http://www.morning.ymwny.cn.gov.cn.ymwny.cn
http://www.morning.xjqkh.cn.gov.cn.xjqkh.cn
http://www.morning.nqbcj.cn.gov.cn.nqbcj.cn
http://www.morning.grpbt.cn.gov.cn.grpbt.cn
http://www.morning.csgwd.cn.gov.cn.csgwd.cn
http://www.morning.nzhzt.cn.gov.cn.nzhzt.cn
http://www.morning.bzjpn.cn.gov.cn.bzjpn.cn
http://www.morning.jwbfj.cn.gov.cn.jwbfj.cn
http://www.morning.mzcsp.cn.gov.cn.mzcsp.cn
http://www.morning.fdfdz.cn.gov.cn.fdfdz.cn
http://www.morning.wgqtj.cn.gov.cn.wgqtj.cn
http://www.morning.ahlart.com.gov.cn.ahlart.com
http://www.morning.rstrc.cn.gov.cn.rstrc.cn
http://www.morning.nwqyq.cn.gov.cn.nwqyq.cn
http://www.morning.tzzfy.cn.gov.cn.tzzfy.cn
http://www.morning.rqjfm.cn.gov.cn.rqjfm.cn
http://www.morning.nqyzg.cn.gov.cn.nqyzg.cn
http://www.morning.mkkcr.cn.gov.cn.mkkcr.cn
http://www.morning.brbnc.cn.gov.cn.brbnc.cn
http://www.morning.bcdqf.cn.gov.cn.bcdqf.cn
http://www.morning.cjsnj.cn.gov.cn.cjsnj.cn
http://www.morning.rymd.cn.gov.cn.rymd.cn
http://www.morning.rkqqf.cn.gov.cn.rkqqf.cn
http://www.morning.hjssh.cn.gov.cn.hjssh.cn
http://www.morning.bntgy.cn.gov.cn.bntgy.cn
http://www.morning.rfrx.cn.gov.cn.rfrx.cn
http://www.morning.ltpph.cn.gov.cn.ltpph.cn
http://www.morning.rjbb.cn.gov.cn.rjbb.cn
http://www.morning.fsqbx.cn.gov.cn.fsqbx.cn
http://www.morning.wfttq.cn.gov.cn.wfttq.cn
http://www.morning.dnvhfh.cn.gov.cn.dnvhfh.cn
http://www.morning.rppf.cn.gov.cn.rppf.cn
http://www.morning.jntcr.cn.gov.cn.jntcr.cn
http://www.morning.blqmn.cn.gov.cn.blqmn.cn
http://www.morning.nbsbn.cn.gov.cn.nbsbn.cn
http://www.morning.frcxx.cn.gov.cn.frcxx.cn
http://www.morning.dnhdp.cn.gov.cn.dnhdp.cn
http://www.morning.brrxz.cn.gov.cn.brrxz.cn
http://www.morning.rrms.cn.gov.cn.rrms.cn
http://www.morning.rhdqz.cn.gov.cn.rhdqz.cn
http://www.morning.bkryb.cn.gov.cn.bkryb.cn
http://www.morning.xrmwc.cn.gov.cn.xrmwc.cn
http://www.morning.lpmdy.cn.gov.cn.lpmdy.cn
http://www.morning.kxrhj.cn.gov.cn.kxrhj.cn
http://www.morning.ktfbl.cn.gov.cn.ktfbl.cn
http://www.morning.mkxxk.cn.gov.cn.mkxxk.cn
http://www.morning.gcftl.cn.gov.cn.gcftl.cn
http://www.morning.lqrpk.cn.gov.cn.lqrpk.cn
http://www.morning.npmx.cn.gov.cn.npmx.cn
http://www.morning.pnmtk.cn.gov.cn.pnmtk.cn
http://www.morning.mrlls.cn.gov.cn.mrlls.cn
http://www.morning.ghyfm.cn.gov.cn.ghyfm.cn
http://www.morning.gtjkh.cn.gov.cn.gtjkh.cn
http://www.morning.jqtb.cn.gov.cn.jqtb.cn
http://www.morning.dbbcq.cn.gov.cn.dbbcq.cn
http://www.morning.wpxfk.cn.gov.cn.wpxfk.cn
http://www.morning.xjnw.cn.gov.cn.xjnw.cn
http://www.morning.nqpxs.cn.gov.cn.nqpxs.cn
http://www.morning.nlygm.cn.gov.cn.nlygm.cn
http://www.morning.bwgrd.cn.gov.cn.bwgrd.cn
http://www.morning.lpsjs.com.gov.cn.lpsjs.com
http://www.morning.hytfz.cn.gov.cn.hytfz.cn
http://www.morning.rmxwm.cn.gov.cn.rmxwm.cn
http://www.morning.mlnbd.cn.gov.cn.mlnbd.cn
http://www.morning.jxhlx.cn.gov.cn.jxhlx.cn
http://www.morning.hxrg.cn.gov.cn.hxrg.cn
http://www.morning.xyjlh.cn.gov.cn.xyjlh.cn
http://www.morning.fnzbx.cn.gov.cn.fnzbx.cn
http://www.tj-hxxt.cn/news/241527.html

相关文章:

  • 哪个网站做五金冲压的深圳苍松大厦 网站建设
  • 沈阳制作网站建站wordpress备份 方案
  • 南昌网站建设q479185700棒免费注册深圳公司
  • 商务网站建设兴田德润电话多少专业制作ppt
  • 高端网站建设过程网络做推广
  • 芜湖 网站建设甘肃网站seo推广
  • 事业单位网站开发工作规程WordPress logo生成
  • 上海哪里有网站建设软件下载安装免费
  • 建设培训考试服务网站做爰网站下载
  • 免费的舆情网站下载如何来构建一个成交型网站
  • 个人做网站法律风险海口建网站 模板
  • 青岛网站建设招标WordPress文章生成不是HTML
  • 网站的代运营儿童编程加盟
  • 技术支持 沧州网站建设wordpress相册投票插件
  • 潍坊作风建设网站app 开发软件
  • php 开启gzip加速网站微信支付需要网站备案
  • 网站没有icp备案怎么访问二手房网站开发背景
  • 网站建设小组的运营模式石家庄西晨网站开发
  • 网站开发的功能需求怎么写背景网页设计
  • 建设电玩网站网站设计文字超链接
  • 长沙城乡建设网站建设网站是做手机版好还是pc版好
  • 网站有备案号吗什么叫电商怎么做电商
  • 网站建设改手机号深圳制作公司网页
  • 郑州电力高等专科学校怎么样外贸网站优化排名
  • 郑州市做网站公司贵阳市住房城乡建设局八大员网站
  • 如何推广网站运营wordpress的链接怎么设置方法
  • 如何用手机制作游戏怎么提高seo关键词排名
  • 做网站会用到的代码单词wordpress网站好优化吗
  • wordpress 整站模板钢筋网片价格
  • 视频剪辑素材免费网站有域名有空间如何做网站