Compare commits
No commits in common. '318bf0a8f56639145010a80f8453ccaad00745b8' and '5ee65d6685449e15a6b66890f6332b24013abd22' have entirely different histories.
318bf0a8f5
...
5ee65d6685
@ -1,20 +0,0 @@
|
|||||||
package com.taxi.servicedriveruser.controller;
|
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* 前端控制器
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author author
|
|
||||||
* @since 2023-04-28
|
|
||||||
*/
|
|
||||||
@Controller
|
|
||||||
@RequestMapping("/car")
|
|
||||||
public class CarController {
|
|
||||||
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
package com.taxi.servicedriveruser.generator;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.generator.FastAutoGenerator;
|
|
||||||
import com.baomidou.mybatisplus.generator.config.OutputFile;
|
|
||||||
import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
|
|
||||||
|
|
||||||
import java.util.Collections;
|
|
||||||
|
|
||||||
public class MysqlGenerator {
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
FastAutoGenerator.create("jdbc:mysql://localhost:3306/service-driver-user?characterEncoding=utf-8&serverTimezone=GMT%2B8",
|
|
||||||
"root", "topsun123")
|
|
||||||
.globalConfig(builder -> {
|
|
||||||
builder.author("author").fileOverride().outputDir("/Users/topsun/Documents/workSpce/gitlab-projectTest/online-taxi-public/service-driver-user/src/main/java");
|
|
||||||
}).packageConfig(builder -> {
|
|
||||||
builder.parent("com.taxi.servicedriveruser").pathInfo(Collections.singletonMap(OutputFile.mapperXml,
|
|
||||||
"/Users/topsun/Documents/workSpce/gitlab-projectTest/online-taxi-public/service-driver-user/src/main/java/com/taxi/servicedriveruser/mapper"));
|
|
||||||
}).strategyConfig(builder -> {
|
|
||||||
builder.addInclude("car");
|
|
||||||
}).templateEngine(new FreemarkerTemplateEngine()).execute();
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
package com.taxi.servicedriveruser.mapper;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import com.internal.dto.Car;
|
|
||||||
import org.springframework.stereotype.Repository;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author author
|
|
||||||
* @since 2023-04-28
|
|
||||||
*/
|
|
||||||
@Repository
|
|
||||||
public interface CarMapper extends BaseMapper<Car> {
|
|
||||||
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
package com.taxi.servicedriveruser.service;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
@Service
|
|
||||||
public class CarService {
|
|
||||||
}
|
|
Loading…
Reference in new issue