package com.zioinfo.mall.cs.mapper;

import com.zioinfo.mall.cs.MallCsTicket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CsMapper {
    List<MallCsTicket> findByOwner(@Param("owner") String owner);
    List<MallCsTicket> findAll(@Param("status") String status);
    MallCsTicket findById(@Param("id") Long id);
    int insert(MallCsTicket t);
    int setSr(@Param("id") Long id, @Param("srId") String srId);
    int setAiReply(@Param("id") Long id, @Param("aiReply") String aiReply);
    int updateStatus(@Param("id") Long id, @Param("status") String status);
}
