|
@ -59,7 +59,7 @@ public class RateServiceImpl implements RateService { |
|
|
int result = rateMapper.deleteById(rateId); |
|
|
int result = rateMapper.deleteById(rateId); |
|
|
if(result == 0){ |
|
|
if(result == 0){ |
|
|
throw new Exception("未找到对应的记录,删除失败"); |
|
|
throw new Exception("未找到对应的记录,删除失败"); |
|
|
}; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|