package com.yxproject.start.service.impl;

import com.yxproject.start.entity.TypeListEntity;
import com.yxproject.start.mapper.TaskMapper;
import com.yxproject.start.service.TypeListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/12/19.
 */
@Service
public class TypeListServiceImpl implements TypeListService {

    @Autowired
    public TaskMapper taskMapper;

    /**
     * 通过状态查找TypeList
     * @param
     * @return
     */
    @Override
    public List<TypeListEntity> findTypeListByTaskStateId( String taskStateId ) {
        List<TypeListEntity> typeListEntity = taskMapper.findTypeListByTaskStateId(taskStateId);
        return typeListEntity;
    }
}
