|
@@ -32,7 +32,6 @@ import org.springframework.web.context.request.RequestContextHolder;
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
-import java.time.LocalDate;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
import java.time.format.DateTimeFormatter;
|
|
import java.time.format.DateTimeFormatter;
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
@@ -381,17 +380,11 @@ public class HouseWzBuildManageDetailsService {
|
|
}
|
|
}
|
|
|
|
|
|
public Rsp<PageVo<String>> listSiteName(ListSiteNameDto dto) {
|
|
public Rsp<PageVo<String>> listSiteName(ListSiteNameDto dto) {
|
|
- Integer yearMonth = dto.getMap().getStatisticalMonth();
|
|
|
|
- if (yearMonth == null) {
|
|
|
|
- yearMonth = Integer.valueOf(LocalDate.now().minusDays(40)
|
|
|
|
- .format(DateTimeFormatter.ofPattern("yyyyMM")));
|
|
|
|
- }
|
|
|
|
if ("全省".equals(dto.getMap().getCity())) {
|
|
if ("全省".equals(dto.getMap().getCity())) {
|
|
dto.getMap().setCity(null);
|
|
dto.getMap().setCity(null);
|
|
dto.getMap().setCounty(null);
|
|
dto.getMap().setCounty(null);
|
|
}
|
|
}
|
|
ListHouseSiteBo bo = new ListHouseSiteBo();
|
|
ListHouseSiteBo bo = new ListHouseSiteBo();
|
|
- bo.setYearMonth(yearMonth);
|
|
|
|
bo.setAreaNo(dto.getMap().getCity());
|
|
bo.setAreaNo(dto.getMap().getCity());
|
|
bo.setCityNo(dto.getMap().getCounty());
|
|
bo.setCityNo(dto.getMap().getCounty());
|
|
bo.setSiteName(dto.getMap().getAlias());
|
|
bo.setSiteName(dto.getMap().getAlias());
|
|
@@ -403,17 +396,11 @@ public class HouseWzBuildManageDetailsService {
|
|
}
|
|
}
|
|
|
|
|
|
public Rsp<PageVo<String>> listSiteNum(ListSiteNumDto dto) {
|
|
public Rsp<PageVo<String>> listSiteNum(ListSiteNumDto dto) {
|
|
- Integer yearMonth = dto.getMap().getStatisticalMonth();
|
|
|
|
- if (yearMonth == null) {
|
|
|
|
- yearMonth = Integer.valueOf(LocalDate.now().minusDays(40)
|
|
|
|
- .format(DateTimeFormatter.ofPattern("yyyyMM")));
|
|
|
|
- }
|
|
|
|
if ("全省".equals(dto.getMap().getCity())) {
|
|
if ("全省".equals(dto.getMap().getCity())) {
|
|
dto.getMap().setCity(null);
|
|
dto.getMap().setCity(null);
|
|
dto.getMap().setCounty(null);
|
|
dto.getMap().setCounty(null);
|
|
}
|
|
}
|
|
ListHouseSiteBo bo = new ListHouseSiteBo();
|
|
ListHouseSiteBo bo = new ListHouseSiteBo();
|
|
- bo.setYearMonth(yearMonth);
|
|
|
|
bo.setAreaNo(dto.getMap().getCity());
|
|
bo.setAreaNo(dto.getMap().getCity());
|
|
bo.setCityNo(dto.getMap().getCounty());
|
|
bo.setCityNo(dto.getMap().getCounty());
|
|
bo.setSiteNum(dto.getMap().getCode());
|
|
bo.setSiteNum(dto.getMap().getCode());
|