|
@@ -149,7 +149,7 @@ module.exports = app => {
|
|
|
const fp = this.PermissionConst.file[p];
|
|
|
permissionConst[prefix + fp.value] = fp.title;
|
|
|
}
|
|
|
- const result = await this.db.query(`SELECT spp.id, p.name, p.role, p.company, p.mobile, spp.file_permission, spp.filing_type
|
|
|
+ const result = await this.db.query(`SELECT spp.id, p.name, p.role, p.company, p.mobile, spp.file_permission, spp.filing_type, spp.create_time
|
|
|
FROM ${this.tableName} spp LEFT JOIN ${this.ctx.service.projectAccount.tableName} p
|
|
|
On spp.uid = p.id WHERE spp.spid = ? and file_permission <> ''`, [subProjectId]);
|
|
|
result.forEach(x => {
|