Commit bcc15e76 by 王勇飞

gyq

parent c1f62db5
...@@ -15,6 +15,7 @@ class DeliverybillService extends ServiceBase { ...@@ -15,6 +15,7 @@ class DeliverybillService extends ServiceBase {
async updateOrderStatus(pobj) { async updateOrderStatus(pobj) {
try{ try{
console.log("deliverySve:updateOrderStatus:pobj----------------------------------------",JSON.stringify(pobj));
let deliverData = await this.dao.findOne({ let deliverData = await this.dao.findOne({
id: pobj.deliverId id: pobj.deliverId
}); });
...@@ -49,9 +50,11 @@ class DeliverybillService extends ServiceBase { ...@@ -49,9 +50,11 @@ class DeliverybillService extends ServiceBase {
...pobj, ...pobj,
bizId: deliverData.delivery_info.bizId bizId: deliverData.delivery_info.bizId
}); });
console.log("deliverySve:updateOrderStatus:toFtClient---------------------------------------toFtClient");
await this.dao.updateByWhere(updateResult, { await this.dao.updateByWhere(updateResult, {
id: pobj.deliverId id: pobj.deliverId
}); });
console.log("deliverySve:updateOrderStatus:updateByWhere---------------------------------------updateByWhere");
this.logService.insertInfo({ this.logService.insertInfo({
flowType: system.FLOWCODE.DELIVERY, flowType: system.FLOWCODE.DELIVERY,
flowId: pobj.deliverId, flowId: pobj.deliverId,
...@@ -59,6 +62,7 @@ class DeliverybillService extends ServiceBase { ...@@ -59,6 +62,7 @@ class DeliverybillService extends ServiceBase {
clerkName: pobj.userid, clerkName: pobj.userid,
clerkId: pobj.username clerkId: pobj.username
}); });
console.log("deliverySve:updateOrderStatus:insertInfo---------------------------------------insertInfo");
console.log("deliverySve:updateOrderStatus:success-----------------------------------------success"); console.log("deliverySve:updateOrderStatus:success-----------------------------------------success");
return "SUCCESS" return "SUCCESS"
} }
......
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