瀏覽代碼

附件排序调整

laiguoran 2 年之前
父節點
當前提交
beb4c546a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/payment_controller.js

+ 1 - 1
app/controller/payment_controller.js

@@ -363,7 +363,7 @@ module.exports = app => {
                 const uidList = ctx.helper._.uniq([...auditIdList, ...rptAuditIdList]);
 
                 // 获取附件列表
-                const attList = await ctx.service.paymentDetailAtt.getPaymentDetailAttachment(ctx.detail.id);
+                const attList = await ctx.service.paymentDetailAtt.getPaymentDetailAttachment(ctx.detail.id, 'desc');
                 const renderData = {
                     trInfo: ctx.trInfo,
                     paymentConst,