Browse Source

合并代码

master
巴林闲侠 3 years ago
parent
commit
eb4b295a9f
  1. 5
      api/app/lib/controllers/member/index.js

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

@ -524,6 +524,9 @@ async function exportData (ctx) {
ctx.body = { ctx.body = {
message: typeof error == 'string' ? error : undefined message: typeof error == 'string' ? error : undefined
} }
}
}
async function addMembersBulk (ctx) { async function addMembersBulk (ctx) {
let errorMsg = { message: '批量添加员工信息失败' }; let errorMsg = { message: '批量添加员工信息失败' };
const transaction = await ctx.fs.dc.orm.transaction(); const transaction = await ctx.fs.dc.orm.transaction();
@ -601,4 +604,4 @@ module.exports = {
vacateStatistics, vacateStatistics,
exportData, exportData,
addMembersBulk addMembersBulk
}; }
Loading…
Cancel
Save