package com.ytpm.lemonios.service.impl;

import com.ytpm.agent.param.DitchListParam;
import com.ytpm.agent.view.AgentDitchView;
import com.ytpm.lemonios.dao.DitchMapper;
import com.ytpm.lemonios.service.DitchService;
import org.springframework.stereotype.Service;

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

@Service
public class DitchServiceImpl implements DitchService {

    @Resource
    private DitchMapper agentDitchMapper;


    @Override
    public List<AgentDitchView> ditchList(DitchListParam param) {
        return agentDitchMapper.ditchListForIos(param.getAppId());
    }
}
