package com.ssm.manage.mapper;

import com.ssm.core.mapper.BaseMapper;
import com.ssm.manage.entity.SmsBalance;
import com.ssm.manage.entity.SmsFix;
import com.ssm.manage.entity.SmsMessages;
import com.ssm.manage.query.SmsMessagesRequest;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SmsMessagesMapper extends BaseMapper<SmsBalance> {
    int updateById(SmsMessages smsMessages);
    void createTable(@Param("tab") String date);

    void save( SmsMessages smsMessages);

    List<SmsMessages> selectByDate(SmsMessagesRequest messages);
}
