Explorar el Código

附件排序调整

laiguoran hace 2 años
padre
commit
beb4c546a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,