mirror of
https://github.com/Geniusay/ChopperBot.git
synced 2026-09-01 14:50:18 +08:00
数据库字段修正
This commit is contained in:
Generated
+12
@@ -32,5 +32,17 @@
|
||||
</library>
|
||||
</libraries>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="database [2]" uuid="51bc4519-2daa-4834-9a57-e7a35f209e89">
|
||||
<driver-ref>sqlite.xerial</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>
|
||||
<jdbc-url>jdbc:sqlite:D:\code\gitHubProject\ChopperBot-newVersion\database.db</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
<libraries>
|
||||
<library>
|
||||
<url>file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.43.0/sqlite-jdbc-3.43.0.0.jar</url>
|
||||
</library>
|
||||
</libraries>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
@@ -2,6 +2,7 @@ package org.example.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.example.pojo.AccountType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
/**
|
||||
@@ -9,5 +10,6 @@ import org.example.pojo.AccountType;
|
||||
* @Author welsir
|
||||
* @Date 2023/9/24 16:08
|
||||
*/
|
||||
@Component
|
||||
public interface AccountTypeMapper extends BaseMapper<AccountType> {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package org.example.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
@@ -16,6 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@TableName(value = "account_type")
|
||||
public class AccountType {
|
||||
|
||||
@TableId
|
||||
private Long uid;
|
||||
private String type;
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user