新增师傅模块

This commit is contained in:
clunt 2022-04-27 14:15:24 +08:00
parent 897778793c
commit cb3c5b789c
8 changed files with 96 additions and 0 deletions

28
ghy-worker/pom.xml Normal file
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>ghy</artifactId>
<groupId>com.ghy</groupId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ghy-worker</artifactId>
<description>
消费者模块
</description>
<dependencies>
<!-- 通用工具-->
<dependency>
<groupId>com.ghy</groupId>
<artifactId>ghy-common</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,13 @@
package com.ghy.worker.domain;
import com.ghy.common.core.domain.BaseEntity;
/**
* @author clunt
* 师傅实体
*/
public class Worker extends BaseEntity {
}

View File

@ -0,0 +1,7 @@
package com.ghy.worker.mapper;
public interface WorkerMapper {
}

View File

@ -0,0 +1,4 @@
package com.ghy.worker.service;
public interface WorkerService {
}

View File

@ -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 {
}

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ghy.worker.mapper.WorkerMapper">
<resultMap id="GoodsImgsResult" type="com.ghy.worker.domain.Worker">
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectCustomerPlace">
</sql>
</mapper>

View File

@ -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() {
}
}

View File

@ -316,6 +316,7 @@
<module>ghy-generator</module>
<module>ghy-common</module>
<module>ghy-custom</module>
<module>ghy-worker</module>
</modules>
<packaging>pom</packaging>