Browse Source

(*)员工信息增加gradePoint绩点字段

master
zmh 2 years ago
parent
commit
3498b32a9d
  1. 2
      api/app/lib/controllers/member/index.js
  2. 9
      api/app/lib/models/member.js

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

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

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

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

Loading…
Cancel
Save