laiguoran 4 anni fa
parent
commit
f8488dab90
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {