All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.watsontech.webhelper.common.service.admin.AdminMessageServiceImpl Maven / Gradle / Ivy

package cn.watsontech.webhelper.common.service.admin;

import cn.watsontech.webhelper.common.entity.AdminMessage;
import cn.watsontech.webhelper.common.service.mapper.admin.AdminMessageMapper;
import cn.watsontech.webhelper.mybatis.intf.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
* Created by Watson Song on 2020/03/02.
*/
@Service
@Transactional
public class AdminMessageServiceImpl extends BaseService implements AdminMessageService {

    @Autowired
    public AdminMessageServiceImpl(AdminMessageMapper mapper){
        super(mapper);
    }

    @Override
    public int insertMessage(AdminMessage message) {
        return insertSelective(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy