From e8c1bdde3de9edc6b45bc1f4261174b32eb9fc9c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 19 Aug 2023 14:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E4=B8=AD=E5=BF=83=EF=BC=9A?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=AE=A1=E7=90=86=2050%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/common/util/date/DateUtils.java | 2 + .../resources/codegen/vue3/views/index.vue.vm | 8 ++- .../member/api/user/MemberUserApiImpl.java | 10 +-- .../admin/user/MemberUserController.java | 56 +++++++++++++++ .../controller/admin/user/package-info.java | 1 - .../admin/user/vo/MemberUserBaseVO.java | 47 +++++++++++++ .../admin/user/vo/MemberUserPageReqVO.java | 34 +++++++++ .../admin/user/vo/MemberUserRespVO.java | 34 +++++++++ .../admin/user/vo/MemberUserUpdateReqVO.java | 20 ++++++ .../app/user/AppUserController.java | 4 +- ...serConvert.java => MemberUserConvert.java} | 13 +++- .../dal/dataobject/user/MemberUserDO.java | 69 +++++++++++++------ .../dal/mysql/user/MemberUserMapper.java | 11 +++ .../service/user/MemberUserService.java | 28 +++++++- .../service/user/MemberUserServiceImpl.java | 56 ++++++++++++--- 15 files changed, 349 insertions(+), 44 deletions(-) create mode 100644 yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/user/MemberUserController.java delete mode 100644 yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/user/package-info.java create mode 100644 yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/user/vo/MemberUserBaseVO.java create mode 100644 yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/user/vo/MemberUserPageReqVO.java create mode 100644 yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/user/vo/MemberUserRespVO.java create mode 100644 yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/user/vo/MemberUserUpdateReqVO.java rename yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/convert/user/{UserConvert.java => MemberUserConvert.java} (51%) diff --git a/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/date/DateUtils.java b/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/date/DateUtils.java index c2d069a59..deedb127b 100644 --- a/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/date/DateUtils.java +++ b/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/date/DateUtils.java @@ -23,6 +23,8 @@ public class DateUtils { */ public static final long SECOND_MILLIS = 1000; + public static final String FORMAT_YEAR_MONTH_DAY = "yyyy-MM-dd"; + public static final String FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND = "yyyy-MM-dd HH:mm:ss"; public static final String FORMAT_HOUR_MINUTE_SECOND = "HH:mm:ss"; diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm index 1e98abe13..67b51d412 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm @@ -120,7 +120,6 @@ - #foreach($column in $columns) #if ($column.listOperationResult) #set ($dictType=$column.dictType) @@ -142,7 +141,7 @@ #else - + #end #end #end @@ -180,7 +179,7 @@ <${simpleClassName}Form ref="formRef" @success="getList" /> -