Browse Source

修复待办页上报显示bug

ellisran 8 months ago
parent
commit
34011b2879
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/stage_audit.js

+ 1 - 1
app/service/stage_audit.js

@@ -1585,7 +1585,7 @@ module.exports = app => {
             const result = await this.db.query(sql, sqlParam);
             // 过滤result中存在重复sid的值, 保留最新的一条
             const sql1 = 'SELECT s.`order` As `sorder`, s.`status` AS `sstatus`, s.`in_time` AS `begin_time`,' +
-                ' t.`name`, t.`project_id`, t.`type`, t.`user_id`' +
+                ' t.`id` AS `tid`, t.`name`, t.`project_id`, t.`type`, t.`user_id`' +
                 ' FROM ?? AS s' +
                 ' Left Join ?? As t ON s.`tid` = t.`id`' +
                 ' WHERE s.`user_id` = ? and s.`status` != ?' +