package org.dromara.settlement.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;
import org.checkerframework.checker.units.qual.K;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.settlement.domain.SysLog;

import java.util.List;

public interface SysLogMapper extends BaseMapperPlus<SysLog, Long> {
	/**
	 * 根据交易id删除日志
	 * @author 张涛
	 * @date 2021年9月17日
	 * @param tranId 交易id
	 * @param id 删除时排除的日志id
	 * @return
	 */
	public Integer deleteByTranId(@Param("tranId") long tranId,@Param("id") Long id);


    int deleteByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysLog record);
}
