fix(controller): 修正流程参数控制器字段映射错误

This commit is contained in:
zxy 2026-04-21 17:53:32 +08:00
parent 78f340ee9d
commit ac697427ff

View File

@ -120,8 +120,9 @@ public class ProcParamController {
.map(entity -> {
Map<String, Object> map = new HashMap<>(3);
map.put("id", entity.getId());
map.put("code", entity.getProcParamName());
map.put("name", entity.getProcCd());
map.put("code", entity.getProcCd());
map.put("name", entity.getProcParamName());
map.put("unit", entity.getProcParamUnit());
return map;
})
.collect(Collectors.toList());