|
|
@@ -12,6 +12,7 @@ import cc.smtweb.framework.core.util.SpringUtil; |
|
|
|
import cc.smtweb.system.bpm.spring.BpmConfigBean; |
|
|
|
import cc.smtweb.system.bpm.util.IdeaUtil; |
|
|
|
import cc.smtweb.system.bpm.web.design.db.ModelProjectCache; |
|
|
|
import cc.smtweb.system.bpm.web.sys.base.billType.BillTypeCache; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
@@ -36,7 +37,7 @@ public class ModelFormLoadHandler extends DefaultLoadHandler<ModelForm> { |
|
|
|
long billType = bean.getBillType(); |
|
|
|
if (billType > 0L) { |
|
|
|
SwMap opts = bean.getOpts(); |
|
|
|
// opts.put(ModelFormHelper.KEY_BILL_TYPE + SwConsts.TEXT_SUFFIX, BillTypeCache.); |
|
|
|
opts.put(ModelFormHelper.KEY_BILL_TYPE + SwConsts.TEXT_SUFFIX, BillTypeCache.getInstance().getName(billType)); |
|
|
|
} |
|
|
|
|
|
|
|
return bean; |
|
|
|