package com.erp.ai.mapper;

import com.erp.ai.model.AiAgentGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AiAgentGroupMapper {
    List<AiAgentGroup> list(@Param("companyCode") String companyCode);

    AiAgentGroup getById(@Param("id") long id);

    AiAgentGroup getByGroupId(@Param("groupId") String groupId);

    int insert(AiAgentGroup group);

    int update(AiAgentGroup group);

    int softDelete(@Param("id") long id);

    int touchUpdatedAt(@Param("id") long id);
}
