|
|
@@ -109,7 +109,7 @@ module.exports = app => {
|
|
|
|
|
|
async getAllCert(tenderId) {
|
|
|
const sql = 'SELECT tc.id, tc.uid, tc.uid, tc.cert_id, tc.department, tc.job_time, tc.remark,' +
|
|
|
- ' ac.type, ac.name as ac_name, ac.code, ac.reg_unit, ac.job_title, ac.file_name, ac.file_path, ac.edu_json,' +
|
|
|
+ ' ac.type, ac.name as ac_name, ac.code, ac.reg_unit, ac.job_title, ac.file_name, ac.file_path, ac.edu_json, ac.cert_name,' +
|
|
|
' pa.account, pa.name, pa.role, pa.company' +
|
|
|
` FROM ${this.tableName} tc LEFT JOIN ${this.ctx.service.accountCert.tableName} ac ON tc.cert_id = ac.id` +
|
|
|
` LEFT JOIN ${this.ctx.service.projectAccount.tableName} pa ON tc.uid = pa.id` +
|