|
|
@@ -3,10 +3,13 @@ package cc.smtweb.system.bpm.web.design.form; |
|
|
|
import cc.smtweb.framework.core.annotation.SwTable; |
|
|
|
import cc.smtweb.framework.core.common.SwMap; |
|
|
|
import cc.smtweb.framework.core.db.impl.DefaultEntity; |
|
|
|
import cc.smtweb.framework.core.util.JsonUtil; |
|
|
|
import cc.smtweb.system.bpm.web.design.form.define.PageDataset; |
|
|
|
import cc.smtweb.system.bpm.web.design.form.define.PageDatasetField; |
|
|
|
import cc.smtweb.system.bpm.web.design.form.define.PageDatasets; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
/** |
|
|
|
* Created by Akmm at 2022/4/15 17:26 |
|
|
|
*/ |
|
|
@@ -150,7 +153,9 @@ public class ModelForm extends DefaultEntity { |
|
|
|
} |
|
|
|
|
|
|
|
public void setContent(String mfContent) { |
|
|
|
put("mf_content", mfContent == null ? "{}" :mfContent.replaceAll("\\s*", "")); |
|
|
|
String temStr = mfContent == null ? "{}" : mfContent; |
|
|
|
Map map = JsonUtil.parseMap(temStr); |
|
|
|
put("mf_content", JsonUtil.encodeString(map)); |
|
|
|
} |
|
|
|
|
|
|
|
public String getOption() { |
|
|
|