记得上下班打卡 | git大法好,push需谨慎

Commit 4d7057d3 authored by GaoHu's avatar GaoHu

票名显示日期

parent 0c948a29
...@@ -36,6 +36,7 @@ import org.springframework.stereotype.Service; ...@@ -36,6 +36,7 @@ import org.springframework.stereotype.Service;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.RoundingMode; import java.math.RoundingMode;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.*; import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -427,6 +428,14 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc ...@@ -427,6 +428,14 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc
showAgentVo.setPerformanceId(performancesId); showAgentVo.setPerformanceId(performancesId);
showAgentVo.setTicketId(ticketAndStatusDao.getTicketsId()); showAgentVo.setTicketId(ticketAndStatusDao.getTicketsId());
showAgentVo.setTitle(ticketAndStatusDao.getTitle()); showAgentVo.setTitle(ticketAndStatusDao.getTitle());
//开始结束时间转换年月日
String start = ticketAndStatusDao.getUseStart().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
String end = ticketAndStatusDao.getUseEnd().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
if (start.equals(end)) {
showAgentVo.setTitle(ticketAndStatusDao.getTitle().concat("(").concat(start).concat(")"));
} else {
showAgentVo.setTitle(ticketAndStatusDao.getTitle().concat("(").concat(start).concat("--").concat(end).concat(")"));
}
//总代票提 //总代票提
showAgentVo.setTotalCarry(smileAgent.getTotalCarry()); showAgentVo.setTotalCarry(smileAgent.getTotalCarry());
//普代票提 //普代票提
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment