|
|
@@ -38,8 +38,13 @@ public class WithdrawnRecordServiceImpl extends MyBaseServiceImpl<WithdrawnRecor
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public WithdrawnRecordVo detail(Long id) {
|
|
|
- var record = getById(id);
|
|
|
+ public WithdrawnRecordVo detail(String id) {
|
|
|
+ WithdrawnRecord record;
|
|
|
+ try {
|
|
|
+ record = getById(Long.valueOf(id));
|
|
|
+ } catch (NumberFormatException e) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
if (record == null) {
|
|
|
return null;
|
|
|
}
|