diff --git a/lc123/cloud/app/plugin/form/sys/MaterialBillPlugin.java b/lc123/cloud/app/plugin/form/sys/MaterialBillPlugin.java index c03fa13..25859d7 100644 --- a/lc123/cloud/app/plugin/form/sys/MaterialBillPlugin.java +++ b/lc123/cloud/app/plugin/form/sys/MaterialBillPlugin.java @@ -348,7 +348,13 @@ public class MaterialBillPlugin extends AbstractBillPlugIn { if ("name".equals(name)) { newValue = newValue.replaceAll("_copy", ""); } + if(newValue.startsWith(",")){ + newValue = newValue.substring(1); + } if (StringUtils.isNotBlank(oldValue)) { + if(oldValue.startsWith(",")){ + oldValue = oldValue.substring(1); + } if (!oldValue.equals(newValue)) { changeFields.append(",").append(name); changeContent.append("字段:" + displayName + ",变更前:" + oldValue + ",变更后:" + newValue + ";");