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
16900a06
Commit
16900a06
authored
Sep 04, 2023
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改党建质量指数字段
parent
0235daca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+6
-5
No files found.
src/config/mysqlTableConfig.ts
View file @
16900a06
...
...
@@ -53,7 +53,7 @@ export const TablesConfig = [
bId
:
{
type
:
Sequelize
.
INTEGER
(
20
),
allowNull
:
false
},
//支部表id 外键
partyJoiningTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
true
},
//入党时间 --正式党员录入
administrativePositionName
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
true
,
defaultValue
:
1
},
//行政职务id 枚举 默认1:普通职员
partyPositionsName
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
true
,
defaultValue
:
'[]'
},
//党内职务id 枚举 --正式党员录入 [1,2] --多选
partyPositionsName
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
true
,
defaultValue
:
'[]'
},
//党内职务id 枚举 --正式党员录入 [1,2] --多选
departmentName
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
true
,
defaultValue
:
'[]'
},
//所属科室表id 枚举 [1,2] --多选
askForTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
true
},
//申请入党时间 --入党积极分子录入、入党申请录入
listedAsActivistsTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
true
},
//列为积极分子时间 --入党积极分子录入
...
...
@@ -165,6 +165,7 @@ export const TablesConfig = [
unique
:
true
//表示该列的值必须唯一
},
pmId
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//党员信息表id 外键
bId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//支部表id 外键
payType
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
2
},
//缴纳状态 1:已缴纳、2:未缴纳
payableMonth
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//应交月份
payTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
true
},
//缴费时间
...
...
@@ -271,14 +272,14 @@ export const TablesConfig = [
autoIncrement
:
true
,
//允许自增
unique
:
true
//表示该列的值必须唯一
},
bId
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//支部表id 外键 [1,2] --多选
bId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//支部表id 外键
primaryIndicators
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//一级指标 枚举
secondaryIndicators
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//二级指标 枚举
thirdLevelScore
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
0
},
//三级指标分值
thirdLevelContent
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
''
},
//三级指标内容
totalScore
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
0
},
//总分
thirdLevelContent
:
{
type
:
Sequelize
.
STRING
(
500
),
allowNull
:
false
,
defaultValue
:
''
},
//三级指标内容
currentScore
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
0
},
//当前得分
completionProgress
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
}
//完成进度
completionProgress
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//完成进度
weight
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
}
//权重
},
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