|
@@ -387,7 +387,8 @@ public class TransfusionConfigFacade {
|
|
|
public void exportExcel(HttpServletResponse response, HospitalIdVO hospitalIdVO) {
|
|
|
QueryWrapper<TransfusionConfig> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
- .eq("hospital_id", hospitalIdVO.getHospitalId());
|
|
|
+ .eq("hospital_id", hospitalIdVO.getHospitalId())
|
|
|
+ .orderByDesc("gmt_modified");
|
|
|
List<TransfusionConfig> records = transfusionConfigService.list(queryWrapper);
|
|
|
String fileName = "输血映射.xls";
|
|
|
ExcelUtils.exportExcel(records, null, "sheet1", TransfusionConfig.class, fileName, response, 12.8f);
|