package com.movie.api.service.impl;

import com.movie.api.mapper.QueryMapper;
import com.movie.api.model.entity.Query;
import com.movie.api.service.QueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class QueryServiceimpl implements QueryService {

    @Resource
    private QueryMapper queryMapper;

    public  void  save(Query query){
        queryMapper.insert(query);
    }


}
