package com.ejweb.modules.front.report.dao;

import com.ejweb.core.persistence.CrudDao;
import com.ejweb.core.persistence.annotation.MyBatisDao;
import com.ejweb.modules.front.report.bean.FrontReportBean;
import com.ejweb.modules.front.report.bean.ReportAttachmentBean;
import com.ejweb.modules.front.report.entity.FrontReportEntity;
import com.ejweb.modules.sys.entity.User;

/**
 * Created by lenovo on 2017/9/8.
 */
@MyBatisDao
public interface FrontReportDao extends CrudDao<FrontReportEntity> {

    //  添加举报信息
    public Integer insertReport(FrontReportBean bean);

    // 添加举报附件
    public Integer insertReportAttachment(ReportAttachmentBean bean);

    // 查找管理员
    public User getUser(User user);


}
