From 7c99ed06bb798488600020c95176648ace53bc40 Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Mon, 26 Aug 2024 11:34:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20note=20=E6=A0=A1=E9=AA=8C=E4=B8=BA?= =?UTF-8?q?=E9=9D=9E=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../asw/module/app/controller/ApplicationController.java | 4 ++-- .../asw/module/app/service/impl/ApplicationServiceImpl.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/geedge/asw/module/app/controller/ApplicationController.java b/src/main/java/net/geedge/asw/module/app/controller/ApplicationController.java index f868943..f08233a 100644 --- a/src/main/java/net/geedge/asw/module/app/controller/ApplicationController.java +++ b/src/main/java/net/geedge/asw/module/app/controller/ApplicationController.java @@ -104,8 +104,8 @@ public class ApplicationController { @PutMapping("/{applicationId}/note") public R updateNote(@PathVariable("applicationId") String applicationId, @RequestBody ApplicationNoteEntity note) { - T.VerifyUtil.is(note).notNull() - .and(note.getContent()).notEmpty(RCode.APP_NOTE_CONTENT_CANNOT_EMPTY); + T.VerifyUtil.is(note).notNull(); + //.and(note.getContent()).notEmpty(RCode.APP_NOTE_CONTENT_CANNOT_EMPTY); noteService.saveNote(note, applicationId); return R.ok().putData("id", note.getId()); diff --git a/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java b/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java index 53be083..f0be6c8 100644 --- a/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java +++ b/src/main/java/net/geedge/asw/module/app/service/impl/ApplicationServiceImpl.java @@ -135,9 +135,9 @@ public class ApplicationServiceImpl extends ServiceImpl