package com.xiang.xservice.application.script.glados.repository;

import com.xiang.xservice.application.script.glados.entity.GladosRunLog;
import com.xiang.xservice.application.script.xb.entity.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: xiang
 * @Date: 2025-05-09 13:49
 */
@Mapper
@Repository
public interface GladosMapper {

    /**
     * 查找所有可用的用户
     * @return
     */
    List<User> listAllUser();

    /**
     * 脚本运行记录
     * @param gladosRunLog
     * @return
     */
    int insertScriptRunLog(GladosRunLog gladosRunLog);
}
