package com.springboot.cloud.sysadmin.organization.service.application.impl;

/*
 **********************************************
 *      DATE           PERSON       REASON
 *    2020-12-29          FXY        Created
 **********************************************
 */


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.springboot.cloud.sysadmin.organization.dao.application.ApplicationPopedomMapper;
import com.springboot.cloud.sysadmin.organization.entity.po.application.ApplicationPopedom;
import com.springboot.cloud.sysadmin.organization.service.application.ApplicationPopedomService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class ApplicationPopedomServiceImpl extends ServiceImpl<ApplicationPopedomMapper, ApplicationPopedom> implements ApplicationPopedomService {

    @Override
    public List<ApplicationPopedom> getApplicationPopedom(List<String> ids) {
        QueryWrapper<ApplicationPopedom> queryWrapper=new QueryWrapper<>();
        queryWrapper.in("id",ids);
        return this.list(queryWrapper);
    }
}
