Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yafangsuo_dataServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
yafangsuo_dataServer
Commits
ed43b970
Commit
ed43b970
authored
Sep 19, 2023
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
bb355e29
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+5
-1
No files found.
src/config/mysqlTableConfig.ts
View file @
ed43b970
...
@@ -259,6 +259,9 @@ export const TablesConfig = [
...
@@ -259,6 +259,9 @@ export const TablesConfig = [
bId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//支部表id 外键
bId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//支部表id 外键
dayIntegral
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//当日积分
dayIntegral
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//当日积分
totalIntegral
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//总积分
totalIntegral
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//总积分
dataYear
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//年
dataMonth
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//月
dataDay
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//日
dataTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//数据时间
dataTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//数据时间
fileName
:
{
type
:
Sequelize
.
STRING
(
500
),
allowNull
:
true
,
defaultValue
:
'[]'
},
//文件名称 ["",""] --多选
fileName
:
{
type
:
Sequelize
.
STRING
(
500
),
allowNull
:
true
,
defaultValue
:
'[]'
},
//文件名称 ["",""] --多选
fileType
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
true
},
//文件类型
fileType
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
true
},
//文件类型
...
@@ -284,7 +287,8 @@ export const TablesConfig = [
...
@@ -284,7 +287,8 @@ export const TablesConfig = [
thirdLevelContent
:
{
type
:
Sequelize
.
STRING
(
500
),
allowNull
:
false
,
defaultValue
:
''
},
//三级指标内容
thirdLevelContent
:
{
type
:
Sequelize
.
STRING
(
500
),
allowNull
:
false
,
defaultValue
:
''
},
//三级指标内容
currentScore
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
0
},
//当前得分
currentScore
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
0
},
//当前得分
completionProgress
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//完成进度
completionProgress
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//完成进度
weight
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
}
//权重
weight
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//权重
dataYear
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//数据年份
},
},
association
:
[]
association
:
[]
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment