feat: 更新分期方案初始化脚本,匹配最新表结构

- 更新表名和字段名为小写格式
- 修正字段类型以匹配实体类定义
- 新增缺失字段:scheme_type, down_payment_ratio等
- 添加索引优化查询性能
- 完善表和字段注释
This commit is contained in:
Admin
2025-09-11 18:42:41 +08:00
parent 9f5a484689
commit aca5fb0a44
1165 changed files with 497 additions and 900 deletions

29
LCXiaoguan-ui/env.d.ts vendored Normal file
View File

@ -0,0 +1,29 @@
/// <reference types="vite/client" />
// Vue模块声明
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
// 环境变量接口
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
readonly VITE_APP_ENV: string
readonly VITE_APP_BASE_API: string
readonly VITE_APP_VERSION: string
readonly VITE_BUILD_VERSION: string
readonly [key: string]: any
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
// API模块通配符声明
declare module '@/api/system/*' {
const content: any
export default content
export * from '@/api/system/*'
}