You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hotelbook-JavaWeb-master/src/main/java/com/inks/hb/logInfo/service/LogInfoService.java

26 lines
591 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.inks.hb.logInfo.service;
import com.inks.hb.logInfo.pojo.LogInfo;
import java.util.ArrayList;
// 定义一个LogInfoService接口用于操作LogInfo对象
public interface LogInfoService {
// 插入一条LogInfo记录
int insertLogInfo(LogInfo logInfo);
// 根据logId删除一条LogInfo记录
int deleteLogInfo(int logId);
// 根据page和limit查询LogInfo记录
ArrayList query(int page, int limit);
// 查询LogInfo记录的总数
int queryLogInfoNum();
// 根据loginId删除LogInfo记录
int deleteByName(int loginId);
}