demo
This commit is contained in:
parent
3178d9d7da
commit
bd6cdd958e
@ -29,5 +29,57 @@
|
||||
<artifactId>yudao-module-infra-api</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Web 相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- DB 相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-mybatis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-redis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Job 定时任务相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-job</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 消息队列相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-mq</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Test 测试相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- 工具类相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.boot</groupId>
|
||||
<artifactId>yudao-spring-boot-starter-excel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-mail</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@ -0,0 +1,4 @@
|
||||
package com.dianliang.common;
|
||||
|
||||
public interface TestCommon {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.dianliang.job;
|
||||
|
||||
public class TestJob {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.dianliang.module.custom.controller;
|
||||
|
||||
public class TestController {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.dianliang.module.custom.dao;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.dianliang.module.custom.entity.TestEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface TestMapper extends BaseMapper<TestEntity> {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.dianliang.module.custom.entity;
|
||||
|
||||
public class TestEntity {
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package com.dianliang.module.custom.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.dianliang.module.custom.entity.TestEntity;
|
||||
|
||||
public interface TestService extends IService<TestEntity> {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.dianliang.module.custom.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.dianliang.module.custom.dao.TestMapper;
|
||||
import com.dianliang.module.custom.entity.TestEntity;
|
||||
import com.dianliang.module.custom.service.TestService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class TestServiceImpl extends ServiceImpl<TestMapper, TestEntity> implements TestService {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.dianliang.module.custom.vo;
|
||||
|
||||
public class TestVO {
|
||||
}
|
6
dl-module-base/src/main/resources/mapper/TestMapper.xml
Normal file
6
dl-module-base/src/main/resources/mapper/TestMapper.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?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.dianliang.module.custom.dao.TestMapper">
|
||||
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue
Block a user