package com.yxproject.start.service.impl;

import com.yxproject.start.entity.PersonPostAbnormalEntity;
import com.yxproject.start.mapper.PersonPostAbnormalMapper;
import com.yxproject.start.service.PersonPostAbnormalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 */
@Service
public class PersonPostAbnormalServiceImpl implements PersonPostAbnormalService {

    @Autowired
    private PersonPostAbnormalMapper personPostAbnormalMapper;
    @Override
    public List<PersonPostAbnormalEntity> getPersonPostAbnormal(String date, String police) {
        List<PersonPostAbnormalEntity> list = personPostAbnormalMapper.selectPersonPostAbnormalMsg(police,date);
        return list;
    }
}
