From f995b3bd7a50b3e33bccf147b9e012f02f38d972 Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Tue, 1 Aug 2023 09:37:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/njcn/system/controller/UserLogController.java | 1 - .../java/com/njcn/system/service/impl/DictTypeServiceImpl.java | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pqs-system/system-boot/src/main/java/com/njcn/system/controller/UserLogController.java b/pqs-system/system-boot/src/main/java/com/njcn/system/controller/UserLogController.java index 946f43b3d..594ca900e 100644 --- a/pqs-system/system-boot/src/main/java/com/njcn/system/controller/UserLogController.java +++ b/pqs-system/system-boot/src/main/java/com/njcn/system/controller/UserLogController.java @@ -60,7 +60,6 @@ public class UserLogController extends BaseController { @OperateInfo(info = LogEnum.SYSTEM_COMMON, operateType = OperateType.QUERY) @PostMapping("/query") @ApiOperation("查询审计日志") - @ApiImplicitParam(name = "logInfoDTO", value = "插入日志参数", required = true) public HttpResult> addUserLog() { String methodDescribe = getMethodDescribe("addUserLog"); List list = userLogService.lambdaQuery().eq(UserLog::getUserName, RequestUtil.getUsername()).list(); diff --git a/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java b/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java index 62ca49402..b2df2b04f 100644 --- a/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java +++ b/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java @@ -22,6 +22,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.njcn.web.factory.PageFactory; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; import java.util.ArrayList; import java.util.List; @@ -135,6 +136,8 @@ public class DictTypeServiceImpl extends ServiceImpl i return dictType; } + + /** * 校验参数,检查是否存在相同名称的字典类型 */