|
@@ -124,6 +124,7 @@ module.exports = app => {
|
|
|
let content = planInfo.reason ? planInfo.reason.replace(/[\r\n]/g, '\r\n') : '';
|
|
|
content = content + (planInfo.content ? (planInfo.reason ? '\r\n' : '') + planInfo.content.replace(/[\r\n]/g, '\r\n') : '');
|
|
|
change.content = content ? content : null;
|
|
|
+ change.expr = planInfo.expr;
|
|
|
}
|
|
|
}
|
|
|
const operate = await this.transaction.insert(this.tableName, change);
|