ww664853070 2 years ago
parent
commit
3342deb70d
  1. 2
      api/app/lib/controllers/member/index.js
  2. 9
      api/app/lib/models/member.js
  3. 0
      doc/scripts/PEP V3.4.0/01 update_member-grade_point.sql

2
api/app/lib/controllers/member/index.js

@ -531,7 +531,7 @@ async function exportData(ctx) {
key: 'userActiveStatus', key: 'userActiveStatus',
}, { }, {
title: '绩点', title: '绩点',
key: 'point', key: 'gradePoint',
}, { }, {
title: '归属机构', title: '归属机构',
key: 'userOrganization', key: 'userOrganization',

9
api/app/lib/models/member.js

@ -212,6 +212,15 @@ module.exports = dc => {
primaryKey: false, primaryKey: false,
field: "technical_grade", field: "technical_grade",
autoIncrement: false autoIncrement: false
},
gradePoint: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "绩点",
primaryKey: false,
field: "grade_point",
autoIncrement: false
} }
}, { }, {
tableName: "member", tableName: "member",

0
doc/scripts/PEP V3.5.0/01 update_member-grade_point.sql → doc/scripts/PEP V3.4.0/01 update_member-grade_point.sql

Loading…
Cancel
Save