Commit da43f7d4 by Sxy

fix: 建账完状态变成完成状态

parent e4388695
...@@ -85,6 +85,7 @@ class DeliverybillService extends ServiceBase { ...@@ -85,6 +85,7 @@ class DeliverybillService extends ServiceBase {
// 通知 财税 // 通知 财税
await toFtClient.addCusAccApplyInfo(deliverData, pobj); await toFtClient.addCusAccApplyInfo(deliverData, pobj);
await this.dao.updateByWhere({ await this.dao.updateByWhere({
delivery_status: system.SERVERSESTATUS.SUCCESS,
delivery_info: { delivery_info: {
...deliverData.delivery_info, ...deliverData.delivery_info,
setupStatus: system.SERVERSESTATUS.SETUP, setupStatus: system.SERVERSESTATUS.SETUP,
...@@ -99,6 +100,13 @@ class DeliverybillService extends ServiceBase { ...@@ -99,6 +100,13 @@ class DeliverybillService extends ServiceBase {
}, { }, {
id: pobj.deliverId id: pobj.deliverId
}); });
this.logService.insertInfo({
flowType: system.FLOWCODE.DELIVERY,
flowId: pobj.deliverId,
statusCode: system.SERVERSESTATUS.SUCCESS,
clerkName: pobj.userid,
clerkId: pobj.username
});
console.log("deliverySve:setupBill:SUCCESS----------------------------------------SUCCESS"); console.log("deliverySve:setupBill: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