编写测试连接的代码
parent
4ca14c415c
commit
8c3d769ab3
|
@ -2,6 +2,7 @@ package com.muyu.source.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.muyu.source.domain.DataType;
|
import com.muyu.source.domain.DataType;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Lenovo
|
* @author Lenovo
|
||||||
|
@ -11,5 +12,6 @@ import com.muyu.source.domain.DataType;
|
||||||
* @ Version:1.0
|
* @ Version:1.0
|
||||||
* @ Description:数据库类型持久层
|
* @ Description:数据库类型持久层
|
||||||
*/
|
*/
|
||||||
|
@Mapper
|
||||||
public interface DataTypeMapper extends BaseMapper<DataType> {
|
public interface DataTypeMapper extends BaseMapper<DataType> {
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.muyu.source.domain.DataType;
|
import com.muyu.source.domain.DataType;
|
||||||
import com.muyu.source.mapper.DataTypeMapper;
|
import com.muyu.source.mapper.DataTypeMapper;
|
||||||
import com.muyu.source.service.DataTypeService;
|
import com.muyu.source.service.DataTypeService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Lenovo
|
* @author Lenovo
|
||||||
|
@ -13,5 +14,6 @@ import com.muyu.source.service.DataTypeService;
|
||||||
* @ Version:1.0
|
* @ Version:1.0
|
||||||
* @ Description:数据库类型业务实现层
|
* @ Description:数据库类型业务实现层
|
||||||
*/
|
*/
|
||||||
|
@Service
|
||||||
public class DataTypeServiceImpl extends ServiceImpl<DataTypeMapper, DataType> implements DataTypeService {
|
public class DataTypeServiceImpl extends ServiceImpl<DataTypeMapper, DataType> implements DataTypeService {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue