package com.liquidnet.service.adam.service.impl;

import com.liquidnet.service.adam.entity.AdamUserFeedback;
import com.liquidnet.service.adam.mapper.AdamUserFeedbackMapper;
import com.liquidnet.service.adam.service.IAdamUserFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

/**
 * <p>
 * 用户反馈 服务实现类
 * </p>
 *
 * @author liquidnet
 * @since 2020-11-19
 */
@Service
public class AdamUserFeedbackServiceImpl implements IAdamUserFeedbackService {

    @Autowired
    private AdamUserFeedbackMapper adamUserFeedbackMapper;

    @Override
    public int insert(AdamUserFeedback param) {
        param.setCreateTime(LocalDateTime.now());
        return adamUserFeedbackMapper.insert(param);
    }

}
