|
|
@@ -325,7 +325,7 @@ public abstract class BaseService<T> extends ServiceImpl<com.baomidou.mybatisplu
|
|
|
* @author H_x_d
|
|
|
* @description selectByIdForUpdate 根据id锁行
|
|
|
*/
|
|
|
- public T selectByIdForUpdate(Long id) {
|
|
|
+ public T selectByIdForUpdate(String id) {
|
|
|
return getRepository().selectByIdForUpdate(id);
|
|
|
}
|
|
|
|
|
|
@@ -336,7 +336,7 @@ public abstract class BaseService<T> extends ServiceImpl<com.baomidou.mybatisplu
|
|
|
* @author H_x_d
|
|
|
* @description selectByIdsForUpdate 根据id批量锁行
|
|
|
*/
|
|
|
- public List<T> selectByIdsForUpdate(List<Long> ids) {
|
|
|
+ public List<T> selectByIdsForUpdate(List<String> ids) {
|
|
|
return getRepository().selectByIdsForUpdate(ids);
|
|
|
}
|
|
|
|