大家好,又见面了,我是你们的朋友全栈君。
1、方法updateById修改实体类
boolean updateById(T entity);
ServiceImpl实现类中的实现方法是:
public boolean updateById(T entity) {
return this.retBool(this.baseMapper.updateById(entity));
}
修改的是实体类中所有的参数!!!
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/127841.html原文链接:https://javaforall.net