Update PrepDao.java

pull/1/head
prwfxgajt 8 months ago
parent 9299bc812a
commit 8b8cb5df31

@ -1,61 +1,69 @@
package com.cn.dao;
package com.cn.dao; // 定义接口所在的包名
import java.sql.SQLException;
import java.util.List;
import java.sql.SQLException; // 导入SQLException类
import java.util.List; // 导入List接口
import com.cn.domain.Prep;
import com.cn.domain.Prep; // 导入Prep实体类
/**
*
* PrepDao访DAO
* <p></p>
* @ClassName: PrepDao
* @Description: (prep)
* @author: ljy
* @date: 2019913 10:05:20
*/
public interface PrepDao {
/**
*
* <p>Prep</p>
* @param prep
* @return 10
* @throws SQLException
*/
int add(Prep prep) throws SQLException;
/**
*
* @return 1
* @throws SQLException
*/
int add(Prep prep) throws SQLException;
/**
*
* @return 1
* @throws SQLException
*/
int delete(Integer prepId) throws SQLException;
/**
*
* @return 1
* @throws SQLException
*/
int update(Prep prep) throws SQLException;
/**
*
* @return Preplist
* @throws SQLException
*/
List<Prep> getAll() throws SQLException;
/**
* ID
* @param pmemberId ID
* @return
* @throws SQLException
*/
List<Prep> getPrepByPmemberId(Integer pmemberId) throws SQLException;
/**
* id
* @return Prep
* @throws SQLException
*/
Prep getById(Integer prepId) throws SQLException;
/**
* ID
* <p>IDID</p>
* @param prepId ID
* @return 10
* @throws SQLException
*/
int delete(Integer prepId) throws SQLException;
/**
*
* <p>PrepID</p>
* @param prep
* @return 10
* @throws SQLException
*/
int update(Prep prep) throws SQLException;
/**
*
* <p></p>
* @return
* @throws SQLException
*/
List<Prep> getAll() throws SQLException;
/**
* ID
* <p>ID</p>
* @param pmemberId ID
* @return ID
* @throws SQLException
*/
List<Prep> getPrepByPmemberId(Integer pmemberId) throws SQLException;
/**
* ID
* <p>IDID</p>
* @param prepId ID
* @return ID
* @throws SQLException
*/
Prep getById(Integer prepId) throws SQLException;
}

Loading…
Cancel
Save