From cb3c5b789cf80bcdeff804d32ca2e6ad025703c9 Mon Sep 17 00:00:00 2001 From: clunt Date: Wed, 27 Apr 2022 14:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B8=88=E5=82=85=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ghy-worker/pom.xml | 28 +++++++++++++++++++ .../java/com/ghy/worker/domain/Worker.java | 13 +++++++++ .../com/ghy/worker/mapper/WorkerMapper.java | 7 +++++ .../com/ghy/worker/service/WorkerService.java | 4 +++ .../service/impl/WorkerServiceImpl.java | 11 ++++++++ .../resources/mapper.worker/WorkerMapper.xml | 19 +++++++++++++ .../com/ghy/worker/WokerApplicationTests.java | 13 +++++++++ pom.xml | 1 + 8 files changed, 96 insertions(+) create mode 100644 ghy-worker/pom.xml create mode 100644 ghy-worker/src/main/java/com/ghy/worker/domain/Worker.java create mode 100644 ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerMapper.java create mode 100644 ghy-worker/src/main/java/com/ghy/worker/service/WorkerService.java create mode 100644 ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerServiceImpl.java create mode 100644 ghy-worker/src/main/resources/mapper.worker/WorkerMapper.xml create mode 100644 ghy-worker/src/test/java/com/ghy/worker/WokerApplicationTests.java diff --git a/ghy-worker/pom.xml b/ghy-worker/pom.xml new file mode 100644 index 00000000..2bed3089 --- /dev/null +++ b/ghy-worker/pom.xml @@ -0,0 +1,28 @@ + + + + + ghy + com.ghy + 1.0.0 + + 4.0.0 + + ghy-worker + + + 消费者模块 + + + + + + + com.ghy + ghy-common + + + + + \ No newline at end of file diff --git a/ghy-worker/src/main/java/com/ghy/worker/domain/Worker.java b/ghy-worker/src/main/java/com/ghy/worker/domain/Worker.java new file mode 100644 index 00000000..a945a42e --- /dev/null +++ b/ghy-worker/src/main/java/com/ghy/worker/domain/Worker.java @@ -0,0 +1,13 @@ +package com.ghy.worker.domain; + +import com.ghy.common.core.domain.BaseEntity; + +/** + * @author clunt + * 师傅实体 + */ +public class Worker extends BaseEntity { + + + +} diff --git a/ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerMapper.java b/ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerMapper.java new file mode 100644 index 00000000..f722cc2b --- /dev/null +++ b/ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerMapper.java @@ -0,0 +1,7 @@ +package com.ghy.worker.mapper; + +public interface WorkerMapper { + + + +} diff --git a/ghy-worker/src/main/java/com/ghy/worker/service/WorkerService.java b/ghy-worker/src/main/java/com/ghy/worker/service/WorkerService.java new file mode 100644 index 00000000..403724b7 --- /dev/null +++ b/ghy-worker/src/main/java/com/ghy/worker/service/WorkerService.java @@ -0,0 +1,4 @@ +package com.ghy.worker.service; + +public interface WorkerService { +} diff --git a/ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerServiceImpl.java b/ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerServiceImpl.java new file mode 100644 index 00000000..4685877d --- /dev/null +++ b/ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerServiceImpl.java @@ -0,0 +1,11 @@ +package com.ghy.worker.service.impl; + +import com.ghy.worker.service.WorkerService; +import org.springframework.stereotype.Service; + +@Service +public class WorkerServiceImpl implements WorkerService { + + + +} diff --git a/ghy-worker/src/main/resources/mapper.worker/WorkerMapper.xml b/ghy-worker/src/main/resources/mapper.worker/WorkerMapper.xml new file mode 100644 index 00000000..9ec94a9b --- /dev/null +++ b/ghy-worker/src/main/resources/mapper.worker/WorkerMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ghy-worker/src/test/java/com/ghy/worker/WokerApplicationTests.java b/ghy-worker/src/test/java/com/ghy/worker/WokerApplicationTests.java new file mode 100644 index 00000000..a77f7e0f --- /dev/null +++ b/ghy-worker/src/test/java/com/ghy/worker/WokerApplicationTests.java @@ -0,0 +1,13 @@ +package com.ghy.worker; + +//import org.junit.jupiter.api.Test; +//import org.springframework.boot.test.context.SpringBootTest; + +//@SpringBootTest +class WokerApplicationTests { + +// @Test + void contextLoads() { + } + +} diff --git a/pom.xml b/pom.xml index 06f1f01c..0eb14d18 100644 --- a/pom.xml +++ b/pom.xml @@ -316,6 +316,7 @@ ghy-generator ghy-common ghy-custom + ghy-worker pom