From 53c90cfc99c30654fe857262100720d2ef719a08 Mon Sep 17 00:00:00 2001 From: xlt <xialuotang@xialuotang.com> Date: 星期日, 27 三月 2022 21:57:44 +0800 Subject: [PATCH] update 在全局异常处理器中引入DuplicateKeyException的主键冲突异常,来处理解决主键或UNIQUE索引的数据重复异常。 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictDataServiceImpl.java | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictDataServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictDataServiceImpl.java index 048bd10..03de7c5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictDataServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictDataServiceImpl.java @@ -83,7 +83,6 @@ * 鎵归噺鍒犻櫎瀛楀吀鏁版嵁淇℃伅 * * @param dictCodes 闇�瑕佸垹闄ょ殑瀛楀吀鏁版嵁ID - * @return 缁撴灉 */ @Override public void deleteDictDataByIds(Long[] dictCodes) { -- Gitblit v1.9.3