This repository has been archived on 2025-01-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2024-12-21 01:22:44 +08:00
|
|
|
package example.service;
|
|
|
|
|
|
|
|
import example.model.Computer;
|
|
|
|
|
|
|
|
import java.sql.SQLException;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public interface IComputerService {
|
|
|
|
|
|
|
|
public void addComputer(String name, String brand, String type, String price);
|
|
|
|
|
|
|
|
List<Computer> listComputer() throws SQLException;
|
2024-12-21 01:27:15 +08:00
|
|
|
|
|
|
|
void deleteComputer(String id);
|
2024-12-21 01:22:44 +08:00
|
|
|
}
|