package com.sifang.modules.changes.service;

import com.jfinal.plugin.activerecord.Record;
import com.sifang.modules.changes.dao.CustomerEntryChangeDesignComponentDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerEntryChangeDesignComponentService {

    @Autowired
    CustomerEntryChangeDesignComponentDao componentDao;

    public List<Record> findByDesignId(String designId) {
        return componentDao.findByDesignId(designId);
    }

}
