mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
fix 修复导出无账号的bug
feat 如果无支付时间显示 -
This commit is contained in:
@@ -122,7 +122,7 @@ public class FinanceRechargerServiceImpl implements IFinanceRechargerService {
|
||||
|
||||
for (FinanceRechargeListVo vo : iPage.getRecords()) {
|
||||
vo.setCreateTime(TimeUtils.timestampToDate(vo.getCreateTime()));
|
||||
vo.setPayTime(TimeUtils.timestampToDate(vo.getPayTime()));
|
||||
vo.setPayTime(StringUtils.isNull(vo.getPayTime()) ? "-" : TimeUtils.timestampToDate(vo.getPayTime()));
|
||||
vo.setAvatar(UrlUtils.toAdminAbsoluteUrl(vo.getAvatar()));
|
||||
vo.setPayWay(vo.getPayWay());
|
||||
vo.setPayWayText(PaymentEnum.getPayWayMsg(Integer.parseInt(vo.getPayWay())));
|
||||
@@ -399,7 +399,7 @@ public class FinanceRechargerServiceImpl implements IFinanceRechargerService {
|
||||
|
||||
MPJQueryWrapper<RechargeOrder> mpjQueryWrapper = new MPJQueryWrapper<>();
|
||||
mpjQueryWrapper.selectAll(RechargeOrder.class)
|
||||
.select("U.id as user_id,U.account ,U.nickname,U.avatar, t.sn AS sn")
|
||||
.select("U.id as user_id,U.account,U.nickname,U.avatar,t.sn AS sn")
|
||||
.leftJoin("?_user U ON U.id=t.user_id".replace("?_", GlobalConfig.tablePrefix))
|
||||
.orderByDesc("id");
|
||||
|
||||
@@ -427,6 +427,7 @@ public class FinanceRechargerServiceImpl implements IFinanceRechargerService {
|
||||
mpjQueryWrapper);
|
||||
retList = iPage.getRecords();
|
||||
}
|
||||
System.out.println(retList);
|
||||
for (FinanceRechargeListExportVo vo : retList) {
|
||||
vo.setCreateTime(TimeUtils.timestampToDate(vo.getCreateTime()));
|
||||
vo.setPayTime(TimeUtils.timestampToDate(vo.getPayTime()));
|
||||
|
||||
@@ -33,7 +33,7 @@ public class FinanceRechargeListExportVo implements Serializable {
|
||||
@ApiModelProperty("账号")
|
||||
@ExcelProperty("账号")
|
||||
@ColumnWidth(50)
|
||||
private String acount;
|
||||
private String account;
|
||||
|
||||
@ApiModelProperty("订单编号")
|
||||
@ExcelProperty("订单编号")
|
||||
|
||||
Reference in New Issue
Block a user