|
@@ -50,7 +50,7 @@ public class HouseDataCheckService {
|
|
|
}
|
|
|
|
|
|
private GetBuildingAreaDiffVo getBuildingAreaDiffVo(GetBuildingAreaDiffDto dto) {
|
|
|
- if ("全省".equals(dto.getAreaNo())) {
|
|
|
+ if ("018".equals(dto.getAreaNo())) {
|
|
|
dto.setAreaNo(null);
|
|
|
dto.setCityNo(null);
|
|
|
}
|
|
@@ -95,7 +95,7 @@ public class HouseDataCheckService {
|
|
|
dto.setCityNo(URLDecoder.decode(dto.getCityNo(), StandardCharsets.UTF_8));
|
|
|
}
|
|
|
String filename = "数据稽查_自用面积比较"
|
|
|
- + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMdd")) + ".xlsx";
|
|
|
+ + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss")) + ".xlsx";
|
|
|
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncodeUtil.encode(filename));
|
|
|
response.setContentType("application/octet-stream");
|
|
|
try (SXSSFWorkbook wb = new SXSSFWorkbook()) {
|
|
@@ -372,7 +372,7 @@ public class HouseDataCheckService {
|
|
|
}
|
|
|
|
|
|
private GetHouseAbnormalDataVo getHouseAbnormalDataVo(GetHouseAbnormalDataDto dto) {
|
|
|
- if ("全省".equals(dto.getAreaNo())) {
|
|
|
+ if ("018".equals(dto.getAreaNo())) {
|
|
|
dto.setAreaNo(null);
|
|
|
dto.setCityNo(null);
|
|
|
}
|
|
@@ -417,7 +417,7 @@ public class HouseDataCheckService {
|
|
|
dto.setCityNo(URLDecoder.decode(dto.getCityNo(), StandardCharsets.UTF_8));
|
|
|
}
|
|
|
String filename = "数据稽查_异常数据稽核表"
|
|
|
- + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMdd")) + ".xlsx";
|
|
|
+ + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss")) + ".xlsx";
|
|
|
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncodeUtil.encode(filename));
|
|
|
response.setContentType("application/octet-stream");
|
|
|
try (SXSSFWorkbook wb = new SXSSFWorkbook()) {
|