<#assign hasChildrenField = ""> <#assign pidFieldName = ""> <#assign textFieldName = ""> <#list originalColumns as po> <#if po.fieldDbName == tableVo.extendParams.hasChildren> <#assign hasChildrenField = po.fieldName> <#-- begin 【vue3专用】 --> <#if po.fieldDbName == tableVo.extendParams.pidField> <#assign pidFieldName = po.fieldName> <#if po.fieldDbName == tableVo.extendParams.textField> <#assign textFieldName = po.fieldName> <#-- end 【vue3专用】 --> update ${tableName} set ${Format.humpToUnderline(hasChildrenField)} = ${r'#'}{status} where id = ${r'#'}{id}