|
@@ -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);
|