Commit f499a671 by 高宇强

gyq

parent 0a605915
...@@ -142,8 +142,8 @@ class BizOptCtl extends CtlBase { ...@@ -142,8 +142,8 @@ class BizOptCtl extends CtlBase {
} }
module.exports = BizOptCtl; module.exports = BizOptCtl;
var task = new BizOptCtl(); // var task = new BizOptCtl();
var obj={"businessMode":"202006100001","currentStatus":"isClosed","statusReason":"未付款"}; // var obj={"businessMode":"202006100001","currentStatus":"isClosed","statusReason":"未付款"};
task.updateStatusByDemandCode(obj,{},{}).then(d=>{ // task.updateStatusByDemandCode(obj,{},{}).then(d=>{
console.log(d); // console.log(d);
}) // })
...@@ -180,7 +180,6 @@ class SchemeCtl extends CtlBase { ...@@ -180,7 +180,6 @@ class SchemeCtl extends CtlBase {
if (pobj.schemeNumber && pobj.schemeNumber != 'undefined' && pobj.currentStatus && pobj.currentStatus != 'undefined'){ if (pobj.schemeNumber && pobj.schemeNumber != 'undefined' && pobj.currentStatus && pobj.currentStatus != 'undefined'){
try{ try{
await this.service.updateStatusBySchemeNumber(pobj); await this.service.updateStatusBySchemeNumber(pobj);
//调商城接口
return system.getResult("更新成功!"); return system.getResult("更新成功!");
} }
catch(error){ catch(error){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment