|
@@ -122,6 +122,7 @@ module.exports = app => {
|
|
|
const qualityIndex = planInfo.quality && this._.indexOf(changeConst.qualityName, planInfo.quality) !== -1 ? this._.indexOf(changeConst.qualityName, planInfo.quality) : 0;
|
|
|
change.quality = qualityIndex ? qualityIndex : changeConst.quality.common.value;
|
|
|
change.content = planInfo.reason + '\r\n' + planInfo.content;
|
|
|
+ }
|
|
|
}
|
|
|
const operate = await this.transaction.insert(this.tableName, change);
|
|
|
|