package com.cool.store.service.impl;

import com.cool.store.dao.EnumInfoDAO;
import com.cool.store.entity.EnumInfoDO;
import com.cool.store.service.EnumInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @Author: WangShuo
 * @Date: 2025/04/08/15:29
 * @Version 1.0
 * @注释:
 */
@Service
public class EnumInfoServiceImpl implements EnumInfoService {

    @Autowired
    private EnumInfoDAO enumInfoDAO;

    @Override
    public List<EnumInfoDO> getByTypeCode(String typeCode) {
        return enumInfoDAO.getByTypeCode(typeCode);
    }
}
