• 大小: 8.66MB
    文件类型: .7z
    金币: 1
    下载: 0 次
    发布日期: 2023-10-10
  • 语言: Java
  • 标签: java  

资源简介

框架:基于SSM框架(Spring+SpringMVC+MyBatis) + Mysql数据库 + Tomcat7 数据库工具建议用SQLyog 登录、首页显示用户名和身份、分页、模糊查询、 页面跳转(首页、上一页、下一页、末页、指定页跳转(用户输入),第几/几页,总数据行数) JAVA开发框架中基础再基础的东西,必须要学会。

资源截图

代码片段和文件信息

package com.xhs.aop;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class Log {

@Before(“execution(* com.xhs.service.impl.*.*(..))“)
public void before(){
System.out.println(“-----方法执行前-----“);
}

@After(“execution(* com.xhs.service.impl.*.*(..))“)
public void after(){
System.out.println(“-----方法执行后-----“);
}

}

评论

共有 条评论