package com.chengyong.MyConfig;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import javax.servlet.http.HttpServletRequest;
import java.text.SimpleDateFormat;
import java.util.Date;
@Aspect
@Configuration
public class AopConfig {
private Logger logger = LoggerFactory.getLogger(AopConfig.class);
private SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
private String time = format.format(new Date());
@Autowired
private HttpServletRequest request;
/**
* 科研人员修改了著作
* @param proceedingJoinPoint
* @return
*/
@Around("execution(* com.chengyong.service.impl.KWorkServiceImpl.updateByPrimaryKey(..))")
public Object KWorkServiceImplupdateByPrimaryKey(ProceedingJoinPoint proceedingJoinPoint){
try{
logger.info(time+"########----------科研人员修改了著作---------########");
Object object = proceedingJoinPoint.proceed();
logger.info(time+"########----------科研人员修改著作成功返回---------########"+object);
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
return object;
}catch (Exception e){
logger.info(time+"########----------科研人员修改著作发生异常---------########");
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
e.printStackTrace();
return null;
} catch (Throwable throwable) {
throwable.printStackTrace();
return null;
}
}
/**
* 科研人员添加了著作
* @param proceedingJoinPoint
* @return
*/
@Around("execution(* com.chengyong.service.impl.KWorkServiceImpl.insert(..))")
public Object KWorkServiceImplinsert(ProceedingJoinPoint proceedingJoinPoint){
try{
logger.info(time+"########----------科研人员添加了著作---------########");
Object object = proceedingJoinPoint.proceed();
logger.info(time+"########----------科研人员添加著作成功返回---------########"+object);
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
return object;
}catch (Exception e){
logger.info(time+"########----------科研人员添加著作发生异常---------########");
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
e.printStackTrace();
return null;
} catch (Throwable throwable) {
throwable.printStackTrace();
return null;
}
}
/**
* 科研人员删除了著作
* @param proceedingJoinPoint
* @return
*/
@Around("execution(* com.chengyong.service.impl.KWorkServiceImpl.deleteByPrimaryKey(..))")
public Object KWorkServiceImpldeleteByPrimaryKey(ProceedingJoinPoint proceedingJoinPoint){
try{
logger.info(time+"########----------科研人员删除了著作---------########");
Object object = proceedingJoinPoint.proceed();
logger.info(time+"########----------科研人员删除著作成功返回---------########"+object);
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
return object;
}catch (Exception e){
logger.info(time+"########----------科研人员删除著作发生异常---------########");
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
e.printStackTrace();
return null;
} catch (Throwable throwable) {
throwable.printStackTrace();
return null;
}
}
/**
* 科研人员批量删除了著作
* @param proceedingJoinPoint
* @return
*/
@Around("execution(* com.chengyong.service.impl.KWorkServiceImpl.deleteByPrimaryKeylow(..))")
public Object KWorkServiceImpldeleteByPrimaryKeylow(ProceedingJoinPoint proceedingJoinPoint){
try{
logger.info(time+"########----------科研人员批量删除了著作---------########");
Object object = proceedingJoinPoint.proceed();
logger.info(time+"########----------科研人员批量删除著作成功返回---------########"+object);
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
return object;
}catch (Exception e){
logger.info(time+"########----------科研人员批量删除著作发生异常---------########");
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
e.printStackTrace();
return null;
} catch (Throwable throwable) {
throwable.printStackTrace();
return null;
}
}
/**
* 科研人员批量删除了论文
* @param proceedingJoinPoint
* @return
*/
@Around("execution(* com.chengyong.service.impl.KThesisServiceImpl.deleteByPrimaryKeylow(..))")
public Object KThesisServiceImpldeleteByPrimaryKeylow(ProceedingJoinPoint proceedingJoinPoint){
try{
logger.info(time+"########----------科研人员批量删除了论文---------########");
Object object = proceedingJoinPoint.proceed();
logger.info(time+"########----------科研人员批量删除论文成功返回---------########"+object);
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
return object;
}catch (Exception e){
logger.info(time+"########----------科研人员批量删除论文发生异常---------########");
logger.info(time+"########----------IP=="+request.getRemoteAddr()+"---------########");
logger.info(time+"########----------URL=="+request.getRequestURL()+"---------########");
e.printStackTrace();
return null;
} catch (Throwable throwable) {
throwable.printStackTrace();
return null;
}
}
/**
* 科研人员删除了论文
* @param proceedingJoinPoint
* @return
*/
@Around("execution(* com.chengyong.service.impl.KThesisServiceImpl.deleteByPrimaryKey(..))")
public Object KThesisServiceImpldeleteByPrimaryKey(ProceedingJoinPoint proceedingJoinPoint){
try{
logger.info(time+"########----------科研人员删除了论文---------########");
Object object = proceedingJoinPoint.proceed();
logger.info(time+"########----------科研人员删除论文成功返回---------########"+object);
logger.info(time+"########----
没有合适的资源?快使用搜索试试~ 我知道了~
科研管理系统 毕业设计-科研管理系统 毕业设计
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共918个文件
xml:167个
gif:150个
html:122个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 101 浏览量
2024-05-17
22:10:00
上传
评论
收藏 60.34MB ZIP 举报
温馨提示
科研管理系统 。。。毕业设计 科研管理系统是一种旨在帮助科研机构、高校、企业等组织更有效地管理和执行科研项目的信息系统。在毕业设计中,你可以选择开发一个科研管理系统,这将涉及到软件工程、数据库管理、项目管理等多个方面的知识和技能。 以下是一个基本的科研管理系统的开发步骤,可以作为你毕业设计的参考: 1. **需求分析**: - 确定系统的目标用户(如科研人员、管理人员、学生等)。 - 调研目标用户的需求,包括项目管理、文档管理、时间规划、资源分配等。 2. **系统设计**: - 设计系统的架构,包括前端界面、后端逻辑、数据库结构等。 - 设计系统的功能模块,如项目管理、文档管理、用户管理等。 3. **功能实现**: - 项目管理:包括项目的创建、编辑、删除,以及项目进度的跟踪等。 - 文档管理:包括科研文档的存储、共享、版本控制等。 - 用户管理:包括用户的注册、登录、权限分配等。 4. **系统测试**: - 对系统进行单元测试、集成测试、性能测试等,确保系统的稳定性和可靠性。 5. **系统部署**: - 将系统部署到服务器
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![py](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
共 918 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/8ee5afab7278489fa0fa35a2c7cb1881_douyu0814.jpg!1)
人工智能教学实践
- 粉丝: 533
- 资源: 298
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)