feat(incompact) - 兼容双引号字符串转型的问题

This commit is contained in:
wangli 2026-02-05 13:41:38 +08:00
parent 8624de4fd1
commit c776813430

View File

@ -365,7 +365,7 @@ public class CustomGetFormInstanceModelCmd extends GetFormInstanceModelCmd {
if (rowMap.containsKey(sf.getId())) {
try {
String updateValueJson = objectMapper.writeValueAsString(rowMap.get(sf.getId()));
if (StringUtils.hasText(updateValueJson)) {
if (StringUtils.hasText(updateValueJson) && !Objects.equals("\"\"", updateValueJson)) {
List<UploadFieldDTO> uploadFiles = formEngineConfiguration.getObjectMapper()
.readValue(updateValueJson, new TypeReference<List<UploadFieldDTO>>() {
});