修复字典取值

This commit is contained in:
zjf committed 2025-10-10 15:43:09 +08:00
1 parent 8954ffa88e
commit e8fd780806
2 files changed
+2 -2

No files matched your search

@@ -226,7 +226,7 @@ public class MaintenanceOrderController {
List<MaintenanceTypeVO> voList = dictResult.getData().stream().map(item -> {
MaintenanceTypeVO vo = new MaintenanceTypeVO();
vo.setId(item.getId());
vo.setId(item.getItemValue());
vo.setLabel(item.getLabel());
return vo;
}).collect(Collectors.toList());
@@ -21,7 +21,7 @@ public class MaintenanceTypeVO implements Serializable {
* 字典项ID
*/
@Schema(description = "字典项ID")
private Long id;
private String id;
/**
* 标签名称