Commit 00a11d49 by sxy

fix: 是否上市 string转 bool

parent 406eb14e
...@@ -49,8 +49,8 @@ class DeliverService extends ServiceBase { ...@@ -49,8 +49,8 @@ class DeliverService extends ServiceBase {
throw new Error("此交付单不可提交材料"); throw new Error("此交付单不可提交材料");
} }
return this.db.transaction(async (t) => { return this.db.transaction(async (t) => {
await this.materialDao.createOrUpdate(pobj, t);
await this.cacheinfoDao.createOrUpdate(pobj, t); await this.cacheinfoDao.createOrUpdate(pobj, t);
await this.materialDao.createOrUpdate(pobj, t);
if (deliverData.delivery_status === system.SERVERSESTATUS.COLLECTING) { if (deliverData.delivery_status === system.SERVERSESTATUS.COLLECTING) {
await this.dao.updateByWhere({ await this.dao.updateByWhere({
delivery_status: system.SERVERSESTATUS.SUBMITING delivery_status: system.SERVERSESTATUS.SUBMITING
......
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