|
@@ -93,7 +93,7 @@ module.exports = app => {
|
|
|
if (detailAtt) {
|
|
|
detailAtt && this._analysisDetailAtt(detailAtt);
|
|
|
for (const f of files) {
|
|
|
- detailAtt.attachment.push(f);
|
|
|
+ detailAtt.attachment.unshift(f);
|
|
|
}
|
|
|
await this.db.update(this.tableName, { id: detailAtt.id, attachment: JSON.stringify(detailAtt.attachment) });
|
|
|
await this._complete4Output(detailAtt);
|