📄 notedao.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.shx.note.dao;import com.shx.note.vo.Note;import java.util.List;/** * * @author Administrator */public interface NoteDAO { //增加操作 public void insert(Note note) throws Exception; //修改操作 public void update(Note note) throws Exception; //删除操作 public void delete(int n_id) throws Exception; // 按ID查询,主要为更新使用 public Note quaryById(int n_id) throws Exception; // 查询全部 public List quaryAll() throws Exception; // 模糊查询 public List quaryByLike(String cond) throws Exception;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -