Files
jshERP/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java
2018-12-19 23:54:53 +08:00

116 lines
3.4 KiB
Java

package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Log;
import com.jsh.erp.datasource.entities.LogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface LogMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int countByExample(LogExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int deleteByExample(LogExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int insert(Log record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int insertSelective(Log record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
List<Log> selectByExample(LogExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
Log selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int updateByExampleSelective(@Param("record") Log record, @Param("example") LogExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int updateByExample(@Param("record") Log record, @Param("example") LogExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int updateByPrimaryKeySelective(Log record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
int updateByPrimaryKey(Log record);
List<Log> selectByConditionLog(
@Param("operation") String operation,
@Param("usernameID") Integer usernameID,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("contentdetails") String contentdetails,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByLog(
@Param("operation") String operation,
@Param("usernameID") Integer usernameID,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("contentdetails") String contentdetails);
}