Pārlūkot izejas kodu

移除无用打印代码

MaiXinRong 5 gadi atpakaļ
vecāks
revīzija
52a945edc5
2 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0 2
      app/controller/tender_controller.js
  2. 0 2
      app/service/stage_audit.js

+ 0 - 2
app/controller/tender_controller.js

@@ -86,7 +86,6 @@ module.exports = app => {
                 } else {
                     cur = await this.ctx.service.stageAudit.getCurAuditor(stage.id, stage.times);
                 }
-                if (tender.id === 3024) console.log(stage, cur);
                 if (cur) {
                     tender.cur_flow.name = cur.name;
                     if (cur.order === 1) {
@@ -98,7 +97,6 @@ module.exports = app => {
                             tender.pre_flow.name = user.name;
                         }
                         tender.pre_flow.time = cur.begin_time;
-                        if (tender.id === 3024) console.log(tender.pre_flow);
                     } else {
                         const pre = await this.ctx.service.stageAudit.getAuditorByOrder(stage.id, cur.order - 1, cur.times);
                         if (pre) tender.pre_flow = { name: pre.name, time: pre.end_time };

+ 0 - 2
app/service/stage_audit.js

@@ -68,7 +68,6 @@ module.exports = app => {
                 '  WHERE la.`sid` = ? and la.`status` = ? and la.`times` = ?' +
                 '  ORDER BY `order` DESC';
             const sqlParam = [stageId, status, times ? times: 1];
-            if (stageId === 1400) console.log(this.db.format(sql, sqlParam));
             return await this.db.queryOne(sql, sqlParam);
         }
 
@@ -499,7 +498,6 @@ module.exports = app => {
         }
 
         async _checkNo(pid, stageId, checkData, times) {
-            console.log('checkData', checkData);
             const time = new Date();
             // 整理当前流程审核人状态更新
             const audit = await this.getDataByCondition({ sid: stageId, times, status: auditConst.status.checking });