T - 不能为空public interface UpdateByPrimaryKeyMapper<T>
| Modifier and Type | Method and Description |
|---|---|
int |
updateByPrimaryKey(T record)
根据主键更新实体全部字段,null值会被更新
|
@UpdateProvider(type=BaseUpdateProvider.class, method="dynamicSQL") int updateByPrimaryKey(T record)
record - Copyright © 2018. All rights reserved.