Commit 413c28b1 by Sxy

fix: 年报生成逻辑

parent 15798bb2
...@@ -211,6 +211,7 @@ class DeliverService extends ServiceBase { ...@@ -211,6 +211,7 @@ class DeliverService extends ServiceBase {
) { ) {
throw new Error('该交付单状态下不可提交'); throw new Error('该交付单状态下不可提交');
} }
if ([system.SERVERSESTATUS.SUCCESS, if ([system.SERVERSESTATUS.SUCCESS,
system.SERVERSESTATUS.POSTING, system.SERVERSESTATUS.POSTING,
system.SERVERSESTATUS.DISPOSEING].includes(deliverData.delivery_status)) { system.SERVERSESTATUS.DISPOSEING].includes(deliverData.delivery_status)) {
...@@ -233,9 +234,9 @@ class DeliverService extends ServiceBase { ...@@ -233,9 +234,9 @@ class DeliverService extends ServiceBase {
deliver_id: pobj.deliver_id, deliver_id: pobj.deliver_id,
}, },
}); });
await this.qualificationDao.createOrUpdate(pobj);
return 'SUCCESS';
} }
let annualReportData; let annualReportData;
const annualReportArry = []; const annualReportArry = [];
......
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