Browse Source

合同支付,新增子项问题

MaiXinRong 1 week ago
parent
commit
476d277e42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/phase_pay_detail.js

+ 1 - 1
app/service/phase_pay_detail.js

@@ -500,7 +500,7 @@ class PhasePayDetail extends TreeService {
         try {
             const result = await conn.insert(this.tableName, insertData);
             if (children.length === 0) {
-                await conn.update(this.tableName, { id: select.id, is_leaf: false });
+                await conn.update(this.tableName, { id: select.id, tree_is_leaf: false });
             }
             await conn.commit();
         } catch(err) {