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