MCPcopy Create free account
hub / github.com/baiyz0825/java-data-view / update

Method update

src/dao/BaseDao.java:30–40  ·  view source on GitHub ↗

@param sql:sql语句 @param params: 传入的sql替换的属性列值(更新那一列就是哪个,对于任意列都成立) @Description: 封装update方法 @Author: BaiYZ @Date: 2021/12/3 21:39 @return: int -1失败

(String sql, Object... params)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

addUserMethod · 0.45
updateBookMethod · 0.45
updateBookImgMethod · 0.45
deleteBookByIdMethod · 0.45
deleteBookByNameMethod · 0.45
addBookMethod · 0.45

Calls 2

getConnectionMethod · 0.95
closeConnectionMethod · 0.95

Tested by

no test coverage detected