岗位工作地址导出

This commit is contained in:
guixinman
2025-06-18 14:36:24 +08:00
parent 2c7fa11ea3
commit 98bde9cf6e

View File

@@ -371,6 +371,7 @@ public class PositionServiceImpl implements PositionService {
List<PositionExportDTO> collect = listAll.stream().map(dto -> { List<PositionExportDTO> collect = listAll.stream().map(dto -> {
PositionExportDTO exportDTO = new PositionExportDTO(); PositionExportDTO exportDTO = new PositionExportDTO();
BeanUtils.copyProperties(dto, exportDTO); BeanUtils.copyProperties(dto, exportDTO);
exportDTO.setPositionAddress(dto.getDetailAddress());
exportDTO.setCreateTime(DateUtil.format(dto.getCreateTime(), "yyyy-MM-dd HH:mm:ss")); exportDTO.setCreateTime(DateUtil.format(dto.getCreateTime(), "yyyy-MM-dd HH:mm:ss"));
exportDTO.setStatus(DictUtils.getCodeNameMap("position_status").get(String.valueOf(dto.getStatus()))); exportDTO.setStatus(DictUtils.getCodeNameMap("position_status").get(String.valueOf(dto.getStatus())));
exportDTO.setSalary(dto.getSalaryStr()); exportDTO.setSalary(dto.getSalaryStr());