package com.bonus.system.wechat.service;

import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.common.security.utils.SecurityUtils;
import com.bonus.system.api.domain.MapVo;
import com.bonus.system.api.domain.SysUser;
import com.bonus.system.dept.dao.ProDeptRoleDao;
import com.bonus.system.evection.dao.EvectionDao;
import com.bonus.system.evection.entity.EvectionBean;
import com.bonus.system.evection.service.EvectionService;
import com.bonus.system.wechat.dao.WechatEvectionDao;
import com.bonus.system.wechat.entity.WechatEvectionBean;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.*;

/**
 * 出差报备-业务层
 *
 * @author lsun
 */
@Service("WechatEvectionService")
@Log4j2
public class WechatEvectionServiceImpl implements WechatEvectionService {

    @Resource(name = "WechatEvectionDao")
    private WechatEvectionDao wechatEvectionDao;

    @Override
    public List<WechatEvectionBean> getEvectionList(WechatEvectionBean bean) {
        return wechatEvectionDao.getEvectionList(bean);
    }


    @Override
    public WechatEvectionBean selectEvectionById(String id) {
        return wechatEvectionDao.selectEvectionById(id);
    }

}
