Authored by LUOXC

format

@@ -60,9 +60,9 @@ public class InviterServiceImpl implements InviterService { @@ -60,9 +60,9 @@ public class InviterServiceImpl implements InviterService {
60 LocalDateTime paidTime = LocalDateTime.ofEpochSecond(inviteSettlement.getPaidTime().longValue(), 0, zoneOffset); 60 LocalDateTime paidTime = LocalDateTime.ofEpochSecond(inviteSettlement.getPaidTime().longValue(), 0, zoneOffset);
61 InviteSettlementListVO.InviteSettlementVO item = new InviteSettlementListVO.InviteSettlementVO(); 61 InviteSettlementListVO.InviteSettlementVO item = new InviteSettlementListVO.InviteSettlementVO();
62 item.setSettleCode(String.format("%s%010d", createTime.format(DateTimeFormatter.ofPattern("yyyyMMdd")), inviteSettlement.getId())); 62 item.setSettleCode(String.format("%s%010d", createTime.format(DateTimeFormatter.ofPattern("yyyyMMdd")), inviteSettlement.getId()));
63 - item.setSettleAmount("+" + inviteSettlement.getSettleAmount().setScale(1, RoundingMode.HALF_EVEN));  
64 - item.setSettleTime(settleTime.format(DateTimeFormatter.ofPattern("yyyyMMdd HH:mm:ss")));  
65 - item.setPaidTime(paidTime.format(DateTimeFormatter.ofPattern("yyyyMMdd HH:mm:ss"))); 63 + item.setSettleAmount("+" + inviteSettlement.getSettleAmount().setScale(1, RoundingMode.FLOOR));
  64 + item.setSettleTime(settleTime.format(DateTimeFormatter.ofPattern("yyyy.MM.dd HH:mm:ss")));
  65 + item.setPaidTime(paidTime.format(DateTimeFormatter.ofPattern("yyyy.MM.dd HH:mm:ss")));
66 return item; 66 return item;
67 }) 67 })
68 .collect(Collectors.toList()); 68 .collect(Collectors.toList());