瀏覽代碼

code sync

Tony Kang 1 年之前
父節點
當前提交
e1821a945e
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      app/service/role_rpt_rel.js

+ 4 - 2
app/service/role_rpt_rel.js

@@ -115,7 +115,8 @@ module.exports = app => {
                     rpt_id,
                     sid,
                     business_id,
-                    business_type: source_type,
+                    // business_type: source_type,
+                    business_type: rptArchiveConst.getBusinessType(sid),
                     rel_content: JSON.stringify(relArr),
                 };
                 // console.log(data);
@@ -165,7 +166,8 @@ module.exports = app => {
                         tender_id,
                         rpt_id, sid,
                         business_id,
-                        business_type: source_type,
+                        // business_type: source_type,
+                        business_type: rptArchiveConst.getBusinessType(sid),
                         rel_content: JSON.stringify(relArr),
                     };
                     rst = await this.transaction.update(this.tableName, data);