Commit 6c6864e4 by 王勇飞

gyq

parent 9104400b
...@@ -81,6 +81,7 @@ class DeliverybillCtl extends CtlBase { ...@@ -81,6 +81,7 @@ class DeliverybillCtl extends CtlBase {
return system.getResult(rs); return system.getResult(rs);
} catch (err) { } catch (err) {
console.log("updateOrderStatus--------------error",err); console.log("updateOrderStatus--------------error",err);
console.log("updateOrderStatus:err.message--------------error",err.message);
return system.getResult(null, err.message) return system.getResult(null, err.message)
} }
} }
...@@ -476,7 +477,7 @@ class DeliverybillCtl extends CtlBase { ...@@ -476,7 +477,7 @@ class DeliverybillCtl extends CtlBase {
} }
async testfeedback(obj){ async testfeedback(obj){
console.log("testCloseProposal-------------------"); console.log("testfeedback-------------------");
return { return {
"requestId": "d51aa427-738f-4bed-b48d-282da0a74432", "requestId": "d51aa427-738f-4bed-b48d-282da0a74432",
"status":1, "status":1,
......
...@@ -42,8 +42,8 @@ class FitaxschemeCtl extends CtlBase { ...@@ -42,8 +42,8 @@ class FitaxschemeCtl extends CtlBase {
async updateInfo(pobj, qobj, req) { async updateInfo(pobj, qobj, req) {
console.log("fitaxscjemeCtl:updateInfo:pobj--------------------",JSON.stringify(pobj)); console.log("fitaxscjemeCtl:updateInfo:pobj--------------------",JSON.stringify(pobj));
let obj = {}; let obj = {};
if (pobj.actionBody.IntentionBizId) {//需求编号 if (pobj.actionBody.messageBody.IntentionBizId) {//需求编号
obj.demand_code = pobj.actionBody.IntentionBizId; obj.demand_code = pobj.actionBody.messageBody.IntentionBizId + "_book";
} }
if (pobj.actionBody.resultInfo.data.SolutionBizId) {//方案编号 if (pobj.actionBody.resultInfo.data.SolutionBizId) {//方案编号
obj.solution_bizid = pobj.actionBody.resultInfo.data.SolutionBizId; obj.solution_bizid = pobj.actionBody.resultInfo.data.SolutionBizId;
......
...@@ -151,6 +151,7 @@ const feedbackToRys = async (data) => { ...@@ -151,6 +151,7 @@ const feedbackToRys = async (data) => {
requestId: uuidv4() requestId: uuidv4()
}); });
if (resData !== 0) { if (resData !== 0) {
console.log("resData--------------------------",resData.msg)
throw new Error(resData.msg) throw new Error(resData.msg)
} }
} }
......
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