FIX:fix bug without innerkey
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -45,7 +45,7 @@ public class SignAspect { | @@ -45,7 +45,7 @@ public class SignAspect { | ||
| 45 | id = 1; | 45 | id = 1; |
| 46 | else | 46 | else |
| 47 | id = 2; | 47 | id = 2; |
| 48 | - return xklInterKeyRespository.findOne(id).getKey(); | 48 | + return (xklInterKeyRespository.findOne(id) == null)?"":xklInterKeyRespository.findOne(id).getKey(); |
| 49 | } | 49 | } |
| 50 | /** | 50 | /** |
| 51 | * 定义切点,定位到@Sign注解的地方 | 51 | * 定义切点,定位到@Sign注解的地方 |
-
Please register or login to post a comment