From d7176314bb96b19d798c61303213ef33fc3a24df Mon Sep 17 00:00:00 2001 From: dashan Date: Tue, 5 Sep 2023 22:18:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):mybaits-plus=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=99=A8=E9=9B=86=E6=88=90=E6=88=90=E5=8A=9F?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3entity=E5=8C=85=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/compiler.xml | 3 + .../miniapps/{biz => }/DsWebInterceptor.java | 2 +- .../{biz => }/MiniAppsApplication.java | 4 +- .../{biz => }/api/dummyinfo/DummyInfoApi.java | 6 +- .../ds/miniapps/api/test/TestController.java | 54 ++++++ .../ds/miniapps/mapper/test/TestMapper.java | 16 ++ .../service/dummyinfo/DummyInfoService.java | 4 +- .../impl/dummyinfo/DummyInfoServiceImpl.java | 8 +- .../service/impl/test/TestServiceImpl.java | 20 +++ .../miniapps/service/test/ITestService.java | 16 ++ .../ds/miniapps/mapper/test/TestMapper.xml | 5 + .../biz/dummyinfo/DummyInfoServiceTest.java | 4 +- .../miniapps/biz/dummyinfo/DummyInfoTest.java | 2 +- .../entity/dummyinfo/DummyInfo.java | 4 +- .../dummyinfo/TelecomOperatorsConvert.java | 2 +- .../dummyinfo/TelecomOperatorsEnum.java | 2 +- .../com/ds/miniapps/entity/test/Test.java | 37 ++++ .../com/ds/commons/basemodel/response/R.java | 3 + .../ds-config/ds-mybatisplus-config/pom.xml | 2 - .../ds-config/ds-mybatisplus-support/pom.xml | 2 - .../generator/MybatisPlusGeneratorConfig.java | 51 ------ .../bean/MybatisPlusGeneratorYml.java | 12 +- .../impl/MybatisPlusGeneratorServiceImpl.java | 27 +-- .../support/generator/vo/GeneratorReq.java | 1 + .../templates/generator/entity.java.ftl | 166 +++++++++++++++++ .../templates/generator/entity.java.vm | 167 ++++++++++++++++++ pom.xml | 23 +++ 27 files changed, 554 insertions(+), 89 deletions(-) rename ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/{biz => }/DsWebInterceptor.java (98%) rename ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/{biz => }/MiniAppsApplication.java (86%) rename ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/{biz => }/api/dummyinfo/DummyInfoApi.java (87%) create mode 100644 ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/api/test/TestController.java create mode 100644 ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/mapper/test/TestMapper.java rename ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/{biz => }/service/dummyinfo/DummyInfoService.java (77%) rename ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/{biz => }/service/impl/dummyinfo/DummyInfoServiceImpl.java (84%) create mode 100644 ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/service/impl/test/TestServiceImpl.java create mode 100644 ds-biz/ds-miniapps/ds-miniapps-biz/src/main/java/com/ds/miniapps/service/test/ITestService.java create mode 100644 ds-biz/ds-miniapps/ds-miniapps-biz/src/main/resources/com/ds/miniapps/mapper/test/TestMapper.xml rename ds-biz/ds-miniapps/ds-miniapps-model/src/main/java/com/ds/miniapps/{model => }/entity/dummyinfo/DummyInfo.java (74%) rename ds-biz/ds-miniapps/ds-miniapps-model/src/main/java/com/ds/miniapps/{model/enums => entity}/dummyinfo/TelecomOperatorsConvert.java (91%) rename ds-biz/ds-miniapps/ds-miniapps-model/src/main/java/com/ds/miniapps/{model/enums => entity}/dummyinfo/TelecomOperatorsEnum.java (97%) create mode 100644 ds-biz/ds-miniapps/ds-miniapps-model/src/main/java/com/ds/miniapps/entity/test/Test.java delete mode 100644 ds-commons/ds-config/ds-mybatisplus-support/src/main/java/com/ds/commons/support/generator/MybatisPlusGeneratorConfig.java create mode 100644 ds-commons/ds-config/ds-mybatisplus-support/src/main/resources/templates/generator/entity.java.ftl create mode 100644 ds-commons/ds-config/ds-mybatisplus-support/src/main/resources/templates/generator/entity.java.vm diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 5b76295..a1c9b5a 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -19,6 +19,9 @@ + + +