Explorar o código

合同支付,新增子项问题

MaiXinRong hai 1 mes
pai
achega
476d277e42
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {