fix(controller): 修正流程参数控制器字段映射错误
This commit is contained in:
parent
78f340ee9d
commit
ac697427ff
@ -120,8 +120,9 @@ public class ProcParamController {
|
|||||||
.map(entity -> {
|
.map(entity -> {
|
||||||
Map<String, Object> map = new HashMap<>(3);
|
Map<String, Object> map = new HashMap<>(3);
|
||||||
map.put("id", entity.getId());
|
map.put("id", entity.getId());
|
||||||
map.put("code", entity.getProcParamName());
|
map.put("code", entity.getProcCd());
|
||||||
map.put("name", entity.getProcCd());
|
map.put("name", entity.getProcParamName());
|
||||||
|
map.put("unit", entity.getProcParamUnit());
|
||||||
return map;
|
return map;
|
||||||
})
|
})
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user