T - 不能为空public interface UpdateByPrimaryKeyMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
updateByPrimaryKey(T record)
根据主键更新实体全部字段,null值会被更新
|
@UpdateProvider(type=BaseUpdateProvider.class, method="dynamicSQL") @Options(useCache=false, useGeneratedKeys=false) int updateByPrimaryKey(T record)
record - Copyright © 2017. All rights reserved.