diff --git a/ruoyi-admin/src/main/resources/mapper/purchase/PurchasePlanMapper.xml b/ruoyi-admin/src/main/resources/mapper/purchase/PurchasePlanMapper.xml index f9cd1dc2..5c7a2d6d 100644 --- a/ruoyi-admin/src/main/resources/mapper/purchase/PurchasePlanMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/purchase/PurchasePlanMapper.xml @@ -42,6 +42,7 @@ and purchase_plan_type = #{purchasePlanType} and create_time between #{params.beginCreateTime} and #{params.endCreateTime} + order by create_time desc -
  • - - -
  • @@ -86,6 +82,7 @@ detailView: true, fixedColumns: true, // 启用冻结列 fixedRightNumber: 1, // 冻结右列个数 + sortable: true, onExpandRow : function(index,row,$detail){ $detail.html('
    ').find('table'); // 一阶 @@ -108,8 +105,9 @@ {title: '作废总数',field: 'cancelSum',}, {title: '不含税总价(RMB)',field: 'noRmbSum',}, {title: '含税总价(RMB)',field: 'rmbSum',}, - {title: '申请人',field: 'applyUser',}, - {title: '录入时间',field: 'createTime',}, + {title: '录入时间',field: 'createTime', + sortable: true, + }, {title: '更新人',field: 'updateBy',}, {title: '上次更新时间',field: 'updateTime',}, {title: '操作',align: 'center',