|
@@ -1,6 +1,12 @@
|
|
|
package com.xy.dto;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.annotation.format.NumberFormat;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.xy.annotate.DictFormat;
|
|
|
+import com.xy.consts.DictConsts;
|
|
|
+import com.xy.convert.CustomFenToYuanConverter;
|
|
|
+import com.xy.convert.DictConvert;
|
|
|
import com.xy.utils.PageBean;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
@@ -83,6 +89,69 @@ public class DeviceAlgorithmChargingHistoryDto {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ @Data
|
|
|
+ @Accessors(chain = true)
|
|
|
+ public static class PageExcelVo {
|
|
|
+
|
|
|
+// @ExcelProperty("说明")
|
|
|
+// @ApiModelProperty(value = "备注")
|
|
|
+// private String note;
|
|
|
+
|
|
|
+
|
|
|
+ @ExcelProperty("商户名称")
|
|
|
+ @ApiModelProperty(value = "商户名称")
|
|
|
+ private String mercName;
|
|
|
+
|
|
|
+ @ExcelProperty("缴费单号")
|
|
|
+ @ApiModelProperty(value = "缴费单号")
|
|
|
+ private String orderId;
|
|
|
+ @ExcelProperty("设备编号")
|
|
|
+ @ApiModelProperty(value = "设备id")
|
|
|
+ private Long deviceId;
|
|
|
+
|
|
|
+ @ExcelProperty(value = "算法类型", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictConsts.ALGORITHM_TYPES)
|
|
|
+ @ApiModelProperty(value = "算法类型")
|
|
|
+ private Long algorithmId;
|
|
|
+
|
|
|
+// @ApiModelProperty(value = "名称")
|
|
|
+// private String name;
|
|
|
+
|
|
|
+ @ExcelProperty(value = "实缴金额", converter = CustomFenToYuanConverter.class)
|
|
|
+ @NumberFormat("#0.00")
|
|
|
+ @ApiModelProperty(value = "实缴金额")
|
|
|
+ private Integer chargingMoney;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "代理商费用")
|
|
|
+ @ExcelProperty(value = "代理商费用", converter = CustomFenToYuanConverter.class)
|
|
|
+ @NumberFormat("#0.00")
|
|
|
+ private Integer agentMoney;
|
|
|
+
|
|
|
+
|
|
|
+ @ExcelProperty("缴费数量(笔)")
|
|
|
+ @ApiModelProperty(value = "缴费数量")
|
|
|
+ private Integer chargingSize;
|
|
|
+
|
|
|
+
|
|
|
+ @ExcelProperty(value = "缴费方式", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictConsts.ORDER_MERC_MANAGE_PAY_TYPE)
|
|
|
+ @ApiModelProperty(value = "缴费方式")
|
|
|
+ private Integer chargingType;
|
|
|
+
|
|
|
+ @ExcelProperty(value = "支付状态", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictConsts.ORDER_MERC_MANAGE_STATUS)
|
|
|
+ @ApiModelProperty(value = "支付状态")
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+
|
|
|
+ @ExcelProperty("支付时间")
|
|
|
+ @ApiModelProperty(value = "缴费时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
@Data
|
|
|
@Accessors(chain = true)
|
|
|
public static class PageByTopMerc {
|