修复字典取值
This commit is contained in:
1 parent
8954ffa88e
commit
e8fd780806
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -226,7 +226,7 @@ public class MaintenanceOrderController {
|
|||||||
|
|
||||||
List<MaintenanceTypeVO> voList = dictResult.getData().stream().map(item -> {
|
List<MaintenanceTypeVO> voList = dictResult.getData().stream().map(item -> {
|
||||||
MaintenanceTypeVO vo = new MaintenanceTypeVO();
|
MaintenanceTypeVO vo = new MaintenanceTypeVO();
|
||||||
vo.setId(item.getId());
|
vo.setId(item.getItemValue());
|
||||||
vo.setLabel(item.getLabel());
|
vo.setLabel(item.getLabel());
|
||||||
return vo;
|
return vo;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ public class MaintenanceTypeVO implements Serializable {
|
|||||||
* 字典项ID
|
* 字典项ID
|
||||||
*/
|
*/
|
||||||
@Schema(description = "字典项ID")
|
@Schema(description = "字典项ID")
|
||||||
private Long id;
|
private String id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 标签名称
|
* 标签名称
|
||||||
|
|||||||
Reference in new issue
Block a user