20 lines
577 B
Java
20 lines
577 B
Java
package com.bao.dating.mapper;
|
|
|
|
|
|
import com.bao.dating.pojo.entity.OperateLog;
|
|
import org.apache.ibatis.annotations.Insert;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
/**
|
|
* 操作日志Mapper
|
|
* @author KilLze
|
|
*/
|
|
@Mapper
|
|
public interface OperateLogMapper {
|
|
|
|
@Insert("insert into operate_log (operate_user_id, operate_time, class_name, method_name, method_params, return_value, cost_time) " +
|
|
"values (#{operateUserId}, #{operateTime}, #{className}, #{methodName}, #{methodParams}, #{returnValue}, #{costTime});")
|
|
public void insert(OperateLog log);
|
|
|
|
}
|