|
|
@@ -265,7 +265,7 @@ public abstract class BaseService<T> extends ServiceImpl<com.baomidou.mybatisplu
|
|
|
return this.getRepository().countByCond(null);
|
|
|
}
|
|
|
|
|
|
- public ResponseResultVO<T> selectById(Long id) {
|
|
|
+ public ResponseResultVO<T> selectById(String id) {
|
|
|
T t = selectObjectById(id);
|
|
|
if (t == null) {
|
|
|
return ResponseResultUtil.error(ResponseCodeEnum.SELECT_NULL);
|
|
|
@@ -273,7 +273,7 @@ public abstract class BaseService<T> extends ServiceImpl<com.baomidou.mybatisplu
|
|
|
return ResponseResultUtil.success(t);
|
|
|
}
|
|
|
|
|
|
- public T selectObjectById(Long id) {
|
|
|
+ public T selectObjectById(String id) {
|
|
|
return super.getById(id);
|
|
|
}
|
|
|
|