编写测试连接的代码

master
冷调 2024-08-23 20:03:15 +08:00
parent ad75e66218
commit 4ca14c415c
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.muyu.source.controller;
import com.muyu.common.core.web.controller.BaseController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author Lenovo
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-23-20:02
* @ Version1.0
* @ Description
*/
@RestController
@RequestMapping("/type")
public class DataTypeController extends BaseController {
}

View File

@ -0,0 +1,15 @@
package com.muyu.source.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.source.domain.DataType;
/**
* @author Lenovo
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-23-20:01
* @ Version1.0
* @ Description
*/
public interface DataTypeMapper extends BaseMapper<DataType> {
}

View File

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.source.domain.DataType;
/**
* @author Lenovo
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-23-18:59

View File

@ -0,0 +1,17 @@
package com.muyu.source.service.Impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.source.domain.DataType;
import com.muyu.source.mapper.DataTypeMapper;
import com.muyu.source.service.DataTypeService;
/**
* @author Lenovo
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-23-20:00
* @ Version1.0
* @ Description
*/
public class DataTypeServiceImpl extends ServiceImpl<DataTypeMapper, DataType> implements DataTypeService {
}