瀏覽代碼

升级 1.4.4

青苗 9 年之前
父節點
當前提交
0cd491c7aa

+ 0 - 55
mybatis-plus/D:/mybatis-plus/com/baomidou/entity/AbcUser.java

@@ -1,55 +0,0 @@
-package com.baomidou.entity;
-
-import java.io.Serializable;
-
-import com.baomidou.mybatisplus.annotations.IdType;
-import com.baomidou.mybatisplus.annotations.TableField;
-import com.baomidou.mybatisplus.annotations.TableId;
-import com.baomidou.mybatisplus.annotations.TableName;
-
-/**
- *
- * 
- *
- */
-@TableName("abc_user")
-public class AbcUser implements Serializable {
-
-	@TableField(exist = false)
-	protected static final long serialVersionUID = 1L;
-
-	/**  */
-	@TableId(type = IdType.AUTO)
-	protected Integer id;
-
-	/**  */
-	protected String order;
-
-	/**  */
-	protected Integer uid;
-
-	public Integer getId() {
-		return this.id;
-	}
-
-	public void setId(Integer id) {
-		this.id = id;
-	}
-
-	public String getOrder() {
-		return this.order;
-	}
-
-	public void setOrder(String order) {
-		this.order = order;
-	}
-
-	public Integer getUid() {
-		return this.uid;
-	}
-
-	public void setUid(Integer uid) {
-		this.uid = uid;
-	}
-
-}

+ 0 - 65
mybatis-plus/D:/mybatis-plus/com/baomidou/entity/User.java

@@ -1,65 +0,0 @@
-package com.baomidou.entity;
-
-import java.io.Serializable;
-
-import com.baomidou.mybatisplus.annotations.IdType;
-import com.baomidou.mybatisplus.annotations.TableField;
-import com.baomidou.mybatisplus.annotations.TableId;
-
-/**
- *
- * 用户表
- *
- */
-public class User implements Serializable {
-
-	@TableField(exist = false)
-	protected static final long serialVersionUID = 1L;
-
-	/** 主键ID */
-	@TableId(value = "test_id", type = IdType.AUTO)
-	protected Long testId;
-
-	/** 名称 */
-	protected String name;
-
-	/** 年龄 */
-	protected Integer age;
-
-	/** 测试下划线字段命名类型 */
-	@TableField(value = "test_type")
-	protected Integer testType;
-
-	public Long getTestId() {
-		return this.testId;
-	}
-
-	public void setTestId(Long testId) {
-		this.testId = testId;
-	}
-
-	public String getName() {
-		return this.name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public Integer getAge() {
-		return this.age;
-	}
-
-	public void setAge(Integer age) {
-		this.age = age;
-	}
-
-	public Integer getTestType() {
-		return this.testType;
-	}
-
-	public void setTestType(Integer testType) {
-		this.testType = testType;
-	}
-
-}

+ 0 - 14
mybatis-plus/D:/mybatis-plus/com/baomidou/mapper/AbcUserMapper.java

@@ -1,14 +0,0 @@
-package com.baomidou.mapper;
-
-import com.baomidou.entity.AbcUser;
-import com.baomidou.mybatisplus.mapper.AutoMapper;
-
-/**
- *
- * AbcUser 表数据库控制层接口
- *
- */
-public interface AbcUserMapper extends AutoMapper<AbcUser> {
-
-
-}

+ 0 - 14
mybatis-plus/D:/mybatis-plus/com/baomidou/mapper/UserMapper.java

@@ -1,14 +0,0 @@
-package com.baomidou.mapper;
-
-import com.baomidou.entity.User;
-import com.baomidou.mybatisplus.mapper.AutoMapper;
-
-/**
- *
- * User 表数据库控制层接口
- *
- */
-public interface UserMapper extends AutoMapper<User> {
-
-
-}

+ 0 - 10
mybatis-plus/D:/mybatis-plus/com/baomidou/mapper/xml/AbcUserMapper.xml

@@ -1,10 +0,0 @@
-<?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.baomidou.mapper.AbcUserMapper">
-
-	<!-- 通用查询结果列-->
-	<sql id="Base_Column_List">
-		 id, order, uid
-	</sql>
-
-</mapper>

+ 0 - 10
mybatis-plus/D:/mybatis-plus/com/baomidou/mapper/xml/UserMapper.xml

@@ -1,10 +0,0 @@
-<?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.baomidou.mapper.UserMapper">
-
-	<!-- 通用查询结果列-->
-	<sql id="Base_Column_List">
-		 test_id AS testId, name, age, test_type AS testType
-	</sql>
-
-</mapper>

+ 0 - 14
mybatis-plus/D:/mybatis-plus/com/baomidou/service/IAbcUserService.java

@@ -1,14 +0,0 @@
-package com.baomidou.service;
-
-import com.baomidou.entity.AbcUser;
-import com.baomidou.framework.service.ISuperService;
-
-/**
- *
- * AbcUser 表数据服务层接口
- *
- */
-public interface IAbcUserService extends ISuperService<AbcUser> {
-
-
-}

+ 0 - 14
mybatis-plus/D:/mybatis-plus/com/baomidou/service/IUserService.java

@@ -1,14 +0,0 @@
-package com.baomidou.service;
-
-import com.baomidou.entity.User;
-import com.baomidou.framework.service.ISuperService;
-
-/**
- *
- * User 表数据服务层接口
- *
- */
-public interface IUserService extends ISuperService<User> {
-
-
-}

+ 0 - 19
mybatis-plus/D:/mybatis-plus/com/baomidou/service/impl/AbcUserServiceImpl.java

@@ -1,19 +0,0 @@
-package com.baomidou.service.impl;
-
-import org.springframework.stereotype.Service;
-
-import com.baomidou.mapper.AbcUserMapper;
-import com.baomidou.entity.AbcUser;
-import com.baomidou.service.IAbcUserService;
-import com.baomidou.framework.service.impl.SuperServiceImpl;
-
-/**
- *
- * AbcUser 表数据服务层接口实现类
- *
- */
-@Service
-public class AbcUserServiceImpl extends SuperServiceImpl<AbcUserMapper, AbcUser> implements IAbcUserService {
-
-
-}

+ 0 - 19
mybatis-plus/D:/mybatis-plus/com/baomidou/service/impl/UserServiceImpl.java

@@ -1,19 +0,0 @@
-package com.baomidou.service.impl;
-
-import org.springframework.stereotype.Service;
-
-import com.baomidou.mapper.UserMapper;
-import com.baomidou.entity.User;
-import com.baomidou.service.IUserService;
-import com.baomidou.framework.service.impl.SuperServiceImpl;
-
-/**
- *
- * User 表数据服务层接口实现类
- *
- */
-@Service
-public class UserServiceImpl extends SuperServiceImpl<UserMapper, User> implements IUserService {
-
-
-}