public interface SelectByPrimaryKeyForUpdateMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
T |
selectByPrimaryKeyForUpdate(Object key)
根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号
并使用数据库的行锁
|
@SelectProvider(type=SelectCustomProvider.class, method="dynamicSQL") T selectByPrimaryKeyForUpdate(Object key)
key - Copyright © 2020. All rights reserved.