|
@@ -253,10 +253,10 @@ public class YeWeiHuiController {
|
|
|
if (uptown != null && uptown.getUptownId() > 0) {
|
|
|
Long upId = uptown.getUptownId();
|
|
|
String fileName = uptown.getUptownName();
|
|
|
- fileName += "上报信息-";
|
|
|
- fileName += date;
|
|
|
- List<ExcelRiBao> list = rbMapper.selectExcelRiBao(upId, date);
|
|
|
- ExcelUtils.writeSheet(ExcelRiBao.class, list).export(resp, fileName);
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ map.put("date", date);
|
|
|
+ List<ExcelRiBaoLYBM4> list = sweepCodeService.exSelectLingyunUser(map, uptownId);
|
|
|
+ ExcelUtils.writeSheet(ExcelRiBaoLYBM4.class, list).export(resp, fileName + "上报信息-" + date);
|
|
|
}
|
|
|
}
|
|
|
|