EquipmentDAO

package com.huaweisymantec.rmc.core.dao;
import com.huaweisymantec.rmc.core.domain.*;
import java.util.List;

import org.springframework.stereotype.Component;



public interface EquipmentDAO {

//新建设备
public void saveEquipment(Equipment equip);

//删除设备
public void deleteEquipment(String ESN);

//修改设备
public void updateEquipment(Equipment equip);

//根据ESN查询设备信息
public Equipment findEquipment(String ESN);

//查找是否存在该ESN得设备
    public boolean isExitEquipment(String ESN);
   
    public Equipment getEquipmentByESN(String ESN);
}

你可能感兴趣的:(DAO)