소스 검색

合同支付,新增子项问题

MaiXinRong 1 주 전
부모
커밋
476d277e42
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {