22 lines
450 B
Java
22 lines
450 B
Java
|
package com.isu.gaswellwatch.service;
|
||
|
|
||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||
|
import com.isu.gaswellwatch.entity.Dictionary;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface DictionaryService extends IService<Dictionary> {
|
||
|
|
||
|
|
||
|
void add(Dictionary dictionary);
|
||
|
|
||
|
void edit(Dictionary dictionary);
|
||
|
|
||
|
void delete(Long id);
|
||
|
|
||
|
List<Dictionary> getByType(String type);
|
||
|
|
||
|
Dictionary getByTypeAndCode(String type,String code);
|
||
|
}
|
||
|
|