Commit 413c28b1 by Sxy

fix: 年报生成逻辑

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