laiguoran %!s(int64=4) %!d(string=hai) anos
pai
achega
f8488dab90
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/change.js

+ 1 - 1
app/service/change.js

@@ -231,7 +231,7 @@ module.exports = app => {
             let sql = '';
             let sqlParam = '';
             if (this.ctx.tender.isTourist && status === 0) {
-                sql = 'SELECT a.* FROM ?? WHERE a.tid = ?';
+                sql = 'SELECT a.* FROM ?? As a WHERE a.tid = ?';
                 sqlParam = [this.tableName, tenderId];
             } else {
                 switch (status) {