package qiwu.xfllmdemo.mapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Component; import qiwu.xfllmdemo.pojo.*; import java.util.List; @Component @Mapper public interface DBMapper { // /pregen /** * 获得当前最大的意图ID */ Integer getMaxIntentionID(); Integer insertIntoIntention(List intentionDAOList); Integer insertIntoOpt(List optDAOList); List getReply(String user_words); // /audit /** * 根据审核页面的查询条件取得对应的结果(经过LIMIT和OFFSET) */ List getAuditData(AuditQueryDAO auditQueryDAO); /** * 根据审核页面的查询条件取得对应的结果总数(未经过LIMIT和OFFSET) */ Integer getAuditDataTotal(AuditQueryDAO auditQueryDAO); Integer putAuditData(AuditDataDAO auditDataDAO); RolesDAO getRoleById(RolesDAO rolesDAO); }