diff --git a/erm.frontend/package.json b/erm.frontend/package.json index 341fbced..7ce44a4f 100644 --- a/erm.frontend/package.json +++ b/erm.frontend/package.json @@ -1,6 +1,6 @@ { "name": "erm.frontend", - "version": "8.1.29", + "version": "8.1.30", "description": "", "private": false, "keywords": [], @@ -78,7 +78,7 @@ "luckyexcel": "1.0.1", "mockjs": "1.1.0", "pinia": "2.1.7", - "platform-core": "8.1.158", + "platform-core": "8.1.159", "quasar": "2.14.5", "tailwindcss": "3.4.0", "vue": "3.4.3", diff --git a/gradle.properties b/gradle.properties index 58335e03..66cf22a3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -36,9 +36,9 @@ application_version=1.0.0 # platform ########################################################### platform_group=io.sc -platform_version=8.1.29 +platform_version=8.1.30 platform_plugin_version=8.1.13 -platform_core_frontend_version=8.1.158 +platform_core_frontend_version=8.1.159 ########################################################### # dependencies version diff --git a/io.sc.engine.mv.frontend/package.json b/io.sc.engine.mv.frontend/package.json index 3e669194..dcb66744 100644 --- a/io.sc.engine.mv.frontend/package.json +++ b/io.sc.engine.mv.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.engine.mv.frontend", - "version": "8.1.29", + "version": "8.1.30", "description": "", "private": false, "keywords": [], @@ -91,7 +91,7 @@ "luckyexcel": "1.0.1", "mockjs": "1.1.0", "pinia": "2.1.7", - "platform-core": "8.1.158", + "platform-core": "8.1.159", "quasar": "2.14.5", "tailwindcss": "3.4.0", "vue": "3.4.3", diff --git a/io.sc.engine.rule.core/src/main/java/io/sc/engine/rule/core/enums/DictionaryType.java b/io.sc.engine.rule.core/src/main/java/io/sc/engine/rule/core/enums/DictionaryType.java index 0d803817..cc270e61 100644 --- a/io.sc.engine.rule.core/src/main/java/io/sc/engine/rule/core/enums/DictionaryType.java +++ b/io.sc.engine.rule.core/src/main/java/io/sc/engine/rule/core/enums/DictionaryType.java @@ -2,8 +2,6 @@ package io.sc.engine.rule.core.enums; /** * 数据字典类型枚举 - * @author wangshaoping - * */ public enum DictionaryType { FOLDER, //文件夹 diff --git a/io.sc.engine.rule.frontend/package.json b/io.sc.engine.rule.frontend/package.json index effecb01..db8980e4 100644 --- a/io.sc.engine.rule.frontend/package.json +++ b/io.sc.engine.rule.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.engine.rule.frontend", - "version": "8.1.29", + "version": "8.1.30", "description": "", "private": false, "keywords": [], @@ -91,7 +91,7 @@ "luckyexcel": "1.0.1", "mockjs": "1.1.0", "pinia": "2.1.7", - "platform-core": "8.1.158", + "platform-core": "8.1.159", "quasar": "2.14.5", "tailwindcss": "3.4.0", "vue": "3.4.3", diff --git a/io.sc.engine.rule.frontend/src/i18n/messages.json b/io.sc.engine.rule.frontend/src/i18n/messages.json index 44e9ede0..ed461c7a 100644 --- a/io.sc.engine.rule.frontend/src/i18n/messages.json +++ b/io.sc.engine.rule.frontend/src/i18n/messages.json @@ -106,4 +106,12 @@ "re.resources.designer.testCaseParameter.grid.entity.expectValue": "Expect Value", "re.resources.designer.testCaseParameter.grid.entity.resultValue": "Result Value", "re.resources.designer.testCaseParameter.grid.entity.skipCheck": "Skip Check", + "re.resources.designer.testCaseParameter.grid.entity.testResult": "Result", + + "re.resources.importSample.dialog.title": "Import Sample Resource", + "re.resources.importSample.grid.title": "Sample List", + "re.resources.importSample.grid.toolbar.import": "Import Sample", + "re.resources.importSample.grid.toolbar.import.tip": "Are you sure to import the samples?", + + "re.dictionary.grid.title": "Dictionary Tree", } \ No newline at end of file diff --git a/io.sc.engine.rule.frontend/src/i18n/messages_tw_CN.json b/io.sc.engine.rule.frontend/src/i18n/messages_tw_CN.json index 41ac84ee..050279c4 100644 --- a/io.sc.engine.rule.frontend/src/i18n/messages_tw_CN.json +++ b/io.sc.engine.rule.frontend/src/i18n/messages_tw_CN.json @@ -107,4 +107,11 @@ "re.resources.designer.testCaseParameter.grid.entity.resultValue": "結果值", "re.resources.designer.testCaseParameter.grid.entity.skipCheck": "跳過檢查", "re.resources.designer.testCaseParameter.grid.entity.testResult": "測試結果", + + "re.resources.importSample.dialog.title": "導入示例資源", + "re.resources.importSample.grid.title": "示例資源列表", + "re.resources.importSample.grid.toolbar.import": "導入示例", + "re.resources.importSample.grid.toolbar.import.tip": "您確定要導入示例資源嗎?", + + "re.dictionary.grid.title": "數據字典樹", } \ No newline at end of file diff --git a/io.sc.engine.rule.frontend/src/i18n/messages_zh_CN.json b/io.sc.engine.rule.frontend/src/i18n/messages_zh_CN.json index 40c7a20e..0db4245b 100644 --- a/io.sc.engine.rule.frontend/src/i18n/messages_zh_CN.json +++ b/io.sc.engine.rule.frontend/src/i18n/messages_zh_CN.json @@ -108,4 +108,34 @@ "re.resources.designer.testCaseParameter.grid.entity.skipCheck": "跳过检查", "re.resources.designer.testCaseParameter.grid.entity.testResult": "测试结果", + "re.resources.importSample.dialog.title": "导入示例资源", + "re.resources.importSample.grid.title": "示例资源列表", + "re.resources.importSample.grid.toolbar.import": "导入示例", + "re.resources.importSample.grid.toolbar.import.tip": "您确定要导入示例资源吗?", + + "re.dictionary.grid.title": "数据字典树", + "re.dictionary.grid.toolbar.addGroup": "新增", + "re.dictionary.grid.toolbar.addTop": "顶级文件夹", + "re.dictionary.grid.toolbar.addChild": "子文件夹", + "re.dictionary.grid.toolbar.addJavaType": "Java 类型", + "re.dictionary.grid.toolbar.addUserDefinedJavaClassType": "用户自定义类型", + "re.dictionary.grid.toolbar.addEnumType": "枚举类型", + "re.dictionary.grid.toolbar.cloneGroup": "复制", + "re.dictionary.grid.toolbar.deepClone": "深度复制", + "re.dictionary.grid.toolbar.deepCloneNew": "深度复制(新数据字典)", + "re.dictionary.grid.toolbar.generateJson": "生成示例 JSON", + "re.dictionary.grid.toolbar.deploy": "发布", + "re.dictionary.grid.toolbar.importGroup": "导入", + "re.dictionary.grid.toolbar.import": "导入", + "re.dictionary.grid.toolbar.importSample": "导入示例", + + "re.dictionary.grid.entity.javaClassName": "Java 类全路径名称", + + + + + + + + } \ No newline at end of file diff --git a/io.sc.engine.rule.frontend/src/views/authorization/Authorization.vue b/io.sc.engine.rule.frontend/src/views/authorization/Authorization.vue index bc1844a1..54d9039f 100644 --- a/io.sc.engine.rule.frontend/src/views/authorization/Authorization.vue +++ b/io.sc.engine.rule.frontend/src/views/authorization/Authorization.vue @@ -1,4 +1,131 @@ - authorization + + + + { + roleIdRef = row.id; + resourceTreeGridRef?.refresh(); + } + " + @before-request-data=" + () => { + roleIdRef = ''; + resourceTreeGridRef?.refresh(); + } + " + > + + + + + + + + + - + diff --git a/io.sc.engine.rule.frontend/src/views/dictionary/dictionary.vue b/io.sc.engine.rule.frontend/src/views/dictionary/dictionary.vue index a3ce0e14..10586fec 100644 --- a/io.sc.engine.rule.frontend/src/views/dictionary/dictionary.vue +++ b/io.sc.engine.rule.frontend/src/views/dictionary/dictionary.vue @@ -1,4 +1,410 @@ - dictionary + + + + { + currentSelectedDictionaryIdRef = row.id; + gridRef?.refresh(); + } + " + @before-request-data=" + () => { + currentSelectedDictionaryIdRef = ''; + gridRef?.refresh(); + } + " + > + + + + + + + + + + + + + + + + - + diff --git a/io.sc.engine.rule.frontend/src/views/resources/AttachmentDialog.vue b/io.sc.engine.rule.frontend/src/views/resources/AttachmentDialog.vue index 7c32ebd3..94a15397 100644 --- a/io.sc.engine.rule.frontend/src/views/resources/AttachmentDialog.vue +++ b/io.sc.engine.rule.frontend/src/views/resources/AttachmentDialog.vue @@ -1,8 +1,9 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/io.sc.engine.rule.frontend/src/views/resources/ImportSampleDialog.vue b/io.sc.engine.rule.frontend/src/views/resources/ImportSampleDialog.vue new file mode 100644 index 00000000..d711456c --- /dev/null +++ b/io.sc.engine.rule.frontend/src/views/resources/ImportSampleDialog.vue @@ -0,0 +1,91 @@ + + + + + + + + diff --git a/io.sc.engine.rule.frontend/src/views/resources/Resources.vue b/io.sc.engine.rule.frontend/src/views/resources/Resources.vue index 4984a082..f817bc86 100644 --- a/io.sc.engine.rule.frontend/src/views/resources/Resources.vue +++ b/io.sc.engine.rule.frontend/src/views/resources/Resources.vue @@ -6,7 +6,7 @@ dense-body :config-button="true" selection="multiple" - :checkbox-selection="true" + :checkbox-selection="false" :tree="true" :tree-icon=" (row) => { @@ -189,19 +189,33 @@ name: 'import', label: $t('import'), icon: 'file_upload', - click: () => {}, + click: () => { + importDialogRef.open(); + }, }, { name: 'importExample', label: $t('re.resources.grid.toolbar.importExample'), - icon: 'bi-cloud-arrow-up-fill', - click: () => {}, + icon: 'bi-database-up', + click: () => { + importSampleDialogRef.open(); + }, }, ], 'separator', 'view', 'separator', - 'export', + { + extend: 'export', + enableIf: (arg) => { + return arg.selected; + }, + click: (arg) => { + //axios.get(Environment.apiContextPath('/api/re/resource/export/' + arg.selected.id)); + let url = Environment.apiContextPath('/api/re/resource/export/' + arg.selected.id); + downloadIframe.src = url; + }, + }, ]" :columns="[ { width: '100%', name: 'name', label: $t('name') }, @@ -282,6 +296,13 @@ ], }, }" + @row-db-click=" + (e, row) => { + if (row.type !== 'FOLDER') { + designerDialogRef.open(row); + } + } + " > + + + diff --git a/io.sc.engine.rule.frontend/src/views/resources/designer/DesignerDialog.vue b/io.sc.engine.rule.frontend/src/views/resources/designer/DesignerDialog.vue index 14e5d0fa..f270188c 100644 --- a/io.sc.engine.rule.frontend/src/views/resources/designer/DesignerDialog.vue +++ b/io.sc.engine.rule.frontend/src/views/resources/designer/DesignerDialog.vue @@ -55,7 +55,7 @@ - + - - + + - + implements DeepClone, IdClearable { +public class DictionaryEntity extends AuditorEntity implements DeepClone, IdClearable { //类型(用于区分子类) @Column(name="TYPE_", insertable=false,updatable=false) @Enumerated(EnumType.STRING) diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/dictionary/service/impl/DictionaryServiceImpl.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/dictionary/service/impl/DictionaryServiceImpl.java index 95579cba..14a15e56 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/dictionary/service/impl/DictionaryServiceImpl.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/dictionary/service/impl/DictionaryServiceImpl.java @@ -474,7 +474,7 @@ public class DictionaryServiceImpl extends DaoServiceImpl folderEntities =null; if(StringUtils.hasText(parentId)) { folderEntities =repository.findFolderByNameWithParentId(entity.getName(),parentId); diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/plugins/PluginManager.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/plugins/PluginManager.java index ec68bec4..7e8d3ad0 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/plugins/PluginManager.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/plugins/PluginManager.java @@ -16,9 +16,9 @@ import java.util.List; * 插件管理器 */ public class PluginManager { - private static final String RESOURCE_EXAMPLE_ITEM_RESOURCE_LOCATION ="META-INF/platform/plugins/rule-engine-example-resource.json"; - private static final String DICTIONARY_EXAMPLE_ITEM_RESOURCE_LOCATION ="META-INF/platform/plugins/rule-engine-example-dictionary.json"; - private static final String LIB_EXAMPLE_ITEM_RESOURCE_LOCATION ="META-INF/platform/plugins/rule-engine-example-lib.json"; + private static final String RESOURCE_EXAMPLE_ITEM_RESOURCE_LOCATION ="META-INF/platform/plugins/rule-engine-sample-resource.json"; + private static final String DICTIONARY_EXAMPLE_ITEM_RESOURCE_LOCATION ="META-INF/platform/plugins/rule-engine-sample-dictionary.json"; + private static final String LIB_EXAMPLE_ITEM_RESOURCE_LOCATION ="META-INF/platform/plugins/rule-engine-sample-lib.json"; //决策引擎资源示例贡献项相关 private List>> resourceExampleItems; diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourcePermissionWebController.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourcePermissionWebController.java index d1143226..9a9939c5 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourcePermissionWebController.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourcePermissionWebController.java @@ -2,6 +2,7 @@ package io.sc.engine.rule.server.resource.controller; import io.sc.engine.rule.server.resource.entity.ResourceEntity; import io.sc.engine.rule.server.resource.service.ResourceService; +import io.sc.engine.rule.server.resource.vo.ResourceVo; import io.sc.platform.mvc.support.One2Many; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -29,9 +30,9 @@ public class ResourcePermissionWebController { * @return 所有资源,并且将角色所拥有的资源列表作出标记 * @throws Exception 违例 */ - @RequestMapping(value="isc/listAllResourcesWithSelectedStatusByRole",method=RequestMethod.GET) + @RequestMapping(value="listAllResourcesWithSelectedStatusByRole",method=RequestMethod.GET) @ResponseBody - public List listAllResourcesWithSelectedStatusByRole(HttpServletRequest request,HttpServletResponse response,@RequestParam(name="roleId",required=false)String roleId) throws Exception{ + public List listAllResourcesWithSelectedStatusByRole(HttpServletRequest request, HttpServletResponse response, @RequestParam(name="roleId",required=false)String roleId) throws Exception{ if(StringUtils.hasText(roleId)){ return service.listAllResourcesWithSelectedStatusByRole(roleId); } @@ -43,7 +44,7 @@ public class ResourcePermissionWebController { * @param one2Many 一对多关系(ID关系)封装器, one: 代表角色代码, many: 代表资源集合 * @throws Exception 违例 */ - @RequestMapping(value="isc/updateRoles", method=RequestMethod.POST) + @RequestMapping(value="updateRoles", method=RequestMethod.POST) @ResponseBody public void updateRoles(@RequestBody One2Many one2Many) throws Exception{ if(one2Many!=null){ diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourceWebController.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourceWebController.java index 478a7644..3e9e58b6 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourceWebController.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/controller/ResourceWebController.java @@ -24,7 +24,6 @@ import io.sc.platform.mvc.support.FileDownloader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.MessageSource; import org.springframework.stereotype.Controller; import org.springframework.util.StringUtils; import org.springframework.web.bind.annotation.*; @@ -44,7 +43,6 @@ import java.util.*; @RequestMapping("/api/re/resource") public class ResourceWebController extends RestCrudController { private static final Logger log =LoggerFactory.getLogger(ResourceWebController.class); - @Autowired private MessageSource messageSource; @Autowired private ExecutorFactoryService executorFactoryService; @RequestMapping(value="getDefineById",method=RequestMethod.GET) @@ -265,7 +263,7 @@ public class ResourceWebController extends RestCrudController listResourceExampleContributionItems(HttpServletRequest request, HttpServletResponse response, Locale locale) throws Exception{ List items = PluginManager.getInstance().getResourceExampleItemEntries(); @@ -274,7 +272,6 @@ public class ResourceWebController extends RestCrudController contributionIds) throws Exception{ service.createExample(contributionIds); } - - private void updateResourceExampleContributionItemTitle(List items,Locale locale) throws Exception{ - if(items!=null && items.size()>0){ - for(ResourceExampleWrapper item : items){ - item.setName(messageSource.getMessage(item.getId(), null, locale)); - item.setDescription(messageSource.getMessage(item.getId()+".description", null,locale)); - } - } - } } diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ModelResourceEntity.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ModelResourceEntity.java index 4b7f674c..8d63ff9e 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ModelResourceEntity.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ModelResourceEntity.java @@ -7,10 +7,7 @@ import io.sc.engine.rule.server.resource.vo.ModelResourceVo; import io.sc.engine.rule.server.testcase.entity.ResourceTestCaseEntity; import org.springframework.beans.BeanUtils; -import javax.persistence.CascadeType; -import javax.persistence.DiscriminatorValue; -import javax.persistence.Entity; -import javax.persistence.OneToOne; +import javax.persistence.*; import java.util.List; /** @@ -21,7 +18,7 @@ import java.util.List; @JsonTypeName("MODEL") public class ModelResourceEntity extends ReleasableResourceEntity { //模型 - @OneToOne(mappedBy="resource") + @OneToOne(mappedBy="resource",cascade= {CascadeType.PERSIST}, fetch = FetchType.LAZY) private ModelEntity model; @Override diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ResourceEntity.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ResourceEntity.java index 11682262..2b60870b 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ResourceEntity.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/entity/ResourceEntity.java @@ -57,7 +57,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; @JsonSubTypes.Type(value=ModelResourceEntity.class), //模型实体 @JsonSubTypes.Type(value=ScoreCardResourceEntity.class) //评分卡实体 }) -public abstract class ResourceEntity extends AuditorEntity implements DeepClone, IdClearable { +public class ResourceEntity extends AuditorEntity implements DeepClone, IdClearable { //ID,主键 @Id @GeneratedValue(generator = "system-uuid") @@ -112,10 +112,6 @@ public abstract class ResourceEntity extends AuditorEntity implement inverseJoinColumns = {@JoinColumn(name = "ROLE_ID_",nullable = false,referencedColumnName="ID_")} ) private List roles =new ArrayList<>(); - - //是否被选择,主要用于展示某个角色或机构拥有的菜单,本属性不进行持久化 - @Transient - protected Boolean selected; public void toVo(ResourceVo vo) { if(vo!=null) { @@ -130,6 +126,11 @@ public abstract class ResourceEntity extends AuditorEntity implement } } + @Override + public ResourceVo toVo() { + return null; + } + public ResourceEntity() {} public ResourceEntity(String id) { this.id =id; @@ -195,12 +196,6 @@ public abstract class ResourceEntity extends AuditorEntity implement public void setRoles(List roles) { this.roles = roles; } - public Boolean getSelected() { - return selected; - } - public void setSelected(Boolean selected) { - this.selected = selected; - } /** * 重新设置父 diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/ResourceService.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/ResourceService.java index fd7246f6..dce4bbba 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/ResourceService.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/ResourceService.java @@ -127,7 +127,7 @@ public interface ResourceService extends DaoService listAllResourcesWithSelectedStatusByRole(String roleId) throws Exception; + public List listAllResourcesWithSelectedStatusByRole(String roleId) throws Exception; /** * 更新角色包含的资源 diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/impl/ResourceServiceImpl.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/impl/ResourceServiceImpl.java index 6d13ee25..733e53d5 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/impl/ResourceServiceImpl.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/service/impl/ResourceServiceImpl.java @@ -44,21 +44,27 @@ import io.sc.platform.mvc.service.SystemParameterService; import io.sc.platform.orm.entity.support.EntityChangedEventType; import io.sc.platform.orm.service.impl.DaoServiceImpl; import io.sc.platform.orm.service.support.QueryParameter; +import io.sc.platform.orm.service.support.QueryResult; import io.sc.platform.orm.service.support.criteria.impl.InSet; +import io.sc.platform.orm.util.EntityVoUtil; import io.sc.platform.security.util.SecurityUtil; import io.sc.platform.system.role.jpa.entity.RoleEntity; import io.sc.platform.system.role.service.RoleService; +import io.sc.platform.system.user.jpa.entity.UserEntity; import org.flowable.engine.ProcessEngine; import org.flowable.task.api.history.HistoricTaskInstance; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.core.io.DefaultResourceLoader; import org.springframework.data.domain.Page; +import org.springframework.data.jpa.domain.Specification; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.StringUtils; +import javax.persistence.criteria.Join; +import javax.persistence.criteria.Subquery; import java.util.*; @Service("reResourceService") @@ -530,46 +536,45 @@ public class ResourceServiceImpl extends DaoServiceImpl listAllResourcesWithSelectedStatusByRole(String roleId) throws Exception { + public List listAllResourcesWithSelectedStatusByRole(String roleId) throws Exception { + RoleEntity role =roleService.findById(roleId); + if(role!=null){ + List all =EntityVoUtil.toVo(repository.findAll()); + if(all!=null && all.size()>0){ + Map cache =new HashMap<>(all.size()); + for(ResourceVo resourceVo : all){ + cache.put(resourceVo.getId(), resourceVo); + } + Specification specification = (root, query, criteriaBuilder) -> { + Subquery subquery =query.subquery(Integer.class); + Join join = subquery.correlate(root).join("roles"); + + subquery.select(criteriaBuilder.literal(1)); + subquery.where(criteriaBuilder.equal(join.get("id"), roleId)); + return criteriaBuilder.exists(subquery); + }; + List selecteds =repository.findAll(specification); + if(selecteds!=null && selecteds.size()>0){ + for(ResourceEntity selected : selecteds){ + ResourceVo cached =cache.get(selected.getId()); + if(cached!=null){ + cached.setSelected(true); + } + } + } + } + return all; + } return Collections.emptyList(); } -// @Override -// public List listAllResourcesWithSelectedStatusByRole(String roleId) throws Exception { -// Role role =roleService.findById(roleId); -// if(role!=null){ -// List all =repository.findAll(); -// if(all!=null && all.size()>0){ -// Map cache =new HashMap(all.size()); -// for(ResourceEntity resourceEntity : all){ -// cache.put(resourceEntity.getId(), resourceEntity); -// } -// -// BooleanBuilder builder =new BooleanBuilder(); -// builder.and(QResourceEntity.resourceEntity.roles.any().eq(role)); -// List selecteds =IterableUtil.toList(repository.findAll(builder.getValue())); -// if(selecteds!=null && selecteds.size()>0){ -// for(ResourceEntity selected : selecteds){ -// ResourceEntity _org =cache.get(selected.getId()); -// if(_org!=null){ -// _org.setSelected(true); -// } -// } -// -// } -// } -// return all; -// } -// return null; -// } - @Override @Transactional public void updateResources(String roleId, Set resourceIds) throws Exception { if(StringUtils.hasText(roleId)){ - jdbcTemplate.update("delete from RE_RESOURCE_ROLE where FD_ROLE_ID=?", roleId); + jdbcTemplate.update("delete from RE_RESOURCE_ROLE where ROLE_ID_=?", roleId); if(resourceIds!=null && resourceIds.size()>0) { - SqlBatcher sqlBatcher =new SqlBatcher("insert into RE_RESOURCE_ROLE(FD_RESOURCE_ID,FD_ROLE_ID) values(?,?)"); + SqlBatcher sqlBatcher =new SqlBatcher("insert into RE_RESOURCE_ROLE(RESOURCE_ID_,ROLE_ID_) values(?,?)"); for(String resourceId : resourceIds){ sqlBatcher.addArg(new Object[]{resourceId,roleId}); } diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/vo/ResourceVo.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/vo/ResourceVo.java index 22e5bcc9..9bf154f8 100644 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/vo/ResourceVo.java +++ b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/resource/vo/ResourceVo.java @@ -1,9 +1,13 @@ package io.sc.engine.rule.server.resource.vo; import io.sc.engine.rule.core.enums.ResourceType; +import io.sc.engine.rule.core.po.resource.Resource; +import io.sc.engine.rule.core.po.testcase.ResourceTestCase; import io.sc.platform.orm.api.vo.AuditorVo; import javax.persistence.Transient; +import java.util.ArrayList; +import java.util.List; /** * 资源实体类 diff --git a/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/messages.json b/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/messages.json index 31d3e14a..21578f2d 100644 --- a/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/messages.json +++ b/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/messages.json @@ -10,6 +10,7 @@ { "includes":[ + "io/sc/engine/rule/server/sample/i18n/messages", "org/wsp/engine/rule/server/i18n/enums", "org/wsp/engine/rule/server/i18n/example", "org/wsp/engine/rule/server/i18n/exception", diff --git a/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/rule-engine-example-resource.json b/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/rule-engine-example-resource.json deleted file mode 100644 index fe4deb38..00000000 --- a/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/rule-engine-example-resource.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - //引擎示例 - {"id":"re.engine.example.resource.engine","order":100}, - //引擎示例/基本示例 - { - "order" :100, - "parentId" :"re.engine.example.resource.engine", - "id" :"re.engine.example.resource.engine.base", - "file" :"classpath:/org/wsp/engine/rule/example/resource/engine/引擎内置示例.json", - "dictionary":"classpath:/org/wsp/engine/rule/example/resource/engine/引擎内置示例(数据字典).json" - } -] \ No newline at end of file diff --git a/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/rule-engine-sample-resource.json b/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/rule-engine-sample-resource.json new file mode 100644 index 00000000..071968e9 --- /dev/null +++ b/io.sc.engine.rule.server/src/main/resources/META-INF/platform/plugins/rule-engine-sample-resource.json @@ -0,0 +1,12 @@ +[ + //引擎示例 + {"id":"re.engine.sample.resource.engine","order":100}, + //引擎示例/基本示例 + { + "order" :100, + "parentId" :"re.engine.sample.resource.engine", + "id" :"re.engine.sample.resource.engine.base", + "file" :"classpath:/io/sc/engine/rule/server/sample/引擎内置示例.json", + "dictionary":"classpath:/io/sc/engine/rule/server/sample/引擎内置示例(数据字典).json" + } +] \ No newline at end of file diff --git a/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/i18n/messages.properties b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/i18n/messages.properties new file mode 100644 index 00000000..ecf013d9 --- /dev/null +++ b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/i18n/messages.properties @@ -0,0 +1,5 @@ +re.engine.sample.resource.engine=Engine Sample +re.engine.sample.resource.engine.description=Engine Sample + +re.engine.sample.resource.engine.base=Base Sample +re.engine.sample.resource.engine.base.description=Engine Base Sample \ No newline at end of file diff --git a/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/i18n/messages_zh_CN.properties b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/i18n/messages_zh_CN.properties new file mode 100644 index 00000000..6c1aad01 --- /dev/null +++ b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/i18n/messages_zh_CN.properties @@ -0,0 +1,5 @@ +re.engine.sample.resource.engine=\u5F15\u64CE\u793A\u4F8B +re.engine.sample.resource.engine.description= + +re.engine.sample.resource.engine.base=\u57FA\u672C\u793A\u4F8B +re.engine.sample.resource.engine.base.description=\u5F15\u64CE\u81EA\u5E26\u57FA\u672C\u793A\u4F8B \ No newline at end of file diff --git a/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/引擎内置示例(数据字典).json b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/引擎内置示例(数据字典).json new file mode 100644 index 00000000..1031d9d9 --- /dev/null +++ b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/引擎内置示例(数据字典).json @@ -0,0 +1,152 @@ +{ + "type" : "FOLDER", + "id" : "e28a4f3b-25b3-457a-a473-c0a30d834469", + "code" : "D25173642570409", + "name" : "引擎内置示例(数据字典)", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "28cd2fc7-b837-4c9c-af40-00947dab4a7c", + "code" : "D25355646002659", + "name" : "日历", + "description" : null, + "order" : null, + "children" : [ { + "type" : "JAVA_CLASS", + "id" : "145e9e62-0e2e-42eb-9a60-e866c419f4aa", + "code" : "D25509529048589", + "name" : "日历", + "description" : null, + "order" : null, + "children" : null, + "status" : "SKETCH", + "version" : 1, + "javaClassName" : "java.util.Calendar" + } ] + }, { + "type" : "FOLDER", + "id" : "9e13f57c-22df-40d3-bd36-56cfa682bc6e", + "code" : "D25739980183495", + "name" : "个人客户基本信息", + "description" : null, + "order" : null, + "children" : [ { + "type" : "UD_JAVA_CLASS", + "id" : "cc9589cd-28c9-4752-bacd-0293bcdb63c7", + "code" : "D25776493023470", + "name" : "个人客户基本信息", + "description" : null, + "order" : null, + "children" : null, + "status" : "SKETCH", + "version" : 1, + "fields" : [ { + "id" : "8121cce5-91fe-4fc3-8e91-e5a8a1105d02", + "code" : "name", + "name" : "姓名", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeIsList" : false, + "defaultValue" : null, + "valueCalculation" : null, + "order" : 1 + }, { + "id" : "9ac0a8b3-59a1-4c03-a4f2-d501d1651506", + "code" : "age", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeIsList" : false, + "defaultValue" : null, + "valueCalculation" : null, + "order" : 2 + }, { + "id" : "b6b45882-3812-4686-bcd5-ad0a1c9b46ec", + "code" : "education", + "name" : "学历", + "description" : null, + "valueType" : "D25564292618908", + "valueTypeIsList" : false, + "defaultValue" : null, + "valueCalculation" : null, + "order" : 3 + } ] + } ] + }, { + "type" : "FOLDER", + "id" : "d48e8de8-1036-4b40-a16f-8ff0a4e46588", + "code" : "D25546624448897", + "name" : "学历", + "description" : null, + "order" : null, + "children" : [ { + "type" : "ENUM", + "id" : "d4040459-25c7-4e9a-a64e-81981f1ca51d", + "code" : "D25564292618908", + "name" : "学历", + "description" : null, + "order" : null, + "children" : null, + "status" : "SKETCH", + "version" : 1, + "items" : [ { + "id" : "0077a9fc-0089-425f-b210-3d2d9562d78a", + "value" : "05", + "title" : "专科/中专", + "description" : null, + "order" : 4, + "config" : null + }, { + "id" : "0670b3f9-1bc8-41b9-aa83-3cd84a2a86c4", + "value" : "08", + "title" : "博士研究生", + "description" : null, + "order" : 7, + "config" : null + }, { + "id" : "27a3efb1-b0c9-40db-9190-fac5749fcf43", + "value" : "07", + "title" : "硕士研究生", + "description" : null, + "order" : 6, + "config" : null + }, { + "id" : "4040d009-f2eb-4c8d-83fe-36498b5bae15", + "value" : "04", + "title" : "高中", + "description" : null, + "order" : 3, + "config" : null + }, { + "id" : "42febcda-ecc4-4285-823c-0c9fed119ecb", + "value" : "03", + "title" : "初中", + "description" : null, + "order" : 2, + "config" : null + }, { + "id" : "6b0f746e-7c35-430a-ad21-0b049d1da729", + "value" : "06", + "title" : "本科", + "description" : null, + "order" : 5, + "config" : null + }, { + "id" : "c4836a75-c9bb-4cbe-a462-4ade0eac0dbe", + "value" : "02", + "title" : "小学", + "description" : null, + "order" : 1, + "config" : null + }, { + "id" : "c9881266-0f49-483e-89e5-e21e250829a2", + "value" : "01", + "title" : "文盲", + "description" : null, + "order" : 0, + "config" : null + } ] + } ] + } ] +} \ No newline at end of file diff --git a/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/引擎内置示例.json b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/引擎内置示例.json new file mode 100644 index 00000000..07d9aa10 --- /dev/null +++ b/io.sc.engine.rule.server/src/main/resources/io/sc/engine/rule/server/sample/引擎内置示例.json @@ -0,0 +1,5793 @@ +{ + "type" : "FOLDER", + "id" : "bfa82ebb-c9dc-40c5-858a-6638e15268b8", + "code" : "F1576052960682", + "name" : "引擎内置示例", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "5f5ca687-cee2-49ba-8c40-ffb4465336f8", + "code" : "M1580961225786", + "name" : "评分卡配置", + "description" : null, + "order" : null, + "children" : [ { + "type" : "SCORE_CARD", + "id" : "0dd3f52b-a4a9-480b-972f-4b08c953e62a", + "code" : "M1580961275651", + "name" : "零售评级评分卡", + "description" : null, + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "SCORE_CARD", + "id" : "d7e8d1b0-5ad9-456e-bf7a-c9aabb28b22b", + "name" : "零售评级评分卡", + "description" : null, + "order" : 1, + "lastTestDate" : "2021-08-05 17:29:58", + "testResult" : "UN_PASSED", + "parameters" : [ { + "id" : "188ca99f-8dd2-4d48-9f93-0edb768c05e3", + "code" : "V1580961307027", + "inputValue" : "01", + "expectValue" : "-2", + "resultValue" : "-2", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "28d42330-7d6e-4660-912c-66d369cd6b20", + "code" : "V1580961482000", + "inputValue" : "35", + "expectValue" : "3", + "resultValue" : "3", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "cadaed68-d2ea-46a6-88c9-c3550c9ee4b9", + "code" : "_SCORE_", + "inputValue" : "", + "expectValue" : "12", + "resultValue" : "11", + "testResult" : "UN_PASSED", + "skipCheck" : false + }, { + "id" : "cc05f0ae-569a-4786-b0f8-97af75ee4682", + "code" : "V1628151636896", + "inputValue" : "大学", + "expectValue" : "11", + "resultValue" : "10", + "testResult" : "UN_PASSED", + "skipCheck" : false + }, { + "id" : "d6a790fd-4467-4c72-841b-2118787116ea", + "code" : "I1628151532943", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "scoreCardVars" : [ { + "type" : "OPTION", + "id" : "af1407ee-9b70-4fa4-8876-7315af8c5e38", + "code" : "V1580961307027", + "name" : "性别", + "order" : 1, + "option" : "[{\"uuid\":\"40be2924-8fbb-4641-abee-74c4a0cf1c93\",\"value\":null,\"title\":null,\"score\":0},{\"uuid\":\"ee9225be-81f5-4226-b211-4e8b08fd43a3\",\"value\":\"01\",\"title\":\"男\",\"score\":-2},{\"uuid\":\"0900a315-9db8-406d-9b0a-23cc97e9dab8\",\"value\":\"02\",\"title\":\"女\",\"score\":7},{\"uuid\":\"7a7bf36b-6753-4d30-b9e9-4f1dd94c53f9\",\"value\":\"09\",\"title\":\"未知\",\"score\":0}]" + }, { + "type" : "NUMBER_RANGE", + "id" : "f5e4f320-0722-4054-b554-4a2c551909cf", + "code" : "V1580961482000", + "name" : "年龄", + "order" : 2, + "numberRange" : "[{\"uuid\":\"25239947-862c-49a3-97fb-9edd490b9cd7\",\"minIncluded\":false,\"min\":null,\"max\":null,\"maxIncluded\":false,\"value\":0,\"_cellSelection_151\":[0]},{\"uuid\":\"acdb4107-96c3-4767-85be-c88f5d08eda9\",\"minIncluded\":false,\"min\":null,\"max\":\"18\",\"maxIncluded\":false,\"value\":1,\"_cellSelection_151\":[0]},{\"uuid\":\"4d29dd7b-bacd-4fe8-931f-2561fd60d6e3\",\"minIncluded\":true,\"min\":\"18\",\"max\":\"30\",\"maxIncluded\":false,\"value\":2,\"_cellSelection_151\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"7ff60259-b2b3-4e9c-a316-5899a95c1388\",\"minIncluded\":true,\"min\":\"30\",\"max\":\"45\",\"maxIncluded\":false,\"value\":3,\"_cellSelection_151\":[0]},{\"uuid\":\"814e0cbd-4128-40c3-8a7f-290f2f812ef2\",\"minIncluded\":true,\"min\":\"45\",\"max\":\"60\",\"maxIncluded\":false,\"value\":4,\"_cellSelection_151\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"07581647-67bd-4266-a7b1-5f4b57fe6cda\",\"minIncluded\":true,\"min\":\"60\",\"max\":null,\"maxIncluded\":false,\"value\":\"2\",\"_cellSelection_151\":[16]}]" + }, { + "type" : "INDICATOR_OPTION", + "id" : "df08142b-765b-4a46-b4d8-b18c8d7d4e8f", + "code" : "V1628151636896", + "name" : "学历", + "order" : 3, + "libCode" : "L1628151516888", + "libVersion" : 1, + "indicatorCode" : "I1628151532943", + "option" : "[{\"uuid\":\"1b7bf1d0-3451-4a12-8cbd-59e115a8b0b1\",\"value\":null,\"title\":null,\"score\":0,\"_cellSelection_6\":[0]},{\"uuid\":\"4b006eb2-81d5-4fd4-b139-18c3b78be0ca\",\"value\":\"小学\",\"title\":\"小学\",\"score\":\"0\",\"_cellSelection_6\":[0]},{\"uuid\":\"986e3aa3-5c14-438a-9a8a-cdde5a8f8dd3\",\"value\":\"大学\",\"title\":\"大学\",\"score\":\"10\",\"_cellSelection_6\":[0],\"_embeddedComponents_isc_OptionItem_0_option\":null},{\"uuid\":\"4271192b-a813-4545-90bc-9d15b8dc7e7a\",\"value\":\"未知\",\"title\":\"未知\",\"score\":0,\"_cellSelection_6\":[1]}]" + } ] + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "7da8c704-79ab-4a21-9fe9-9b79c69e01b6", + "code" : "F1576052960682", + "name" : "模型配置", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "05e75548-cc4f-4c6a-8560-6a5d6605794b", + "code" : "M1628272717741", + "name" : "参数验证器", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "013c7b96-ebc9-4342-90f5-5398a857be57", + "code" : "M1628272735494", + "name" : "参数验证器", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "552d9ddc-4716-4be4-aaca-b7383a929907", + "code" : "M1628272735494", + "name" : "参数验证器", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "16f96110-bad2-4e08-b201-0afd4212f13d", + "code" : "P1628272756461", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : [ { + "type" : "NOT_EMPTY", + "id" : "d7ef5917-a7d4-4688-bd6a-c240292096d3", + "description" : null, + "order" : 1, + "tip" : "Not Be Empty" + }, { + "type" : "EMPTY", + "id" : "2644a6a1-2daa-4136-92a2-edb9c183b507", + "description" : null, + "order" : 2, + "tip" : "must be emtpy" + }, { + "type" : "INTEGER_RANGE", + "id" : "29a1d73f-62bf-4a46-a8ae-6a04ac243308", + "description" : null, + "order" : 3, + "tip" : "must be (0,100]", + "minValue" : "0", + "maxValue" : "100", + "minInclude" : false, + "maxInclude" : true + } ], + "processors" : null + }, { + "type" : "IN", + "id" : "86bbfc84-eb52-40b7-8991-fb340ee97ff0", + "code" : "P1628273346227", + "name" : "出生日期", + "description" : null, + "valueType" : "java.util.Date", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : [ { + "type" : "DATE_RANGE", + "id" : "95806767-f544-463c-86fb-bc637011ac05", + "description" : null, + "order" : 1, + "tip" : "日期必须在[1998-10-05,2000-10-05]", + "minValue" : "1998-10-05", + "maxValue" : "2000-10-05", + "minInclude" : true, + "maxInclude" : true + } ], + "processors" : null + }, { + "type" : "IN", + "id" : "684a7d19-2eb0-4ff6-95f8-66faff8fdc02", + "code" : "P1628274134819", + "name" : "邮箱地址", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : [ { + "type" : "EMAIL", + "id" : "07e4399e-f531-48ad-a804-4d7a30f07205", + "description" : null, + "order" : 1, + "tip" : "It's Not a email address" + } ], + "processors" : null + }, { + "type" : "IN", + "id" : "c958a328-d1e7-4f68-a9e1-85db6a05b131", + "code" : "P1628274271623", + "name" : "保留", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : [ { + "type" : "EMPTY", + "id" : "32cba63a-7343-4259-99e2-9514c059779f", + "description" : null, + "order" : 1, + "tip" : "保留给以后使用,目前只能传入空值" + } ], + "processors" : null + }, { + "type" : "IN", + "id" : "ba28f9d0-a9b6-4fc2-b5a5-7633329f321c", + "code" : "P1628274806208", + "name" : "电话号码", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 5, + "validators" : [ { + "type" : "PATTERN", + "id" : "bf52bd3a-a26b-40b3-a270-6a393cd06817", + "description" : null, + "order" : 1, + "tip" : "", + "pattern" : "\\d" + } ], + "processors" : null + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "211a9d5d-fb26-4e3b-8963-b21f6853f2aa", + "code" : "F1576052960682", + "name" : "小数精度", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "21ecfe95-f0ca-4fd8-94af-e90d877e82d9", + "code" : "M175896736139605", + "name" : "小数精度", + "description" : "该示例演示小数精度", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "b1ce7a73-77cc-4f4e-830b-8b74fcec23bb", + "name" : "小数精度", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:19", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "924cab63-d96c-43be-9407-10105b1850bc", + "code" : "P175918369438639", + "inputValue" : "3", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "d202f3d5-1fae-4122-8159-eec556b1ab39", + "code" : "P176196956278693", + "inputValue" : null, + "expectValue" : "0.333333", + "resultValue" : "0.333333", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "e3c52ea0-ff0b-40f0-af50-b4f2e91105ab", + "code" : "P175913472167434", + "inputValue" : "1", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "f7f3a641-940b-4801-97c3-7731d1815da7", + "code" : "P175928896664498", + "inputValue" : null, + "expectValue" : "0.333333", + "resultValue" : "0.333333", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "60b57cd8-ec33-4b4a-b307-878da44599c8", + "code" : "M175896736139605", + "name" : "小数精度", + "description" : "该示例演示小数精度", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "3d8c94de-71cf-4e8a-b308-5fdec87bca1c", + "code" : "P175913472167434", + "name" : "分子", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "d72c0750-8d1a-428c-9dcb-d9dae25c9c0d", + "code" : "P175918369438639", + "name" : "分母", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "INTERMEDIATE", + "id" : "7e199a89-e09e-48fa-91d6-b7263b4d7a23", + "code" : "P176196956278693", + "name" : "中间值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "7706e996-af7b-42d4-b6cf-84d8c4b16c9f", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P175913472167434}/${P175918369438639}" + } ] + }, { + "type" : "OUT", + "id" : "4085a29b-ac96-4cdd-9c0b-649c892fc7d4", + "code" : "P175928896664498", + "name" : "结果值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "9a6628e2-2940-4d23-9c0e-9069a7e74070", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P176196956278693}*1" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "59517273-335d-42b3-870e-5952d7183203", + "code" : "F1576052960687", + "name" : "参数处理器", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "361fe697-373b-4f73-a81f-8aad1806856a", + "code" : "M1580960064437", + "name" : "数值分段", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "485e85fd-1153-4823-a3c3-f216a54f09a6", + "code" : "M1580960080186", + "name" : "数值分段函数", + "description" : null, + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "457e68c5-447a-49f8-a565-3bb50f32ba21", + "name" : "数值分段函数-输入空值", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:21", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "41c98823-03a9-43f7-9e7c-44616fe37ded", + "code" : "P1580960109764", + "inputValue" : "", + "expectValue" : "0", + "resultValue" : "0.00000000", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "e274dbea-04d9-4116-a51e-e5753bce285f", + "code" : "P1580960099347", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "1d95e36d-3a55-41b5-99ca-18bc25ec7b5f", + "name" : "数值分段函数-输入正常值", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:01", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "6a442948-0b99-4652-9fd8-d780ff0a6437", + "code" : "P1580960099347", + "inputValue" : "40", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "ecfe9c24-501d-40b3-8417-7c3ae6febb02", + "code" : "P1580960109764", + "inputValue" : "", + "expectValue" : "4", + "resultValue" : "4.00000000", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "c513a12a-d355-47ec-a90b-7832f5507198", + "code" : "M1580960080186", + "name" : "数值分段函数", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "4cd1cb6e-f7f0-43cd-82e5-67eeb33f9e99", + "code" : "P1580960099347", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "879e5733-c416-4c48-ab87-1bf8a2859083", + "code" : "P1580960109764", + "name" : "年龄得分", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "NUMBER_RANGE", + "id" : "cd8efd9a-829b-4246-bc57-71bddbdda9e4", + "description" : null, + "order" : 1, + "enable" : true, + "numberRangeVar" : "${P1580960099347}", + "numberRange" : "[{\"uuid\":\"6cca809a-056c-4d0b-9725-64faebe49f89\",\"minIncluded\":false,\"min\":null,\"max\":null,\"maxIncluded\":false,\"value\":0,\"_cellSelection_134\":[0]},{\"uuid\":\"7f10addf-15d8-4438-9e5d-7a8f7f42e2fc\",\"minIncluded\":false,\"min\":null,\"max\":\"18\",\"maxIncluded\":false,\"value\":1,\"_cellSelection_134\":[0]},{\"uuid\":\"c9d33ff9-61c7-4ecb-896f-1fb3f9d45619\",\"minIncluded\":true,\"min\":\"18\",\"max\":\"30\",\"maxIncluded\":false,\"value\":2,\"_cellSelection_134\":[0]},{\"uuid\":\"fc4760a5-e3a8-40f9-9032-f77d748b252d\",\"minIncluded\":true,\"min\":\"30\",\"max\":\"40\",\"maxIncluded\":false,\"value\":3,\"_cellSelection_134\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"7e513a10-4a7b-422d-b937-054c3b34384f\",\"minIncluded\":true,\"min\":\"40\",\"max\":\"60\",\"maxIncluded\":false,\"value\":4,\"_cellSelection_134\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"3da54a39-b735-45bb-90c8-f3c2db6e21ea\",\"minIncluded\":true,\"min\":\"60\",\"max\":null,\"maxIncluded\":false,\"value\":\"2\",\"_cellSelection_134\":[16]}]" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "52a4842b-549a-4349-bd62-c88c92456655", + "code" : "F1576052960691", + "name" : "算数运算", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "19f37e8e-faaa-4c0d-abd9-c5a7d3553f3b", + "code" : "M1580894389703", + "name" : "算数运算(数值格式化)", + "description" : null, + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "03c4deba-dc81-4d15-9706-ba01302f6227", + "name" : "算数运算(数值格式化)", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:14", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "7ca4794f-1acc-434e-a293-550d825b35a0", + "code" : "P1580911500691", + "inputValue" : "0.11000", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "7e7e050f-cdaf-47ca-99bc-e63f746382a2", + "code" : "P1580957447581", + "inputValue" : "", + "expectValue" : "0.18", + "resultValue" : "0.18", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "892555fc-fe0b-41d0-b8b8-dc131f64d442", + "code" : "P1580894420117", + "inputValue" : "0.13000000", + "expectValue" : "", + "resultValue" : "", + "testResult" : null, + "skipCheck" : false + }, { + "id" : "91c465df-136a-44bc-9c50-bd6819ab8255", + "code" : "P1580957752655", + "inputValue" : "", + "expectValue" : "18%", + "resultValue" : "18%", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "c2fe431a-5d56-431c-857c-08fac40516e6", + "code" : "P1580958332755", + "inputValue" : "", + "expectValue" : "资产负债率增长率: 0.1818181818\n资产负债率增长率(百分比): 18% ", + "resultValue" : "资产负债率增长率: 0.1818181818\n资产负债率增长率(百分比): 18% ", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "db8a49a1-1fd8-48c3-95ec-5742ad4fc972", + "code" : "P1580957367959", + "inputValue" : "", + "expectValue" : "0.18", + "resultValue" : "0.18", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f43f4659-6a69-4c26-9469-f9bbd58f3fdf", + "code" : "P1580957300193", + "inputValue" : "", + "expectValue" : "0.18181818", + "resultValue" : "0.18181818", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "d2e33d1a-d5fb-4009-941e-f6ecee9122b8", + "code" : "M1580894389703", + "name" : "算数运算(数值格式化)", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "96c231cd-e378-44fe-953c-43119c03f29b", + "code" : "P1580911500691", + "name" : "上期资产负债率", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 2, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "a61b4049-1d5f-45e7-9a53-e8ba46228650", + "code" : "P1580894420117", + "name" : "本期资产负债率", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 2, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "43ba72c6-102f-4df3-ad1f-e8d80004cf2a", + "code" : "P1580957300193", + "name" : "资产负债率增长率", + "description" : "数值计算", + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "a7729ce0-1b1b-4955-b2c6-472c949bdd90", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P1580894420117}==null", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "WHEN_THEN", + "id" : "593f1091-23df-45c2-85e3-1e0bc95619af", + "description" : null, + "order" : 2, + "enable" : true, + "when" : "${P1580911500691}==null", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "WHEN_THEN", + "id" : "3a490d77-4aea-433d-9005-de027bd54541", + "description" : null, + "order" : 3, + "enable" : true, + "when" : "${P1580911500691}==0", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "ARITHMETIC", + "id" : "1dc03b83-7ee1-4798-8fd6-1f79431f05f2", + "description" : null, + "order" : 4, + "enable" : true, + "arithmetic" : "(${P1580894420117}-${P1580911500691})/${P1580911500691}" + } ] + }, { + "type" : "OUT", + "id" : "e6ca51c7-78c3-4e1c-a529-b3f995273331", + "code" : "P1580957367959", + "name" : "资产负债率增长率(保留两位小数)", + "description" : "保留两位小数", + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 2, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "b6e7db88-0bd0-46fc-84b5-a2286c1a1f52", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P1580957300193}" + } ] + }, { + "type" : "OUT", + "id" : "d90eb341-066c-4d86-9f16-143d1c10ae22", + "code" : "P1580957447581", + "name" : "资产负债率增长率(保留两位小数)-字符串", + "description" : "结果值为字符串,同时通过格式化函数对数字进行格式化", + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 5, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "4107db17-fd5c-4aa3-a00e-7d05398d5440", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "`decimal2( ${P1580957300193} )`" + } ] + }, { + "type" : "OUT", + "id" : "13cd1cc8-ee6a-4e59-a67d-a3130ec3dee9", + "code" : "P1580957752655", + "name" : "资产负债率增长率-百分比", + "description" : "通过格式化函数格式化数字为百分比", + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 6, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "7548322f-3849-49df-9e33-8c78c9c29715", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "`percent( ${P1580957300193} )`" + } ] + }, { + "type" : "OUT", + "id" : "dde2951c-7aac-4359-8378-6ae0cf9f542b", + "code" : "P1580958332755", + "name" : "资产负债率增长率-提示信息", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 7, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "a158ebf1-4068-4bd7-8ffb-a0b69ef1e26c", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "资产负债率增长率: ${P1580957300193}\n资产负债率增长率(百分比): `percent( ${P1580957300193} )` " + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "54e2536b-2967-462a-8d33-7a314caccf24", + "code" : "M1628257491390", + "name" : "WhenThen操作", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "4cd942e5-9eba-43d9-8cb6-50ebe5b3acb3", + "code" : "M1628257507851", + "name" : "WhenThen操作", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "6b387548-47be-435c-80ac-0e8616495a48", + "code" : "M1628257507851", + "name" : "WhenThen操作", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "d655a67f-d01a-4572-96ac-e05b051433b8", + "code" : "P1628257541655", + "name" : "得分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "38d25846-55a0-4181-b1ea-d6e125486a83", + "code" : "P1628257566500", + "name" : "是否及格", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "af40d790-45be-4e00-b7e1-d30387c756d4", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P1628257541655}>=60", + "then" : "true", + "isWhenThenShorted" : true + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "7059f115-552f-4de0-a75e-9edb318d99b4", + "code" : "M1628243389282", + "name" : "PMML", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "ab09d8f2-7ee7-41c5-aca0-52ae59f0a847", + "code" : "M1628243399423", + "name" : "反洗钱模型", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "4f824ade-80f4-4628-bc82-9a7f8bf045b8", + "code" : "M1628243399423", + "name" : "反洗钱模型", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "fadc87a0-4df9-45df-97a6-23df53365568", + "code" : "Balance", + "name" : "Balance", + "description" : "Balance", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "d336be4c-587f-45e4-a232-a678bcf3e472", + "code" : "COUNT24hour", + "name" : "COUNT24hour", + "description" : "COUNT24hour", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "7beea56b-7c8a-4367-bd3f-57777f313ff0", + "code" : "COUNT5day", + "name" : "COUNT5day", + "description" : "COUNT5day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "0bccedab-b703-4fa1-826b-0c12858d079d", + "code" : "COUNT10day", + "name" : "COUNT10day", + "description" : "COUNT10day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "36966ebd-de53-4a46-bf1b-49ffdf78df1c", + "code" : "COUNT30day", + "name" : "COUNT30day", + "description" : "COUNT30day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 5, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "675528e1-8205-457b-8f6b-fac2cfa4e508", + "code" : "COUNT90day", + "name" : "COUNT90day", + "description" : "COUNT90day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 6, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "a9f971b3-d496-409e-b262-ab019b7daca0", + "code" : "COUNT180day", + "name" : "COUNT180day", + "description" : "COUNT180day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 7, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "5499e713-1569-4373-8e49-6c9f3dfcf4da", + "code" : "SUM24hour", + "name" : "SUM24hour", + "description" : "SUM24hour", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 8, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "82b3aaad-f5f3-461f-86b3-4edcbaeb854b", + "code" : "SUM5day", + "name" : "SUM5day", + "description" : "SUM5day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 9, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "abf3d539-4385-4729-bd5c-f44d982d14f2", + "code" : "SUM30day", + "name" : "SUM30day", + "description" : "SUM30day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 10, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "463c2720-b2ec-4c0b-b42b-63240a420554", + "code" : "SUM90day", + "name" : "SUM90day", + "description" : "SUM90day", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 11, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "ab96c025-4e83-4a66-be92-e18372a686ac", + "code" : "Risk_code", + "name" : "Risk_code", + "description" : "Risk_code", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 12, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "bc13e51a-0088-475f-9351-0cb341d31b9c", + "code" : "Occupation", + "name" : "Occupation", + "description" : "Occupation", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 13, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "a36986f2-6194-471f-a668-a60d4656f987", + "code" : "veri_mode", + "name" : "veri_mode", + "description" : "veri_mode", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 14, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "c309b88d-fb58-43b8-aa46-06b6e15bedfb", + "code" : "age", + "name" : "age", + "description" : "age", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 15, + "validators" : null, + "processors" : null + }, { + "type" : "INTERMEDIATE", + "id" : "e905cdbb-fa99-4a49-ac44-9f0d15b6e232", + "code" : "P1628243805172", + "name" : "反洗钱模型_PMML_中间值", + "description" : null, + "valueType" : "Map", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 16, + "validators" : null, + "processors" : [ { + "type" : "PMML", + "id" : "8150fc66-0799-453b-b7f3-e2d466cef144", + "description" : null, + "order" : 1, + "enable" : true, + "pmml" : "\n\n\t\n\t\t\n\t\t2019-05-17T08:22:15Z\n\t\n\t\n\t\tPMMLPipeline(steps=[('classifier', XGBClassifier(base_score=0.5, booster='gbtree', colsample_bylevel=1,\n colsample_bytree=1, gamma=0.5, learning_rate=0.6, max_delta_step=0,\n max_depth=3, min_child_weight=80, missing=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t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n" + } ] + }, { + "type" : "OUT", + "id" : "9fa125cd-5f5b-4ffe-9e53-bfeadc5bc84a", + "code" : "probability_0_0_", + "name" : "probability(0_0)", + "description" : "probability(0.0)", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 17, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "bdf6c6f8-920c-46e7-8df3-7bba70313307", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P1628243805172}['probability(0.0)']" + } ] + }, { + "type" : "OUT", + "id" : "db04f1d0-9e87-4eda-94a8-485edb1243b5", + "code" : "probability_1_0_", + "name" : "probability(1_0)", + "description" : "probability(1.0)", + "valueType" : "java.lang.Float", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 18, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "0ef067c0-3e59-4126-ad0c-c6c3490731a5", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P1628243805172}['probability(1.0)']" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "8736fcb7-3142-41c7-b070-f6acfc94875f", + "code" : "M1628256988688", + "name" : "三元操作", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "38caeee4-edeb-48ca-8558-c629336f90e1", + "code" : "M1628257024598", + "name" : "三元操作", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "514f7743-6317-4f00-a095-ab5f3572fe3c", + "code" : "M1628257024598", + "name" : "三元操作", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "b3b406ca-1433-492c-935d-03e842ab4944", + "code" : "P1628257063367", + "name" : "得分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "8789864b-3e7e-42a2-80e6-160eb0d25453", + "code" : "P1628257078232", + "name" : "是否及格", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "TERNARY", + "id" : "5751eb61-f58e-498b-b8ac-581e2b6742c7", + "description" : null, + "order" : 1, + "enable" : true, + "ternaryCondition" : "${P1628257063367}>=60", + "ternaryTrue" : "及格", + "ternaryFalse" : "不及格" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "b75e6388-5f00-4f1d-8563-fb188357ab55", + "code" : "M1580960672318", + "name" : "条件分段", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "21479420-0672-43c6-a1b4-8c6962ee9c16", + "code" : "M1580960694329", + "name" : "条件分段函数", + "description" : null, + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "4b94aa58-83d0-466f-98ab-c25ae02de27f", + "name" : "条件分段函数-空输入值", + "description" : "年龄为空值,满足<10", + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:02", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "1832c6c3-7b15-4fc4-9fd9-b16a45432ef5", + "code" : "age", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "65623d53-28cd-4210-b898-4f64fb3cd30e", + "code" : "class", + "inputValue" : "", + "expectValue" : "少儿班", + "resultValue" : "少儿班", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f375df89-ea0e-4fd9-9052-5f85f387156f", + "code" : "sex", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "21dcac86-a926-4fdf-9a89-c7463f84506f", + "name" : "条件分段函数-正产输入值", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:02", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "1ffb0572-f125-4be2-98ce-e0d3844afa79", + "code" : "class", + "inputValue" : "", + "expectValue" : "青少年(女)", + "resultValue" : "青少年(女)", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "4e7c24f7-9fa0-46c8-8a38-e11fe0a1cb54", + "code" : "sex", + "inputValue" : "女", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "ffd52d8c-bc6e-48af-85b6-9cb118f7f9a3", + "code" : "age", + "inputValue" : "15", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "e97765aa-0bd4-47ab-8986-12af0dd2a064", + "code" : "M1580960694329", + "name" : "条件分段函数", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "52609f95-2983-4d91-8a1a-d30af43a1ea0", + "code" : "age", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "eedbce4d-13d5-410c-96d9-523beee7f099", + "code" : "sex", + "name" : "性别", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "d4d04a07-2820-4a99-aa52-32bd38c13447", + "code" : "class", + "name" : "分配的班级", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "CONDITION_RANGE", + "id" : "c4138bd2-030b-4b83-aa31-9d4e568acb73", + "description" : null, + "order" : 1, + "enable" : true, + "conditionRange" : "[{\"uuid\":\"1d29003e-22b1-4b35-b31c-2eda814827b3\",\"condition\":\"${age}<=10\",\"value\":\"少儿班\",\"_cellSelection_141\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null},{\"uuid\":\"96c8d64b-8768-4e37-bb3b-4d8b6368e7a8\",\"condition\":\"${age}>10 && ${age}<18 && ${sex}=='男'\",\"value\":\"青少年(男)\",\"_cellSelection_141\":[0]},{\"uuid\":\"26991ffd-478c-4cfc-a406-3ee07c8dda31\",\"condition\":\"${age}>10 && ${age}<18 && ${sex}=='女'\",\"value\":\"青少年(女)\",\"_cellSelection_141\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null},{\"uuid\":\"396f73aa-d064-4c79-ae44-5bedae29ba8e\",\"condition\":\"${age}>=18\",\"value\":\"成年班\",\"_cellSelection_141\":[2],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null}]" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "beb8dbb0-b24f-4c3b-a3c5-c69cd8353ca9", + "code" : "M1628059622916", + "name" : "SQL赋值", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "2d5c8fbe-2887-4290-9ac0-5a02f7343f41", + "code" : "M1628059655738", + "name" : "参数值来自于SQL查询结果", + "description" : "执行数据 SQL语句,并将查询结果的值赋予模型参数", + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "f5039488-eb38-4b4e-a1ed-958445f17156", + "name" : "参数值来自于SQL查询结果测试", + "description" : null, + "order" : 1, + "lastTestDate" : "2021-08-04 14:53:40", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "16454e8f-7055-4895-911a-58feccc1504d", + "code" : "P1628059705829", + "inputValue" : "", + "expectValue" : "系统管理员", + "resultValue" : "系统管理员", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "a6317e92-8a02-483e-8cd8-fe4d63193611", + "code" : "P1628059679153", + "inputValue" : "admin", + "expectValue" : "", + "resultValue" : "", + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "3e8f6af9-0054-445c-b5fd-d7fa0f6982cd", + "code" : "M1628059655738", + "name" : "参数值来自于SQL查询结果", + "description" : "执行数据 SQL语句,并将查询结果的值赋予模型参数", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "a1f98144-5d9a-4719-aab4-2f1f8a50a106", + "code" : "P1628059679153", + "name" : "用户登录名", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "ffe5b8d6-fd53-45b5-aacf-f83d9b977449", + "code" : "P1628059705829", + "name" : "用户所属的默认角色名", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "SQL", + "id" : "4012c5ff-005b-409e-ba61-a7ab6eea56d4", + "description" : null, + "order" : 1, + "enable" : true, + "sqlDatasourceName" : null, + "sql" : "select FD_NAME,FD_ID from FR_AA_ROLE where FD_ID=(\n\tselect FD_DEFAULT_ROLE_ID from FR_AA_USER \n\twhere FD_LOGINNAME='${P1628059679153}'\n)", + "sqlParameterValues" : "[{\"uuid\":\"9d458a2a-014c-4d3c-a234-1ed4c957287d\",\"name\":\"${P1628059679153}\",\"_cellSelection_9\":[2],\"value\":\"admin\"}]", + "sqlFieldMapping" : "[{\"uuid\":\"06d52650-af2b-4cc2-a85c-4e33204736fc\",\"field\":\"FD_NAME\",\"_cellSelection_72\":[0],\"_embeddedComponents_isc_SqlFieldMappingItem_0_sqlFieldMapping\":null,\"parameter\":\"${P1628059705829}\"},{\"uuid\":\"f660502b-9a9b-4f04-9a45-a147e58c34c4\",\"field\":\"FD_ID\",\"_cellSelection_72\":[2],\"parameter\":\"${P1628059679153}\"}]" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "c06656a7-a3f1-4dae-97a9-b29141259444", + "code" : "F1576052960688", + "name" : "选项", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "3db3e993-9ec8-4e41-b828-441a00448d56", + "code" : "F1576052960688", + "name" : "数值输入值选项", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "09d02151-371e-4cd8-8528-1eedef3aebe7", + "code" : "M47392416243804", + "name" : "数值输入值选项", + "description" : "该示例演示输入选项的输入参数为数值类型", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "8cdf5732-5101-48b6-bc20-dfe282177ffc", + "name" : "数值输入值选项-1", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:15", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "72954986-79ec-458e-8c64-bd8858bfbf72", + "code" : "P47790425182087", + "inputValue" : "0", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "e50bcfc2-47de-4936-808c-d277fd563358", + "code" : "P47848779752919", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "21742e50-7b1f-437b-9143-be6ddf12bfa7", + "name" : "数值输入值选项-2", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:15", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "33c7bba0-2888-4550-9526-27255aca1b65", + "code" : "P47790425182087", + "inputValue" : "3", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "ff6df267-660d-45d6-964f-47919227e9b9", + "code" : "P47848779752919", + "inputValue" : null, + "expectValue" : "12", + "resultValue" : "12", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "6f272f74-3ea7-421a-8c4e-6d4256afe8f9", + "code" : "M47392416243804", + "name" : "数值输入值选项", + "description" : "该示例演示输入选项的输入参数为数值类型", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN_OPTION", + "id" : "9784db18-744f-4014-8f8a-947e5dd681a9", + "code" : "P47790425182087", + "name" : "教育程度", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null, + "options" : [ { + "id" : "70c79653-a971-4a23-9227-b8e034610b75", + "inputValue" : "0", + "value" : "0", + "title" : "其他", + "description" : null, + "order" : 1, + "config" : null + }, { + "id" : "f90563ab-7974-4d44-99fa-4f45e3482c9a", + "inputValue" : "1", + "value" : "4", + "title" : "高中及以下(含中专、技校)", + "description" : null, + "order" : 2, + "config" : null + }, { + "id" : "3e945c49-f848-46f2-9360-7d11d7927e7d", + "inputValue" : "2", + "value" : "8", + "title" : "大专", + "description" : null, + "order" : 3, + "config" : null + }, { + "id" : "ec4d9757-9d29-41d6-b2d4-d17221f4596e", + "inputValue" : "3", + "value" : "12", + "title" : "本科", + "description" : null, + "order" : 4, + "config" : null + }, { + "id" : "f59d02ce-c213-4d36-ab32-17c5f2ba754f", + "inputValue" : "4", + "value" : "16", + "title" : "硕士研究生", + "description" : null, + "order" : 5, + "config" : null + }, { + "id" : "33f84584-f98d-42e2-b03b-69a9a52eb10e", + "inputValue" : "5", + "value" : "22", + "title" : "博士研究生及以上", + "description" : null, + "order" : 6, + "config" : null + } ] + }, { + "type" : "OUT", + "id" : "c7ca6b57-d9ce-4803-a310-043e1fd1a057", + "code" : "P47848779752919", + "name" : "教育程度结果值", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "OPTION_VALUE", + "id" : "75452ce8-9882-41ae-a6da-d1306f3f643d", + "description" : null, + "order" : 1, + "enable" : true, + "optionCode" : "P47790425182087" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "9a0abc37-da61-4228-b1af-f9d845769a05", + "code" : "F1576052960688", + "name" : "字符串输入值选项", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "b93e7439-78f3-4a62-89c3-c12754ce0c6c", + "code" : "M245447106003378", + "name" : "字符串输入值选项", + "description" : "该示例演示输入选项的输入参数为字符串类型", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "8d318e4d-187a-4cd3-a140-095a9f9be110", + "name" : "字符串输入值选项", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:16", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "50dcf9c8-47b6-48c1-b5d9-3f173c841b6e", + "code" : "P245481435785772", + "inputValue" : "大专", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "ddb7e7d3-77b3-4036-98b6-42fcbe60dd18", + "code" : "P245491490672886", + "inputValue" : null, + "expectValue" : "8", + "resultValue" : "8.000000", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "6fdc1896-498e-494f-baf6-d04d9002bf56", + "code" : "M245447106003378", + "name" : "字符串输入值选项", + "description" : "该示例演示输入选项的输入参数为字符串类型", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN_OPTION", + "id" : "924edb52-be7f-430a-b3dd-148e204ffe23", + "code" : "P245481435785772", + "name" : "教育程度", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null, + "options" : [ { + "id" : "579a49f8-ad06-4e9d-8c5e-862addd38d54", + "inputValue" : "其他", + "value" : "0", + "title" : "其他", + "description" : null, + "order" : 1, + "config" : null + }, { + "id" : "cefa23b6-5907-4439-96eb-269d2d9c9bb9", + "inputValue" : "高中及其以下(含中专、技校)", + "value" : "4", + "title" : "高中及其以下(含中专、技校)", + "description" : null, + "order" : 2, + "config" : null + }, { + "id" : "d4fd1186-3353-456b-9ae5-5efaeac02ab5", + "inputValue" : "大专", + "value" : "8", + "title" : "大专", + "description" : null, + "order" : 3, + "config" : null + }, { + "id" : "f312f86f-3c7f-44f7-bb91-d134f5e84bf5", + "inputValue" : "本科", + "value" : "12", + "title" : "本科", + "description" : null, + "order" : 4, + "config" : null + }, { + "id" : "70d4afeb-2d76-4df1-97f2-d00ca2e703e5", + "inputValue" : "硕士研究生", + "value" : "16", + "title" : "硕士研究生", + "description" : null, + "order" : 5, + "config" : null + }, { + "id" : "dd4060fc-bc0b-4ae2-8707-d8ea2a9cfdcc", + "inputValue" : "博士研究生及以上", + "value" : "22", + "title" : "博士研究生及以上", + "description" : null, + "order" : 6, + "config" : null + } ] + }, { + "type" : "OUT", + "id" : "dbd9a091-fd1b-4e7e-8494-b7fd57fa9785", + "code" : "P245491490672886", + "name" : "教育程度得分", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "OPTION_VALUE", + "id" : "befa5a32-4d6f-4f9e-b508-898103275470", + "description" : null, + "order" : 1, + "enable" : true, + "optionCode" : "P245481435785772" + } ] + } ] + } + } ], + "testCases" : null + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "c69d61f6-37a1-4453-846f-e6f916dc390e", + "code" : "F1576052960691", + "name" : "执行流", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "0146fa34-a401-4aed-86a0-2bd1223f9fc1", + "code" : "F1576052960691", + "name" : "子模型执行流", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "d7870c5b-15b5-425f-ac1a-64d6d3688f19", + "code" : "M244147668973564", + "name" : "子模型执行流", + "description" : "模型采用自上而下执行模式", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "9564c5cd-66ae-4950-9871-9c27e049992a", + "name" : "子模型执行流-执行子模型A", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:13", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "0d9d7c34-0d5b-4e72-86e6-05b3a09b4ce0", + "code" : "P1580971032770", + "inputValue" : "", + "expectValue" : "子模型A结果值", + "resultValue" : "子模型A结果值", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "478cc067-06a5-41b0-8a73-d95b9d9e2003", + "code" : "P1580971060983", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "4a8c1783-3a26-4e24-9620-13e050bea86f", + "code" : "P244238199696491", + "inputValue" : "", + "expectValue" : "", + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : true + }, { + "id" : "5056f588-f7a2-4609-a4f5-b95fd6b93a3f", + "code" : "P1580970996793", + "inputValue" : "", + "expectValue" : "A", + "resultValue" : "A", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "9ad5e0ce-d25d-4105-a3f8-24ebbb1dd52c", + "code" : "P1580971104455", + "inputValue" : "A", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "1b1639ef-ede9-40d2-b648-9be4fa6b9fb0", + "name" : "子模型执行流-执行子模型B", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:13", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "60994ff0-12a4-4431-8174-a3ca3cf5bd12", + "code" : "P1580971104455", + "inputValue" : "B", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "b17754c5-06e0-48c9-9fcc-7149a160e4ad", + "code" : "P244238199696491", + "inputValue" : "", + "expectValue" : "", + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : true + }, { + "id" : "b23c9346-e80d-4a9d-9525-78b207ce8e19", + "code" : "P1580970996793", + "inputValue" : "", + "expectValue" : "B", + "resultValue" : "B", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "cbdc84b7-2bd1-4158-9b9f-397c592ce1c6", + "code" : "P1580971060983", + "inputValue" : "", + "expectValue" : "子模型B结果值", + "resultValue" : "子模型B结果值", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "fb40acb8-d132-4e81-b508-2cd58e69cbf4", + "code" : "P1580971032770", + "inputValue" : "", + "expectValue" : "", + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "dd93b799-abf4-4381-980b-be474ea69d1f", + "code" : "M244147668973564", + "name" : "子模型执行流", + "description" : "模型采用自上而下执行模式", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "TOP_DOWN", + "children" : [ { + "id" : "0cfe96c7-a06d-4df6-9e5e-c86ec26925a7", + "code" : "M244279482770607", + "name" : "子模型A", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "OUT", + "id" : "542bd2e7-2ca4-4127-85df-d9591fea3147", + "code" : "P1580971032770", + "name" : "子模型A结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "7ec0c7fd-946d-4fe7-b58e-9031b8470ff6", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "子模型A结果值" + } ] + } ] + }, { + "id" : "fcb9e5c1-46ab-495d-983a-b8e5c3392021", + "code" : "M244389147179883", + "name" : "子模型B", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "OUT", + "id" : "a7faa904-a5a0-428e-b3fb-751f4fac9052", + "code" : "P1580971060983", + "name" : "子模型B结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "6c9a93dd-0893-497f-bb15-1985d403389d", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "子模型B结果值" + } ] + } ] + } ], + "parameters" : [ { + "type" : "IN", + "id" : "0cfa57cf-1a12-4a2c-8bd1-c41cd9f3c257", + "code" : "P1580971104455", + "name" : "执行子模型名称", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "ad765718-f8f2-4012-85da-38a7cb115098", + "code" : "P1580970996793", + "name" : "结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "ccec4322-543b-4854-9998-376bff406378", + "code" : "P244238199696491", + "name" : "执行流", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "173c3bc4-9279-42a5-ae0b-acbe9b2ce58f", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "62cfd921-94a9-47e8-baa5-82aadd0734f6", + "code" : "M1576583662618", + "name" : "输出调试信息执行流", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "3da8b003-aa6c-4e89-bb72-9343ee726b14", + "code" : "M1576583739172", + "name" : "输出调试信息执行流", + "description" : "通过在流程图的连线上设置命令实现输出调试信息", + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "c633cddc-ee68-4a78-925c-0715ac40827f", + "name" : "输出调试信息执行流", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:09", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "6e28c0ff-809d-4a81-b331-d0334695a619", + "code" : "P1576583852546", + "inputValue" : "2", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "e57b9d78-c868-4f61-92f6-fbc431de7446", + "code" : "P1576583815005", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "0240abb4-7ab2-4cd1-8923-21cc3e876b97", + "code" : "M1576583739172", + "name" : "输出调试信息执行流", + "description" : "通过在流程图的连线上设置命令实现输出调试信息", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "TOP_DOWN", + "children" : [ { + "id" : "1caaa0cd-e2d6-41b1-8a98-c2f9f336a91c", + "code" : "M1576583777131", + "name" : "子模型1", + "description" : null, + "enable" : true, + "order" : 1, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : null + }, { + "id" : "95483000-955c-4afc-9053-06f3d89f53da", + "code" : "M1576583784153", + "name" : "子模型2", + "description" : null, + "enable" : true, + "order" : 2, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : null + } ], + "parameters" : [ { + "type" : "IN", + "id" : "392463d7-d964-43d6-98ce-d63bec275ee4", + "code" : "P1576583852546", + "name" : "flag", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "660f8ea3-e9a8-4115-9938-d4a26cd24857", + "code" : "P1576583815005", + "name" : "执行结果", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "9210f148-6f32-4b35-95c3-521cc1077f15", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "aec01141-0eda-4b38-a820-597bb69098a5", + "code" : "F1576052960691", + "name" : "可配置模型执行流", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "3f2dcbef-d118-4129-b105-f3c8ed351321", + "code" : "M226963448372351", + "name" : "可配置模型执行流", + "description" : null, + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "bfd8b023-247a-4a29-ab08-b3dd59c2a6de", + "name" : "可配置模型执行流", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:10", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "78b705bd-7239-474e-9b2e-cff2d6bc4937", + "code" : "P229379730717407", + "inputValue" : "15", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "f4dea27a-16c3-4339-8e8b-94c25b05ceae", + "code" : "P229697080151398", + "inputValue" : "女", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "f6606d16-402e-4071-b8e5-d401f241410b", + "code" : "P226990053827290", + "inputValue" : "", + "expectValue" : "青少年(女)", + "resultValue" : "青少年(女)", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "209a38e6-d814-4718-81fd-0a7187b77df8", + "code" : "M226963448372351", + "name" : "可配置模型执行流", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "e7891af1-fdee-438a-b98c-912b6e04b556", + "code" : "P229379730717407", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "f1348a64-5d12-4cad-8927-4a8dc2ab85e2", + "code" : "P229697080151398", + "name" : "性别", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "da669363-b855-44fe-808f-59ed2a64ef84", + "code" : "P226990053827290", + "name" : "结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "7d4bb167-e024-45ee-9181-8eadd97d86e7", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "e3c38988-b84f-46c7-ad2b-bf5e54472f23", + "code" : "F1576052960691", + "name" : "冠军挑战者", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "3356f3a6-fe7c-4c81-9417-c360cddad675", + "code" : "M209100654988591", + "name" : "冠军挑战者", + "description" : "该示例演示冠军挑战者模型调用", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "e0db0f8e-2874-44ae-8fdb-0ab0f9d28d67", + "name" : "冠军挑战者", + "description" : "在多次执行测试用例时,时而通过,时而不通过,应为按 1:4 比例分配不同的模型进行计算", + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:12", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "25c9d849-36a8-46ba-88ce-ed4070c8d912", + "code" : "P_LIMIT", + "inputValue" : null, + "expectValue" : "500", + "resultValue" : "500.000000", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "82f62d0d-6983-43b8-bab0-189223d1d631", + "code" : "P_APPLY", + "inputValue" : "1000", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "b48caa07-4626-4f51-a788-876224d68ca9", + "code" : "P_AGE", + "inputValue" : "18", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "23875c64-905d-43ff-b848-56f1e2e5c166", + "code" : "M209100654988591", + "name" : "冠军挑战者", + "description" : "该示例演示冠军挑战者模型调用", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "df0a57b3-d9bc-4cc8-9c9a-36efc8840d5c", + "code" : "P_AGE", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "51a3c253-819b-4b61-8ede-9176c0abfc40", + "code" : "P_APPLY", + "name" : "申请额度", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "4d6421a0-a03b-446f-a3dd-f9990c221175", + "code" : "P_LIMIT", + "name" : "批准额度", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "effa2cd9-9d1e-489f-8d95-1f77596db88d", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + } ], + "testCases" : null + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "c78d53ff-7c93-457e-82db-d9cc50f732ae", + "code" : "F1576052960687", + "name" : "决策树", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "28312550-0962-4709-ab85-c661d8c7c231", + "code" : "M848744368791831", + "name" : "决策树-表达式和指令集", + "description" : "该示例用于演示同时存在表达式和执行指令", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "cd12c860-73bd-4305-b655-a38cf359b919", + "name" : "决策树-表达式和指令集-1", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:07", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "1b17f376-a8cf-48ae-86f0-04431ad5961a", + "code" : "P847413598333565", + "inputValue" : null, + "expectValue" : "个人汽车贷款", + "resultValue" : "个人汽车贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "8e848dd7-0799-40b6-a48e-ec7a9f8f8cec", + "code" : "P848777208083473", + "inputValue" : null, + "expectValue" : "您当前正在申请个人汽车贷款", + "resultValue" : "您当前正在申请个人汽车贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "bb803770-fcf6-47c1-99b4-84c66cf4afae", + "code" : "P847377861188482", + "inputValue" : "P001", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "2a60e09f-e4a8-4ca6-84ed-5d88baa86b1c", + "name" : "决策树-表达式和指令集-2", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:08", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "0e1ecf34-1ddc-4af2-8b89-535988586cea", + "code" : "P848777208083473", + "inputValue" : null, + "expectValue" : "您当前正在申请个人房屋贷款", + "resultValue" : "您当前正在申请个人房屋贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "31439f60-b601-4a16-b03e-58ebbcc2799e", + "code" : "P847413598333565", + "inputValue" : null, + "expectValue" : "个人房屋贷款", + "resultValue" : "个人房屋贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "3b55f1e8-5bd5-47b4-a358-afad98feb505", + "code" : "P847377861188482", + "inputValue" : "P002", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "8710f557-eb90-4c09-ba04-f2cdceb6d153", + "name" : "决策树-表达式和指令集-3", + "description" : null, + "order" : 3, + "lastTestDate" : "2020-02-07 15:33:08", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "1a22be12-d476-4813-bc94-843e3fcce249", + "code" : "P847413598333565", + "inputValue" : null, + "expectValue" : "其他贷款", + "resultValue" : "其他贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "35c85b45-5d25-44f5-9b11-fde00a6b1d4c", + "code" : "P848777208083473", + "inputValue" : null, + "expectValue" : "您当前正在申请其他贷款", + "resultValue" : "您当前正在申请其他贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "9d54f95e-6520-4c0e-846d-ec291de06ad8", + "code" : "P847377861188482", + "inputValue" : "P000", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "a3e76dc5-c11c-4c8a-b8ed-e0b776e09bd6", + "code" : "M848744368791831", + "name" : "决策树-表达式和指令集", + "description" : "该示例用于演示同时存在表达式和执行指令", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "79fd5106-f4d3-44b5-9525-f987423eeb56", + "code" : "P847377861188482", + "name" : "产品代码", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "24441b26-3f1b-4097-81e5-7a7e1d34917a", + "code" : "P847413598333565", + "name" : "产品代码结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "DECISION_TREE", + "id" : "27388fea-dd7e-472c-8acc-1eb1978154d6", + "description" : null, + "order" : 1, + "enable" : true, + "decisionTree" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + }, { + "type" : "OUT", + "id" : "29036b0a-5658-4e45-9885-679e230560a5", + "code" : "P848777208083473", + "name" : "产品代码结果值_提示", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : null + } ] + } + }, { + "type" : "MODEL", + "id" : "77d10e79-3224-4a65-b70a-8a8a33e5db64", + "code" : "M847357332514697", + "name" : "决策树-表达式", + "description" : "该示例用于演示返回值为表达式", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "042403cf-0094-4876-851b-ccdf0192f808", + "name" : "决策树-表达式-1", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:04", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "476dbf00-4b0f-4ed4-9923-3529f704eedc", + "code" : "P847413598333565", + "inputValue" : null, + "expectValue" : "个人汽车贷款", + "resultValue" : "个人汽车贷款", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "84658d7e-22c0-44a2-b8a0-a2c07349d523", + "code" : "P847377861188482", + "inputValue" : "P001", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "d9fa63f5-6ccb-412f-9186-940c6caced1d", + "name" : "决策树-表达式-2", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:22", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "8317f477-0b47-4b0c-b182-88b70799bb68", + "code" : "P847377861188482", + "inputValue" : "P002", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "be35e884-b1d3-479d-a445-22658a407f10", + "code" : "P847413598333565", + "inputValue" : null, + "expectValue" : "个人房屋贷款", + "resultValue" : "个人房屋贷款", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "0e3c8f1e-edb9-41d5-9bde-87e8260d79cd", + "code" : "M847357332514697", + "name" : "决策树-表达式", + "description" : "该示例用于演示返回值为表达式", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "669976f9-e0eb-4471-9f0b-e37e934980a6", + "code" : "P847377861188482", + "name" : "产品代码", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "d0c7aab4-dff9-46de-a540-468ee9cef35a", + "code" : "P847413598333565", + "name" : "产品代码结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "DECISION_TREE", + "id" : "6b626eb9-4a81-472d-b40b-040617a3d91e", + "description" : null, + "order" : 1, + "enable" : true, + "decisionTree" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + }, { + "type" : "MODEL", + "id" : "885b706a-de28-4a5f-9be8-c7558540ef57", + "code" : "M849265785167965", + "name" : "决策树-模型摘要", + "description" : "该示例用于演示如何获取模型摘要信息,即模型的基本信息,通过该方法可以实现模型路径选择功能", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "b923d3f4-c431-4187-bfaf-2a1c907880b4", + "name" : "决策树-模型摘要-1", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:05", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "507f8bc9-f9c7-457b-9df5-8458d806a17c", + "code" : "P847377861188482", + "inputValue" : "P001", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "7098b774-8c1c-42d3-8108-be3c65d5856b", + "code" : "P847413598333565", + "inputValue" : "", + "expectValue" : "{\n \"id\" : null,\n \"code\" : \"M849814295141818\",\n \"name\" : null,\n \"version\" : 1,\n \"status\" : null,\n \"effectiveDate\" : null\n}", + "resultValue" : "{\n \"id\" : null,\n \"code\" : \"M849814295141818\",\n \"name\" : null,\n \"version\" : 1,\n \"status\" : null,\n \"effectiveDate\" : null\n}", + "testResult" : "PASSED", + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "06fc07b8-eb2a-4ad0-a25a-fee4cd961bc2", + "name" : "决策树-模型摘要-2", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:05", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "a770a3e5-9035-46e2-92e2-61891b27a256", + "code" : "P847377861188482", + "inputValue" : "P002", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "f9d77063-4d8c-4620-ae94-7281c1206ef3", + "code" : "P847413598333565", + "inputValue" : "", + "expectValue" : "{\n \"id\" : null,\n \"code\" : \"M849835362382753\",\n \"name\" : null,\n \"version\" : 2,\n \"status\" : null,\n \"effectiveDate\" : null\n}", + "resultValue" : "{\n \"id\" : null,\n \"code\" : \"M849835362382753\",\n \"name\" : null,\n \"version\" : 2,\n \"status\" : null,\n \"effectiveDate\" : null\n}", + "testResult" : "PASSED", + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "fb411b3c-3152-4624-b881-707c13e9fb0a", + "name" : "决策树-模型摘要-3", + "description" : null, + "order" : 3, + "lastTestDate" : "2020-02-07 15:33:06", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "97bc7972-26d2-4540-850f-ed9f07d1c863", + "code" : "P847413598333565", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "af69f09b-ebbb-47d2-8019-ba1d1ccc0f4d", + "code" : "P847377861188482", + "inputValue" : "P000", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "8f040664-4d40-48d1-a695-2e7425b67c38", + "code" : "M849265785167965", + "name" : "决策树-模型摘要", + "description" : "该示例用于演示如何获取模型摘要信息,即模型的基本信息,通过该方法可以实现模型路径选择功能", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "61bb9937-0d34-4e86-8594-a25f2d5c3ce9", + "code" : "P847377861188482", + "name" : "产品代码", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "0addfd0c-e5d5-4e67-b550-704b284606d4", + "code" : "P847413598333565", + "name" : "模型摘要结果值", + "description" : null, + "valueType" : "org.wsp.engine.rule.core.classes.ResourceAbstract", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "DECISION_TREE", + "id" : "2f98eda1-5b54-4823-a797-cfab2633d892", + "description" : null, + "order" : 1, + "enable" : true, + "decisionTree" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "d4f7ce15-237e-4e2d-9be7-c852c2141882", + "code" : "F1576052960688", + "name" : "规则流", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "b0045f96-0984-4495-8ecd-d9f3db31af52", + "code" : "M207474003037294", + "name" : "零售准入审批策略流", + "description" : "该示例是一个较为复杂的实例,主要用于演示规则和执行流", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "9ba5ff21-092e-4506-bfdb-6cde1efc839a", + "name" : "零售准入审批策略流(政策拒绝-基本信息-年龄)", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:32:58", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "005b1d5a-5a27-461a-ab04-8b783186f086", + "code" : "P210191210157103", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "0ea7b8eb-d431-48b4-894c-c3fa1ca5d032", + "code" : "P210165331948371", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "1ce262ef-a3fb-4fd5-b26d-d76090ce5d26", + "code" : "P208679630674964", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "25bff051-bea4-4ed0-9f1a-9ce327ab05cb", + "code" : "P207746039386870", + "inputValue" : "16", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "2b967c16-ded7-4bdc-82f1-5174a6954265", + "code" : "P214798334141035", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "389b209c-bc0c-4b22-af19-38aa72c35ebe", + "code" : "P208135034127542", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "3c745cf5-c474-47f5-a8b9-e290e6ccec76", + "code" : "SQPF", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "3d50f604-8e56-4da8-a797-a0521ebb4af3", + "code" : "SQDJ", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "3dd60907-5b10-4916-8b0c-75f74f7f942e", + "code" : "P210653945868430", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "50b4768a-eae5-448a-aa6d-d927d393f599", + "code" : "P214785216744153", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "52ff9738-8849-4b67-8219-1b064ff7813e", + "code" : "P208904126883464", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "5dae7dc0-9302-46e6-ba4f-51e484101387", + "code" : "P207972684898750", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "610d1d01-6301-456f-b277-216654f03c43", + "code" : "P209214046950231", + "inputValue" : null, + "expectValue" : "拒绝", + "resultValue" : "拒绝", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "77a2577c-6f70-4d0b-a880-943087b23e5f", + "code" : "P218491139686131", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "7a84add6-2db5-425d-ada5-ed8bcb6df7b6", + "code" : "P208521839067894", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "805c69c3-ef64-486b-ac82-65461d28cbd7", + "code" : "P209654408106067", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "8c554bbe-4efb-4e62-b9ae-67934dec1621", + "code" : "P210735942824286", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "931e24dc-cb56-4874-b065-2a8ea1276d25", + "code" : "P210520641317289", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "992b323d-865f-4a91-ad61-695a58c46516", + "code" : "P213151693366493", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "a34ef2d9-109f-4fc4-8990-59a9ee0ad5c5", + "code" : "P207805355507419", + "inputValue" : null, + "expectValue" : "true", + "resultValue" : "true", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "aaa3f0cd-be00-42ca-a895-780b4cb7a9a5", + "code" : "P212981234644336", + "inputValue" : null, + "expectValue" : "true", + "resultValue" : "true", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "b065799c-d432-4dba-8725-1639ac4ec6e7", + "code" : "P208920114067400", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "b5e77d50-90a5-449b-ab64-abc5f2b680d9", + "code" : "P210500233417686", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "bf8761d4-bada-434f-9785-3af403776216", + "code" : "P210821917413718", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "e43635bb-01a5-4503-b7c7-b60f646af96a", + "code" : "P207955154263475", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "f2b7beda-d649-47c0-8f05-18e51013dee2", + "code" : "P208668708930945", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "f534a825-3d80-4b86-a68b-432dd6622218", + "code" : "P213203017451701", + "inputValue" : null, + "expectValue" : "true", + "resultValue" : "true", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f9759047-a1e9-4635-af1a-afac9cd50261", + "code" : "P210638853586967", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "fd3dcde6-3b67-475d-8a14-2f0183bee7cb", + "code" : "P208155839768024", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "2c4e3ee5-e8e4-4b4f-ad77-52689358c61d", + "name" : "零售准入审批策略流(政策拒绝-基本信息-蚂蚁信用分)", + "description" : null, + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:00", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "0812ab3b-88bd-4555-8fbb-699523e1ec07", + "code" : "P212981234644336", + "inputValue" : null, + "expectValue" : "true", + "resultValue" : "true", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "0ecb2f8c-f8f3-4035-9d51-d00ad6b98271", + "code" : "P210653945868430", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "1721038c-1192-4178-abf5-b1245487023f", + "code" : "P210165331948371", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "1869a353-b8f3-4c42-85f6-addd770e583a", + "code" : "P208521839067894", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "1c390c08-2ce7-448a-bbe9-87b0dac59a12", + "code" : "SQPF", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "270339f1-4404-471e-940d-c06f624184ca", + "code" : "P207955154263475", + "inputValue" : "549", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "28dbe8ea-0cfd-4d7a-b8ef-25cb3dd51e52", + "code" : "P210821917413718", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "2ad0b8d4-47a6-446f-a6f8-968bc8e56377", + "code" : "P208904126883464", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "2b6347c1-0462-4205-ab3c-32a3f471cb69", + "code" : "P218491139686131", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "314ca839-fee8-4789-9b97-d33098e064e8", + "code" : "P210500233417686", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "3179276a-1c21-4dbc-b8f2-13bb08db2e3a", + "code" : "P207972684898750", + "inputValue" : null, + "expectValue" : "true", + "resultValue" : "true", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "3815c13a-150a-46d8-a767-20f4268b0402", + "code" : "P208668708930945", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "44901544-2b53-47a4-aa46-5f32dc74cd57", + "code" : "SQDJ", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "47209e1f-387c-4fa1-b8dd-363f2a797129", + "code" : "P208920114067400", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "554e5644-aa06-4e96-aee4-67b1da696306", + "code" : "P210191210157103", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "612d3eb9-4418-45a8-bccd-8cafdec1491f", + "code" : "P210735942824286", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "670f59a6-b67c-4800-bad8-05222233ae91", + "code" : "P210520641317289", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "77fc792e-e165-4e36-b4ff-322a3d392867", + "code" : "P207805355507419", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "79508004-fefe-460d-b466-411fdcf40004", + "code" : "P213203017451701", + "inputValue" : null, + "expectValue" : "true", + "resultValue" : "true", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "7e4c8bde-6ac8-4997-92cf-71e4cd816fa4", + "code" : "P213151693366493", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "909811ab-ebb0-44dd-ae58-ae6596a8b71e", + "code" : "P207746039386870", + "inputValue" : "19", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "a2b0f39a-9c71-43c5-9f84-51946516ac21", + "code" : "P214785216744153", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "acceafb9-9661-478c-bba7-ffe7a77f6202", + "code" : "P208135034127542", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "cbcaae39-19cc-4339-8ff9-f67b5bcb4f3e", + "code" : "P209654408106067", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "da3f7b0c-58d4-4548-8277-1fb91f1db9b8", + "code" : "P210638853586967", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "e1629303-a152-4599-b8e8-402e3f9dbed2", + "code" : "P214798334141035", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "e35ee293-2f4d-4ba2-a29a-7b373738e428", + "code" : "P209214046950231", + "inputValue" : null, + "expectValue" : "拒绝", + "resultValue" : "拒绝", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f56fa8b1-f372-450a-b71f-ff7b864716d2", + "code" : "P208155839768024", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f9323904-5722-4de9-bed1-4a3b9db0b78f", + "code" : "P208679630674964", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "b6190e67-1a07-4ac7-a1cc-6909d08a7fd3", + "name" : "零售准入审批策略流(触发风险规则)", + "description" : null, + "order" : 3, + "lastTestDate" : "2020-02-07 15:33:23", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "03fcbacb-07d7-4596-8729-f54cea772a2b", + "code" : "P208668708930945", + "inputValue" : "女", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "06ffabbf-06c1-4f46-b323-d37d1056a7e8", + "code" : "P207955154263475", + "inputValue" : "600", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "13b43e6f-733c-4300-aae3-b9da11d57984", + "code" : "P210653945868430", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "163c1507-fe4e-42c5-9a57-8afc1815d775", + "code" : "P207972684898750", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "1649f98f-7c63-466a-b83b-ff134fd2ec2d", + "code" : "P210638853586967", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "1dece7a3-4a21-47f2-94b6-5a872a8f5e65", + "code" : "P209214046950231", + "inputValue" : null, + "expectValue" : "自动通过", + "resultValue" : "自动通过", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "21386c4d-d287-4f37-bf17-0a0afc9fca95", + "code" : "P210821917413718", + "inputValue" : null, + "expectValue" : "中低", + "resultValue" : "中低", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "23901c64-6f18-418c-b01e-6cff391b8a49", + "code" : "P213203017451701", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "2f91f7b9-4864-44e2-a7ef-8a6e7c1fedbe", + "code" : "P213151693366493", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "3327f683-9682-40ff-8acf-62a6899b7fbd", + "code" : "SQDJ", + "inputValue" : null, + "expectValue" : "C", + "resultValue" : "C", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "39a2667e-9ae6-459e-8768-a5f7c117f53a", + "code" : "P208521839067894", + "inputValue" : null, + "expectValue" : "5", + "resultValue" : "5", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "416f0416-7b76-49e8-aa66-e008124e8dcf", + "code" : "P210735942824286", + "inputValue" : null, + "expectValue" : "1", + "resultValue" : "1", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "4b41a1ba-0ed6-4328-bc1d-2b5ab2b4220a", + "code" : "P210520641317289", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "550fa6f3-fd31-43cb-a9ab-cbf0b643741d", + "code" : "P210191210157103", + "inputValue" : null, + "expectValue" : "1", + "resultValue" : "1", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "758eb006-910a-4c5f-868a-30322eb91bf6", + "code" : "SQPF", + "inputValue" : null, + "expectValue" : "24", + "resultValue" : "24", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "795e7e4a-7b42-4525-bb12-988f310aef4e", + "code" : "P208904126883464", + "inputValue" : "10000", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "8065f1ad-3ed7-4457-aba4-6e638982461d", + "code" : "P207746039386870", + "inputValue" : "35", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "8cf0fdf7-e7fa-490d-9d1e-3b2eb7b588e3", + "code" : "P212981234644336", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "9982e5d8-7579-4c4d-94cc-1a8c69733cd1", + "code" : "P208135034127542", + "inputValue" : "0", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "a56a5b5d-43d6-4b11-a2d8-5b9562bd897a", + "code" : "P214798334141035", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "aa44a7d0-9ffe-45a0-a025-260c5e38ff28", + "code" : "P214785216744153", + "inputValue" : "false", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "b08668b9-fdfc-48a2-8850-0f0fd1f12d59", + "code" : "P208679630674964", + "inputValue" : null, + "expectValue" : "14", + "resultValue" : "14", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "b8ba005a-5db2-4969-8d69-f18784af8f6e", + "code" : "P210165331948371", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "d6812ac4-c82a-4211-a4e7-33800be297c5", + "code" : "P210500233417686", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "db5156df-44a1-4ff3-b73c-073c4a176615", + "code" : "P208155839768024", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f223aff7-a2a8-435c-95b5-b3ce34be3ea9", + "code" : "P218491139686131", + "inputValue" : null, + "expectValue" : "自动通过", + "resultValue" : "自动通过", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f3c2c5e5-8cda-4197-b063-0a4f38071a4b", + "code" : "P207805355507419", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "f9d3a599-9fa4-42d4-a125-f5fb8f83a069", + "code" : "P209654408106067", + "inputValue" : null, + "expectValue" : "通过", + "resultValue" : "通过", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "fb1b90ae-8e63-48c6-b948-6ef929ba0a7a", + "code" : "P208920114067400", + "inputValue" : null, + "expectValue" : "5", + "resultValue" : "5", + "testResult" : "PASSED", + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "5f0c1e46-cd6d-44f1-83cd-9e4953b6061d", + "name" : "零售准入审批策略流(评分拒绝)", + "description" : null, + "order" : 4, + "lastTestDate" : "2020-02-07 15:33:21", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "03e0738f-26fd-453a-8fc9-5a8672006188", + "code" : "P210638853586967", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "134f699b-1a31-40fa-ac6c-82a27fc8ac32", + "code" : "P207972684898750", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "28003562-d2c2-4f4b-aad7-6ddd5125e576", + "code" : "P210520641317289", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "33867049-3949-4328-a7b9-c97e3936a2b0", + "code" : "P214798334141035", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "3f4805e0-1efb-45fc-8f5f-e772c1044bf3", + "code" : "P208521839067894", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "4dd0b584-497a-416e-881d-3c625e8c457b", + "code" : "P209654408106067", + "inputValue" : null, + "expectValue" : "拒绝", + "resultValue" : "拒绝", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "5160e743-20c5-43a0-aae4-8cdf819affc1", + "code" : "SQDJ", + "inputValue" : null, + "expectValue" : "E", + "resultValue" : "E", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "5b9b0b16-d4d9-41e2-a9cd-c89f29adf7f7", + "code" : "P208135034127542", + "inputValue" : "0", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "7354918b-5f50-49a4-a961-96c912b9aa90", + "code" : "P214785216744153", + "inputValue" : "false", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "7a617166-c868-4b20-a94b-58668c64b7e2", + "code" : "P210191210157103", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "7f4b756e-24de-4fbc-9afd-57a8e05cfa29", + "code" : "P207805355507419", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "83416d00-bc5e-4183-bc1d-f12a8f49da9a", + "code" : "P208920114067400", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "8b4a5f0f-1d6a-4d65-89bb-849f24a58121", + "code" : "P210735942824286", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "906ecf82-01c8-44f9-9f9e-e95e13c02d42", + "code" : "P207746039386870", + "inputValue" : "25", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "910cd860-43ac-4145-907d-002bdee6da04", + "code" : "P210821917413718", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "965b834a-2dc5-4e15-b927-50f345162737", + "code" : "P212981234644336", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "9df51c00-ea1a-4fa1-b682-4f1c808daf60", + "code" : "P210653945868430", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "b7d89eaf-159c-4fd0-bde2-a34fd2a79eeb", + "code" : "P208668708930945", + "inputValue" : "男", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "ba9f8491-d2b1-4d73-b510-f6920a17de30", + "code" : "SQPF", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "c0d7c351-7442-4963-acb9-a48a273c57ba", + "code" : "P208679630674964", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "c22c54c6-147a-4998-9df8-ed9b2f6b528b", + "code" : "P207955154263475", + "inputValue" : "600", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "c26c03d9-975a-4e5a-9f4f-7062577ecda9", + "code" : "P208155839768024", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "c53c8be9-3a62-4559-9f2c-63cc355865c3", + "code" : "P213151693366493", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "ca64ce74-5a34-491b-8714-adb357df5e63", + "code" : "P209214046950231", + "inputValue" : null, + "expectValue" : "拒绝", + "resultValue" : "拒绝", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "d21d475f-697a-4047-ae6b-a4cc818cdf20", + "code" : "P213203017451701", + "inputValue" : null, + "expectValue" : "false", + "resultValue" : "false", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "d3f1d627-0c02-4387-b37a-f0752e390439", + "code" : "P218491139686131", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "db1b814d-f381-4b88-9467-7d606da6d5c0", + "code" : "P208904126883464", + "inputValue" : "1000", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "e647b57b-7602-4baa-9afa-b3af1023b5a2", + "code" : "P210165331948371", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "ee296a89-29d0-4660-984e-db81e71dbccd", + "code" : "P210500233417686", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "20ce3487-2830-4cab-9b22-358cf1d615c4", + "code" : "M207474003037294", + "name" : "零售准入审批策略流", + "description" : "该示例是一个较为复杂的实例,主要用于演示规则和执行流", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "TOP_DOWN", + "children" : [ { + "id" : "8754cc34-8389-463c-914d-9754e4d09035", + "code" : "M207550917680270", + "name" : "政策拒绝", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "TOP_DOWN", + "children" : [ { + "id" : "86b8a2ed-9e70-4ad8-8fe1-0c3affb3e8c1", + "code" : "M208086269191189", + "name" : "征信信息拒绝", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "38b97dc7-80ba-4fe2-9f0f-5d62a256cecd", + "code" : "M208106991090541", + "name" : "24个月内贷款或贷记卡逾期次数过高", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "9e823e3e-4566-4bbe-809f-318f7812f3ab", + "code" : "P208135034127542", + "name" : "24个月内贷款或贷记卡逾期次数", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "23148d1d-fd42-4f28-a459-68ff6ae0df13", + "code" : "P208155839768024", + "name" : "24个月内贷款或贷记卡逾期次数是否过高", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "cc7be6cb-2d2a-4c48-bc3f-c56e59eecf04", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P208135034127542}>2" + } ] + } ] + } ], + "parameters" : [ { + "type" : "OUT", + "id" : "2037cf92-133b-4a03-8c2b-ea96389cf3ce", + "code" : "P213151693366493", + "name" : "征信信息拒绝结果", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "f9b5fb52-d3b3-442c-9d38-b7f84034476c", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P208155839768024}" + } ] + } ] + }, { + "id" : "8cf27ae0-ee0f-478f-adcd-76eeb90e69bd", + "code" : "M208052138775989", + "name" : "基本信息拒绝", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "TOP_DOWN", + "children" : [ { + "id" : "a4c8b726-5d63-4ba5-93c7-e985cd96a2b6", + "code" : "M207701571240338", + "name" : "申请人年龄拒绝", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "6dca0814-1347-4516-bd59-b10cf6516e78", + "code" : "P207746039386870", + "name" : "申请人年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "7c73dbac-0c30-4300-8016-a855649dc958", + "code" : "P207805355507419", + "name" : "申请人年龄拒绝结果", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "6fa8b235-62c5-45fd-9f6b-0313ad498c77", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P207746039386870}<18 || ${P207746039386870}>59" + } ] + } ] + }, { + "id" : "1b4f73f5-9f85-401b-8671-55de915c251e", + "code" : "M207932433165751", + "name" : "蚂蚁信用分拒绝", + "description" : null, + "enable" : true, + "order" : 1, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "65541925-bde6-4271-9cdc-b1d9d10f9c72", + "code" : "P207955154263475", + "name" : "蚂蚁信用分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "fcedaed0-3fa8-4fe9-ba96-fcc54af70f96", + "code" : "P207972684898750", + "name" : "蚂蚁信用分拒绝结果", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "2a93f943-848f-478d-a4a4-96b95214e292", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P207955154263475}<550" + } ] + } ] + } ], + "parameters" : [ { + "type" : "OUT", + "id" : "42f00163-74f1-43f8-b430-f6fe57f30a10", + "code" : "P212981234644336", + "name" : "基本信息拒绝结果", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "cf7718c9-d44a-4f42-9a70-f9580f684359", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + }, { + "id" : "91ee5c4a-b47a-4180-99dd-02d27603828b", + "code" : "M208070659548381", + "name" : "黑名单拒绝", + "description" : null, + "enable" : true, + "order" : 1, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "532418f7-dfd0-439e-ac78-5ccd8cc02bba", + "code" : "P214785216744153", + "name" : "是否在黑名单内", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "ace24f68-65a5-473f-a887-1be8814180b4", + "code" : "P214798334141035", + "name" : "黑名单拒绝结果", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "TERNARY", + "id" : "1765e31b-6aa9-4b7f-a698-a674b01d5e99", + "description" : null, + "order" : 1, + "enable" : true, + "ternaryCondition" : "${P214785216744153}==true", + "ternaryTrue" : "true", + "ternaryFalse" : "false" + } ] + } ] + } ], + "parameters" : [ { + "type" : "OUT", + "id" : "b85e3cab-e780-4b26-94a7-cd8169dc16b2", + "code" : "P213203017451701", + "name" : "政策拒绝结果", + "description" : null, + "valueType" : "java.lang.Boolean", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "1b96b555-8177-4a34-bd69-3c3c318cfabc", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + }, { + "id" : "d1f2fb8a-1c7f-429e-b7a1-9fb98851c338", + "code" : "M207568591337576", + "name" : "申请评分", + "description" : null, + "enable" : true, + "order" : 1, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "7a399c43-e820-4299-8734-c571410e24c1", + "code" : "M208477678741970", + "name" : "申请人年龄", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "OUT", + "id" : "e644caa5-55fa-4303-887a-9d49e7be7d5a", + "code" : "P208521839067894", + "name" : "申请人年龄得分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "384c42d5-5a6d-4028-90e6-92c348a96600", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P207746039386870}==null", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "NUMBER_RANGE", + "id" : "0664ffb0-bd25-4164-a0e8-bc518ee5101d", + "description" : null, + "order" : 2, + "enable" : true, + "numberRangeVar" : "${P207746039386870}", + "numberRange" : "[{\"uuid\":\"f7ea3e17-86fa-46ae-8be2-5e8c2f6fdba4\",\"minIncluded\":false,\"min\":null,\"max\":\"25\",\"maxIncluded\":true,\"value\":0,\"_cellSelection_4\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_39\":[0]},{\"uuid\":\"02e41736-11c7-4c6a-b799-54df3bea1edf\",\"minIncluded\":false,\"min\":\"25\",\"max\":\"35\",\"maxIncluded\":true,\"value\":\"5\",\"_cellSelection_4\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_39\":[0]},{\"uuid\":\"8b6dd078-5551-4660-9f1d-62172e36dc97\",\"minIncluded\":false,\"min\":\"35\",\"max\":\"45\",\"maxIncluded\":true,\"value\":\"16\",\"_cellSelection_4\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":[\"isc_NumberRangeItem_0_numberRange_rollOverCanvas\",\"isc_NumberRangeItem_0_numberRange_rollUnderCanvas\"],\"_cellSelection_39\":[8]},{\"uuid\":\"7169164d-e427-4c87-9208-53f4d20def22\",\"minIncluded\":false,\"min\":\"45\",\"max\":null,\"maxIncluded\":false,\"value\":\"10\",\"_cellSelection_4\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_39\":[0]}]" + } ] + } ] + }, { + "id" : "15fefbd5-76ec-4c2d-8de7-40c993336c6e", + "code" : "M208654480607254", + "name" : "申请人性别", + "description" : null, + "enable" : true, + "order" : 1, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "b4060dab-dda4-438b-bf1c-d8e3e39ae2f3", + "code" : "P208668708930945", + "name" : "申请人性别", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "4582fa77-8ab9-4b21-bada-41f458c6605b", + "code" : "P208679630674964", + "name" : "申请人性别得分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "TERNARY", + "id" : "156503ef-ba5a-41b9-8a22-1f7b919855c3", + "description" : null, + "order" : 1, + "enable" : true, + "ternaryCondition" : "${P208668708930945}=='女'", + "ternaryTrue" : "14", + "ternaryFalse" : "0" + } ] + } ] + }, { + "id" : "7afd505b-263d-4a4c-ae5e-a9d46a380697", + "code" : "M208818724255618", + "name" : "个人月均收入", + "description" : null, + "enable" : true, + "order" : 2, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "ea01490c-5baa-4a05-aa45-78213b218d9e", + "code" : "P208904126883464", + "name" : "个人月均收入", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "11824367-2ad3-46c4-95c5-5f6cc206898e", + "code" : "P208920114067400", + "name" : "个人月均收入得分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "eeee8965-020b-4679-8d6a-4e333f81ed79", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P208904126883464}==null", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "NUMBER_RANGE", + "id" : "f48d4a83-e50c-43c1-8e27-800d05d5f3ac", + "description" : null, + "order" : 2, + "enable" : true, + "numberRangeVar" : "${P208904126883464}", + "numberRange" : "[{\"uuid\":\"9dc46d1c-f9b8-4488-bfd9-d1f3074eecd2\",\"minIncluded\":false,\"min\":\"0\",\"max\":\"5000\",\"maxIncluded\":true,\"value\":0,\"_cellSelection_17\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"8850c612-3c55-49c2-b706-28dedc93cd07\",\"minIncluded\":false,\"min\":\"5000\",\"max\":\"10000\",\"maxIncluded\":true,\"value\":\"5\",\"_cellSelection_17\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"94d0a76a-b9c3-4b36-8fbe-09a8ff763aad\",\"minIncluded\":false,\"min\":\"10000\",\"max\":\"20000\",\"maxIncluded\":true,\"value\":\"10\",\"_cellSelection_17\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"0cc24b99-828e-4317-b485-9ae078a1547f\",\"minIncluded\":false,\"min\":\"20000\",\"max\":\"30000\",\"maxIncluded\":true,\"value\":\"15\",\"_cellSelection_17\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"4e2a80c9-5e9e-4f74-bf71-f6971a2524d5\",\"minIncluded\":false,\"min\":\"30000\",\"max\":null,\"maxIncluded\":false,\"value\":\"20\",\"_cellSelection_17\":[16],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null}]" + } ] + } ] + } ], + "parameters" : [ { + "type" : "OUT", + "id" : "9ac3488f-6a80-4897-95e3-5fe4808bc66b", + "code" : "SQPF", + "name" : "申请评分", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "378ab081-16bc-4951-a284-b4808f534587", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P208521839067894}+${P208679630674964}+${P208920114067400}" + } ] + }, { + "type" : "OUT", + "id" : "0117207b-9a83-41b6-b29b-ed2f4c542683", + "code" : "SQDJ", + "name" : "申请评分等级", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "NUMBER_RANGE", + "id" : "8cb4c6b9-d4be-486e-854c-5cb3bfb002ce", + "description" : null, + "order" : 1, + "enable" : true, + "numberRangeVar" : "${SQPF}", + "numberRange" : "[{\"uuid\":\"ce807a7a-c45b-44bd-8b70-1167e9aa3d60\",\"minIncluded\":false,\"min\":null,\"max\":\"10\",\"maxIncluded\":true,\"value\":\"E\",\"_cellSelection_30\":[16],\"_cellSelection_45\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null},{\"uuid\":\"a558ec6f-bf2f-4299-89b4-79a9591cabe3\",\"minIncluded\":false,\"min\":\"10\",\"max\":\"20\",\"maxIncluded\":true,\"value\":\"D\",\"_cellSelection_30\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_45\":[0]},{\"uuid\":\"a1af7d67-b3eb-452a-9242-d864d5b1de7f\",\"minIncluded\":false,\"min\":\"20\",\"max\":\"30\",\"maxIncluded\":true,\"value\":\"C\",\"_cellSelection_30\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_45\":[0]},{\"uuid\":\"d9c3a5a8-9447-495a-b5ec-228587b8df7f\",\"minIncluded\":false,\"min\":\"30\",\"max\":\"40\",\"maxIncluded\":true,\"value\":\"B\",\"_cellSelection_30\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_45\":[8]},{\"uuid\":\"84803c53-21a4-4fe6-bd39-e0a323c8c5a5\",\"minIncluded\":false,\"min\":\"40\",\"max\":null,\"maxIncluded\":false,\"value\":\"A\",\"_cellSelection_30\":[0],\"_embeddedComponents_isc_NumberRangeItem_0_numberRange\":null,\"_cellSelection_45\":[0]}]" + } ] + } ] + }, { + "id" : "d0eb8e04-4d4c-4acb-b8a1-8a7ac828a604", + "code" : "M207595925663707", + "name" : "评分准入", + "description" : null, + "enable" : true, + "order" : 2, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "OUT", + "id" : "95add02a-db43-4385-864d-69f6eb1b290c", + "code" : "P209654408106067", + "name" : "评分准入结果", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "TERNARY", + "id" : "d6ba76ad-d453-4cdd-8251-bce7a35bbf4f", + "description" : null, + "order" : 1, + "enable" : true, + "ternaryCondition" : "${SQDJ}=='E'", + "ternaryTrue" : "拒绝", + "ternaryFalse" : "通过" + } ] + } ] + }, { + "id" : "e04d8651-2587-4cdf-bb33-cf13a91110d5", + "code" : "M207611475649516", + "name" : "风险规则", + "description" : null, + "enable" : true, + "order" : 3, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "c7c5e2fd-e72b-47a5-988e-766c80cb9d72", + "code" : "M210484962538297", + "name" : "贷记卡当前额度使用过高", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "615e48ba-28a1-4b06-adbf-6ba747539f75", + "code" : "P210500233417686", + "name" : "贷记卡当前额度使用率", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "d531a3c0-b8a4-4f15-abad-c12c3a1e9461", + "code" : "P210520641317289", + "name" : "贷记卡当前额度使用过高结果", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "TERNARY", + "id" : "eae8783b-f859-4d53-a6be-3a229fe544c3", + "description" : null, + "order" : 1, + "enable" : true, + "ternaryCondition" : "${P210500233417686}>0.8", + "ternaryTrue" : "1", + "ternaryFalse" : "0" + } ] + } ] + }, { + "id" : "6ee2c357-33e4-4474-8bd0-76c392bfbac3", + "code" : "M210614336037066", + "name" : "信用卡当前额度使用过高", + "description" : null, + "enable" : true, + "order" : 1, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "5933bea6-7b77-4d2b-a9ce-4a0bafeb1c3c", + "code" : "P210638853586967", + "name" : "信用卡当前额度使用率", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "6a1f7804-4b41-4a39-9126-5ba671173bed", + "code" : "P210653945868430", + "name" : "信用卡当前额度使用过高结果", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "TERNARY", + "id" : "61cec619-c88d-460b-b9a3-6870a8394e7e", + "description" : null, + "order" : 1, + "enable" : true, + "ternaryCondition" : "${P210638853586967}>0.8", + "ternaryTrue" : "1", + "ternaryFalse" : "0" + } ] + } ] + }, { + "id" : "45e25791-e17f-4f6a-b3a1-72a9df60d8e0", + "code" : "M210139874708193", + "name" : "人行征信记录不足6个月", + "description" : null, + "enable" : true, + "order" : 2, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "8fd5d42b-b959-405c-a2be-45a5a1b139af", + "code" : "P210165331948371", + "name" : "最久信贷征信记录距今月份数", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "33d7e4cd-aa6e-4b82-9908-6d0b58c1aebe", + "code" : "P210191210157103", + "name" : "人行征信记录不足6个月结果", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "13b86e59-58de-4125-a5b2-a452a52d12e4", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P210165331948371}==null", + "then" : "1", + "isWhenThenShorted" : true + }, { + "type" : "TERNARY", + "id" : "07cfadbc-34d3-4323-ba01-f8198b6a0bd8", + "description" : null, + "order" : 2, + "enable" : true, + "ternaryCondition" : "${P210165331948371}<6", + "ternaryTrue" : "1", + "ternaryFalse" : "0" + } ] + } ] + } ], + "parameters" : [ { + "type" : "OUT", + "id" : "ab9be4ae-fe87-4797-aa99-816abc7a2622", + "code" : "P210735942824286", + "name" : "风险规则命中个数", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "0368b083-4252-4c69-8a24-e9fd8de06f22", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P210520641317289}+${P210653945868430}+${P210191210157103}" + } ] + } ] + }, { + "id" : "f4dc7962-75d6-419b-b74c-3a0357363b8c", + "code" : "M207632910008826", + "name" : "综合准入", + "description" : null, + "enable" : true, + "order" : 5, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "OUT", + "id" : "ef3ca825-a0bf-47ae-a6a3-cadd6ea8ccc1", + "code" : "P210821917413718", + "name" : "综合准入等级", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "DECISION_TABLE_2C", + "id" : "7fdfde08-3839-4270-b362-2a94a45c8e75", + "description" : null, + "order" : 1, + "enable" : true, + "decisionTable2C" : "[{\"uuid\":\"4f80a832-3260-4f59-ab54-fbbc9dda42ea\",\"C0\":\"\",\"C1\":\"${P210735942824286}==1\",\"C2\":\"${P210735942824286}==2\",\"C3\":\"${P210735942824286}==3\",\"_cellSelection_67\":[0],\"_cellSelection_72\":[0],\"_cellSelection_73\":[0],\"_cellSelection_78\":[0],\"_cellSelection_79\":[0],\"_cellSelection_135\":[0],\"_cellSelection_136\":[0],\"_cellSelection_141\":[0],\"_cellSelection_142\":[0],\"_cellSelection_153\":[0],\"_cellSelection_154\":[0]},{\"uuid\":\"c4f16db6-2118-44e4-9604-dbfd476faebd\",\"C0\":\"${SQDJ}=='A'\",\"C1\":\"低\",\"C2\":\"中低\",\"C3\":\"较高\",\"_cellSelection_67\":[0],\"_cellSelection_72\":[0],\"_cellSelection_73\":[0],\"_embeddedComponents_isc_DecisionTable2CItem_0_decisionTable\":null,\"_cellSelection_78\":[0],\"_cellSelection_79\":[0],\"_cellSelection_135\":[0],\"_cellSelection_136\":[4],\"_cellSelection_141\":[0],\"_cellSelection_142\":[4],\"_cellSelection_153\":[0],\"_cellSelection_154\":[0]},{\"uuid\":\"5bbe406d-cf93-4f59-9633-90fd9df8e1ea\",\"C0\":\"${SQDJ}=='B'\",\"C1\":\"较低\",\"C2\":\"中\",\"C3\":\"中高\",\"_cellSelection_67\":[0],\"_cellSelection_72\":[0],\"_cellSelection_73\":[0],\"_embeddedComponents_isc_DecisionTable2CItem_0_decisionTable\":null,\"_cellSelection_78\":[0],\"_cellSelection_79\":[0],\"_cellSelection_135\":[0],\"_cellSelection_136\":[0],\"_cellSelection_141\":[0],\"_cellSelection_142\":[0],\"_cellSelection_153\":[0],\"_cellSelection_154\":[0]},{\"uuid\":\"61f7e794-f7e5-4211-9fea-051948747687\",\"_cellSelection_73\":[0],\"C0\":\"${SQDJ}=='C'\",\"_cellSelection_78\":[0],\"_cellSelection_79\":[0],\"_embeddedComponents_isc_DecisionTable2CItem_0_decisionTable\":null,\"C1\":\"中低\",\"C2\":\"较高\",\"C3\":\"中高\",\"_cellSelection_135\":[0],\"_cellSelection_136\":[0],\"_cellSelection_141\":[0],\"_cellSelection_142\":[0],\"_cellSelection_153\":[0],\"_cellSelection_154\":[0]},{\"uuid\":\"8a95a20f-f983-4181-bb1d-13c9996f757a\",\"_cellSelection_73\":[0],\"C0\":\"${SQDJ}=='D'\",\"_embeddedComponents_isc_DecisionTable2CItem_0_decisionTable\":null,\"_cellSelection_78\":[0],\"_cellSelection_79\":[8],\"C1\":\"中\",\"C2\":\"中高\",\"C3\":\"高\",\"_cellSelection_135\":[0],\"_cellSelection_136\":[0],\"_cellSelection_141\":[0],\"_cellSelection_142\":[0],\"_cellSelection_153\":[0],\"_cellSelection_154\":[1]}]" + } ] + }, { + "type" : "OUT", + "id" : "4d4b378d-e260-4de3-86a0-e20630948ed0", + "code" : "P218491139686131", + "name" : "综合准入结果", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : [ { + "type" : "CONDITION_RANGE", + "id" : "b267480b-9ccb-40cc-a462-2237b4409939", + "description" : null, + "order" : 1, + "enable" : true, + "conditionRange" : "[{\"uuid\":\"0857306e-10ed-4e07-b35e-9b888086d0a5\",\"condition\":\"${P210821917413718}=='低'\",\"value\":\"自动通过\",\"_cellSelection_112\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_118\":[0],\"_cellSelection_124\":[0],\"_cellSelection_130\":[0]},{\"uuid\":\"040b9ff5-699b-46f8-9ed2-eca2ce5371dd\",\"condition\":\"${P210821917413718}=='中低'\",\"value\":\"自动通过\",\"_cellSelection_112\":[0],\"_cellSelection_118\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_124\":[0],\"_cellSelection_130\":[0]},{\"uuid\":\"894fe99d-800e-42e1-aa03-320adcfdb938\",\"condition\":\"${P210821917413718}=='较低'\",\"value\":\"自动通过\",\"_cellSelection_112\":[0],\"_cellSelection_118\":[2],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_124\":[0],\"_cellSelection_130\":[0]},{\"uuid\":\"9fe081d5-8196-4152-af78-135b0028f024\",\"condition\":\"${P210821917413718}=='中'\",\"value\":\"人工审查\",\"_cellSelection_112\":[1],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_118\":[0],\"_cellSelection_124\":[1],\"_cellSelection_130\":[0]},{\"uuid\":\"f78992ea-9c57-49d1-8e37-0f1dd826f021\",\"condition\":\"${P210821917413718}=='中高'\",\"value\":\"人工审查\",\"_cellSelection_112\":[1],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_118\":[0],\"_cellSelection_124\":[1],\"_cellSelection_130\":[0]},{\"uuid\":\"e7b4c64d-4780-48a6-abaa-d7668f576277\",\"condition\":\"${P210821917413718}=='较高'\",\"value\":\"人工审查\",\"_cellSelection_112\":[1],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_118\":[0],\"_cellSelection_124\":[1],\"_cellSelection_130\":[0]},{\"uuid\":\"f9bfd219-972b-46a1-a9f5-8e7f881deba7\",\"condition\":\"${P210821917413718}=='高'\",\"value\":\"拒绝\",\"_cellSelection_112\":[1],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_118\":[0],\"_cellSelection_124\":[1],\"_cellSelection_130\":[2]}]" + } ] + } ] + } ], + "parameters" : [ { + "type" : "OUT", + "id" : "c1559c5c-6ec2-4044-910e-098429d6811a", + "code" : "P209214046950231", + "name" : "准入审批策略结果", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : [ { + "type" : "EXECUTION_FLOW", + "id" : "b5b98f36-4209-45ff-8be7-fc67c3f918c4", + "description" : null, + "order" : 1, + "enable" : true, + "executionFlow" : "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "ee85ce6a-57a7-4392-8130-f08792509000", + "code" : "M1628237894543", + "name" : "决策表", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "ebe01c5a-44c1-4e13-864e-53150eed25f5", + "code" : "M1628237907406", + "name" : "简单决策表", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "11cc23c6-3e7c-4a0d-9af0-59cc84049c2c", + "code" : "M1628237907406", + "name" : "简单决策表", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "c12c1992-6793-4b9f-8a9a-95e0122a4bb3", + "code" : "P1628237927665", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "97cf4185-2fdb-4795-ad9f-9f3f9710fc7c", + "code" : "P1628237939484", + "name" : "性别", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "03816f2c-a729-4226-82be-b1f135020ada", + "code" : "P1628237959531", + "name" : "结果", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "DECISION_TABLE_2C", + "id" : "bce076b0-25e9-4d60-8959-93724f3615ac", + "description" : null, + "order" : 1, + "enable" : true, + "decisionTable2C" : "[{\"C0\":\"\",\"C1\":\"${P1628237939484}==\\\"男\\\"\",\"C2\":\"${P1628237939484}==\\\"女\\\"\",\"uuid\":\"f23941de-9af3-4f6d-be22-28d748fbec8b\",\"_cellSelection_21\":[0],\"_embeddedComponents_isc_DecisionTable2CItem_0_decisionTable\":null},{\"C0\":\"${P1628237927665}<60\",\"C1\":\"5\",\"C2\":\"4\",\"uuid\":\"2ac76cf1-dcdf-4a9a-8d27-e18d7f265078\",\"_cellSelection_21\":[0],\"_embeddedComponents_isc_DecisionTable2CItem_0_decisionTable\":null},{\"C0\":\"${P1628237927665}<50\",\"C1\":\"6\",\"C2\":\"5\",\"uuid\":\"70782577-ba23-4c63-be9c-d62744c2e8cd\",\"_cellSelection_21\":[4]}]" + } ] + } ] + } + }, { + "type" : "MODEL", + "id" : "f78bf398-4730-429e-ab84-881eaba00a42", + "code" : "M1628240960655", + "name" : "决策表", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "eb67c27e-8e7c-4a72-9a0e-a262fe4e9918", + "code" : "M1628240960655", + "name" : "决策表", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "2e76a90c-659f-4327-a605-18e861baa027", + "code" : "P1628241001471", + "name" : "客户类型", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "b4e06330-4187-403c-8abb-ba241db995c8", + "code" : "P1628241022194", + "name" : "评分结果", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "758a7b2d-c31e-47e3-9215-e77e545f810e", + "code" : "P1628241044454", + "name" : "风险等级", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "315b5638-49ca-41ab-889a-b1f38b429454", + "code" : "P1628240978932", + "name" : "结果值", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "DECISION_TABLE", + "id" : "cabb78a4-24d4-4a28-9f20-d397cfc8f119", + "description" : null, + "order" : 1, + "enable" : true, + "decisionTable" : "[{\"uuid\":\"a0eabb03-9e92-410e-a2c4-eb1f864d168a\",\"type\":\"condition\",\"C0\":\"${P1628241001471}=\\\"普通客户\\\"\",\"C1\":\"Y\",\"C2\":\"Y\",\"C3\":null,\"C4\":null,\"groupParentId\":null,\"_name\":\"7_1\",\"isFolder\":null},{\"uuid\":\"67bfdfc6-bfd5-4e06-b7c7-bd721f890641\",\"type\":\"condition\",\"C0\":\"${P1628241022194}>=60\",\"C1\":\"Y\",\"C2\":null,\"C3\":\"Y\",\"C4\":null,\"groupParentId\":null,\"_name\":\"7_2\",\"isFolder\":null},{\"uuid\":\"3df00dc7-a69f-4666-a247-9ad4071ac889\",\"type\":\"result\",\"C0\":\"${P1628241044454}\",\"C1\":\"A\",\"C2\":\"B\",\"C3\":\"B\",\"C4\":\"C\",\"groupParentId\":null,\"_name\":\"7_4\",\"isFolder\":null},{\"uuid\":\"23b85447-a0d9-4c3b-91a1-3f8381c0dc0b\",\"type\":\"result\",\"C0\":\"${决策结果}\",\"C1\":\"直接通过\",\"C2\":\"人工审查\",\"C3\":\"人工审查\",\"C4\":\"直接拒绝\",\"groupParentId\":null,\"_name\":\"7_5\",\"isFolder\":null}]" + } ] + } ] + } + } ], + "testCases" : null + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "7777df3f-4d0a-4e9a-8b01-e86f757d4a52", + "code" : "M1581063353585", + "name" : "预警规则", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "fb7ef65e-9cbb-46d3-be4d-1b494ba90518", + "code" : "M1581063367865", + "name" : "预警规则", + "description" : null, + "order" : null, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "3cd918d4-b9d5-43dd-8c0b-8b820e014869", + "name" : "预警规则", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 16:21:30", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "086908c7-fbda-46f1-8089-989c77e568e2", + "code" : "P1581063467577", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "4b2b556d-4afa-4421-895c-e78ddd4d46eb", + "code" : "P1581063424496", + "inputValue" : "", + "expectValue" : "0.11111111", + "resultValue" : "0.11111111", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "7ad5407d-8012-4f64-8f75-d1ae7e47b095", + "code" : "P1581063405325", + "inputValue" : "10000", + "expectValue" : "", + "resultValue" : "", + "testResult" : null, + "skipCheck" : false + }, { + "id" : "8ac3adeb-0708-41e0-a4ac-c5ba7bfbdfb5", + "code" : "P1581063412843", + "inputValue" : "9000", + "expectValue" : "", + "resultValue" : "", + "testResult" : null, + "skipCheck" : false + }, { + "id" : "d56708e0-1099-44af-868c-ef11e56a3975", + "code" : "P1581063447080", + "inputValue" : "", + "expectValue" : "{\n \"isTriggered\" : true,\n \"level\" : 1,\n \"category\" : null,\n \"value\" : \"0.1111111111\",\n \"message\" : \"收入增长率(11.11%) 小于 20.00%\"\n}", + "resultValue" : "{\n \"isTriggered\" : true,\n \"level\" : 1,\n \"category\" : null,\n \"value\" : \"0.1111111111\",\n \"message\" : \"收入增长率(11.11%) 小于 20.00%\"\n}", + "testResult" : "PASSED", + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "", + "model" : { + "id" : "c4636d73-7ff8-4f5d-b812-ae75cc38cd2e", + "code" : "M1581063367865", + "name" : "预警规则", + "description" : null, + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "CONSTANT", + "id" : "51a5360c-e54c-487f-beef-94ca1bc939dd", + "code" : "P1581063467577", + "name" : "收入增长率阈值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : "0.2", + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "9e8ec0b4-3186-4e4e-a9b4-c8f66638e9b5", + "code" : "P1581063405325", + "name" : "本期收入", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "cb5a84e2-19b1-4aa8-9058-86441f801474", + "code" : "P1581063412843", + "name" : "上期收入", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : null + }, { + "type" : "INTERMEDIATE", + "id" : "9ddb935d-99df-4f59-8678-b30772c44e50", + "code" : "P1581063424496", + "name" : "收入增长率", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 8, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "e236c81e-f5d6-4b49-b624-970db1daf301", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P1581063412843}==0", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "ARITHMETIC", + "id" : "0b8797ac-7474-40fe-b5c0-3693e3970cbd", + "description" : null, + "order" : 2, + "enable" : true, + "arithmetic" : "( ${P1581063405325} - ${P1581063412843} ) / ${P1581063412843}" + } ] + }, { + "type" : "SINGLE_RULE_RESULT", + "id" : "5338f936-0198-4582-ac8d-79ccd4101c83", + "code" : "P1581063447080", + "name" : "收入增长较小", + "description" : null, + "valueType" : "org.wsp.engine.rule.core.classes.SingleRuleResult", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 5, + "validators" : null, + "processors" : [ { + "type" : "SINGLE_RULE", + "id" : "7369a901-2508-4e6c-9a86-c636d990aa19", + "description" : null, + "order" : 1, + "enable" : true, + "singleRule" : "[{\"uuid\":\"968c9385-3c5b-45c6-980b-a4c4bc40e1b8\",\"level\":1,\"category\":\"\",\"condition\":\"${P1581063424496}<${P1581063467577}\",\"value\":\"${P1581063424496}\",\"message\":\"收入增长率(`percent2(${P1581063424496})`) 小于 `percent2(${P1581063467577})`\",\"_cellSelection_18\":[8],\"_embeddedComponents_isc_RuleItem_1_rule\":null}]" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "83198c87-f373-4458-aef2-18c309aecf17", + "code" : "F1576052960691", + "name" : "imports", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "8cea817d-67f1-47ca-8f8e-47ea65b690b3", + "code" : "M16304379203093", + "name" : "import", + "description" : "该示例演示在直接调用子模型时,能够包含顶级模型设置的 imports", + "order" : 0, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "import org.wsp.engine.rule.client.spring.util.EngineSpringApplicationContextUtil;", + "model" : { + "id" : "e3381037-c488-4286-99f8-24512ee822ae", + "code" : "M16304379203093", + "name" : "import", + "description" : "该示例演示在直接调用子模型时,能够包含顶级模型设置的 imports", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "0313c446-2589-43cd-8a55-6a7eab520c06", + "code" : "M16606815328003", + "name" : "子模型", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "941a897f-5802-45e5-a2e9-e7a67ae2fd91", + "code" : "M55051526287391", + "name" : "aaa", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "37a6c463-7559-4eb8-8b34-644cf18d2099", + "code" : "M55056639894039", + "name" : "bbbb", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : [ { + "id" : "84c72024-7a48-425c-9d39-5e00b78c23da", + "code" : "M55060979188718", + "name" : "cccc", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : null + } ], + "parameters" : null + } ], + "parameters" : null + } ], + "parameters" : null + } ], + "parameters" : null + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "a40d9910-a874-4eed-9874-076729a886b7", + "code" : "F1576052960687", + "name" : "JDBC", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "6e725727-4d52-4b57-993d-7c2f3ed613ea", + "code" : "M192312120849566", + "name" : "jdbc", + "description" : "该示例演示执行数据库操作", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "96e8c49d-8d32-4b04-846f-5fae924d17fc", + "name" : "jdbc", + "description" : null, + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:17", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "36569be1-1c89-470d-8071-c4515315c288", + "code" : "P192352405984101", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "6325c4ca-d463-473e-88f9-5a8c019b13da", + "code" : "P218506350179913", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "755db81c-10d3-430e-9581-4a79a5750a80", + "code" : "P192371958245504", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "999ffd4d-641d-4ee0-97f8-4e2ea0b343b8", + "code" : "P4446531415420", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "9c6d5362-88d4-41fc-989c-9505c375eb1a", + "code" : "P4556987808403", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : "import org.wsp.engine.rule.client.spring.util.EngineSpringApplicationContextUtil;", + "model" : { + "id" : "edbe80ee-b07c-4271-b16e-ead3fdce1eee", + "code" : "M192312120849566", + "name" : "jdbc", + "description" : "该示例演示执行数据库操作", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "CONSTANT", + "id" : "71595750-f0d1-4dfd-8516-d2a4b7379514", + "code" : "P192352405984101", + "name" : "字段名", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : "FD_NAME", + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "49968ed6-e9c1-41c5-a3c5-31d9c1897824", + "code" : "P218506350179913", + "name" : "where条件", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : "FD_TYPE='MODEL'", + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "fb8af27b-b53e-4177-8c74-928deb2ab50d", + "code" : "P4446531415420", + "name" : "交易额阈值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : "1000000", + "order" : 3, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "06f52193-c544-4c1f-a475-6da99a8e583d", + "code" : "P4556987808403", + "name" : "F001", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "53c4b5f1-c1ba-4a29-88b7-4f75fa59910d", + "code" : "P192371958245504", + "name" : "规则", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 5, + "validators" : null, + "processors" : [ { + "type" : "GROOVY_SCRIPT", + "id" : "b01aee6a-a5ff-458d-9556-2090bcd1a07d", + "description" : null, + "order" : 1, + "enable" : true, + "groovyScript" : "ESql.withInstance(EngineSpringApplicationContextUtil.getDefaultDataSource()){ sql->\n sql.query(\"SELECT * FROM RE_RESOURCE where \" + ${P218506350179913}) { resultSet ->\n \twhile (resultSet.next()) {\n def first = resultSet.getString(${P192352405984101});\n \tprintln first;\n \t}\n }\n}" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "b697d652-14d1-4ecf-ad34-ae8bab54068d", + "code" : "F1576052960687", + "name" : "模型", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "1c15cd84-0834-4158-873a-008ca847b4df", + "code" : "F1576052960687", + "name" : "个人汽车贷款", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "cc29cafd-7b01-440b-b1ed-d5950ef245c7", + "code" : "M849814295141818", + "name" : "个人汽车贷款", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "a693fe0f-f9a9-41bf-a63f-e2aed2c9759e", + "code" : "M849814295141818", + "name" : "个人汽车贷款", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : null + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "921e1fe9-45a9-47d5-b6a1-5a739145fcd1", + "code" : "F1576052960687", + "name" : "个人消费贷款", + "description" : null, + "order" : null, + "children" : [ { + "type" : "FOLDER", + "id" : "ac473efe-3aaa-442d-a56c-d752e27962f5", + "code" : "F1576052960687", + "name" : "冠军模型", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "8059c3b7-07ae-40c2-9d31-4895915cb1a3", + "code" : "M228290627110404", + "name" : "个人消费贷款(冠军)模型", + "description" : " 冠军模型", + "order" : 0, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "03833b41-17ad-4fdb-9d74-ee503a20b323", + "code" : "M228290627110404", + "name" : "个人消费贷款(冠军)模型", + "description" : " 冠军模型", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "bfde263f-c5af-489c-ae35-8cf4019d0d52", + "code" : "P_AGE", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "dabfff17-d932-42e6-b9c5-2abe69341669", + "code" : "P_APPLY", + "name" : "申请额度", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "ae1720d3-05c0-4b31-be73-3322d4a6979e", + "code" : "P_LIMIT", + "name" : "批准额度", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "CONDITION_RANGE", + "id" : "6bf38147-f601-41e6-808c-6a7f205a42f5", + "description" : null, + "order" : 1, + "enable" : true, + "conditionRange" : "[{\"uuid\":\"8864c00f-2aef-4664-9347-98b6e8660ab0\",\"condition\":\"${P_AGE}<18\",\"value\":\"0\",\"_cellSelection_5\":[0]},{\"uuid\":\"2c57d668-3c9e-4e13-8e45-9acaf7b50348\",\"condition\":\"${P_AGE}>=18 && ${P_AGE}<30\",\"value\":\"${P_APPLY}*0.5\",\"_cellSelection_5\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null},{\"uuid\":\"5d6919d3-51b0-4c00-a560-d2dd2856dbcd\",\"condition\":\"${P_AGE}>=30 && ${P_AGE}<50\",\"value\":\"${P_APPLY}\",\"_cellSelection_5\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null},{\"uuid\":\"1ac41ea8-b658-403f-a687-b339f8c032c0\",\"condition\":\"${P_AGE}>=50 && ${P_AGE}<60\",\"value\":\"${P_APPLY}*0.8\",\"_cellSelection_5\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null},{\"uuid\":\"6e000109-5543-4446-8215-3e342c9dfa6b\",\"_cellSelection_5\":[2],\"condition\":\"${P_AGE}>=60\",\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"value\":\"${P_APPLY}*0.2\"}]" + } ] + } ] + } + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "eede06c4-4fb9-4981-9ae2-4aa9b6e362a8", + "code" : "F1576052960687", + "name" : "挑战者模型", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "0b50e7d9-e857-4429-9933-29425ae4e347", + "code" : "M240621751012043", + "name" : "个人消费贷款(挑战者)模型", + "description" : "挑战者模型", + "order" : 0, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "a4d4f1e9-3ef1-4e20-818d-6703c52f063a", + "code" : "M240621751012043", + "name" : "个人消费贷款(挑战者)模型", + "description" : "挑战者模型", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN", + "id" : "ac8ffc13-faf7-421b-abe8-579383ecac44", + "code" : "P_AGE", + "name" : "年龄", + "description" : null, + "valueType" : "java.lang.Long", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "48fa82bb-b1c7-4ab5-88cf-058677ac771a", + "code" : "P_APPLY", + "name" : "申请额度", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : null + }, { + "type" : "OUT", + "id" : "5a36dd35-5259-4833-80d5-3b911976d118", + "code" : "P_LIMIT", + "name" : "批准额度", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "CONDITION_RANGE", + "id" : "54c3aae3-e184-4393-8fa0-00f15f482e5f", + "description" : null, + "order" : 1, + "enable" : true, + "conditionRange" : "[{\"uuid\":\"8864c00f-2aef-4664-9347-98b6e8660ab0\",\"condition\":\"${P_AGE}<18\",\"value\":\"0\",\"_cellSelection_5\":[0],\"_cellSelection_11\":[0]},{\"uuid\":\"2c57d668-3c9e-4e13-8e45-9acaf7b50348\",\"condition\":\"${P_AGE}>=18 && ${P_AGE}<30\",\"value\":\"${P_APPLY}*0.4\",\"_cellSelection_5\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_11\":[0]},{\"uuid\":\"5d6919d3-51b0-4c00-a560-d2dd2856dbcd\",\"condition\":\"${P_AGE}>=30 && ${P_AGE}<50\",\"value\":\"${P_APPLY}*0.8\",\"_cellSelection_5\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_11\":[0]},{\"uuid\":\"1ac41ea8-b658-403f-a687-b339f8c032c0\",\"condition\":\"${P_AGE}>=50 && ${P_AGE}<60\",\"value\":\"${P_APPLY}*0.6\",\"_cellSelection_5\":[0],\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"_cellSelection_11\":[0]},{\"uuid\":\"6e000109-5543-4446-8215-3e342c9dfa6b\",\"_cellSelection_5\":[2],\"condition\":\"${P_AGE}>=60\",\"_embeddedComponents_isc_ConditionRangeItem_0_conditionRange\":null,\"value\":\"0\",\"_cellSelection_11\":[2]}]" + } ] + } ] + } + } ], + "testCases" : null + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "efaae44e-3e48-4027-81e5-6b66afd8ea05", + "code" : "F1576052960687", + "name" : "个人房屋贷款", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "b502775c-435e-4679-b0a9-f8b9cb53d226", + "code" : "M849835362382753", + "name" : "个人房屋贷款", + "description" : null, + "order" : null, + "children" : null, + "testCases" : null, + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "a1c1893e-4495-4fee-9bac-ac53224677ab", + "code" : "M849835362382753", + "name" : "个人房屋贷款", + "description" : null, + "enable" : true, + "order" : null, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "IN_OPTION", + "id" : "8ea75704-6215-41f1-8400-72265b73b466", + "code" : "P36645966634861", + "name" : "事实上", + "description" : null, + "valueType" : "java.lang.String", + "valueTypeVersion" : null, + "valueScale" : null, + "valueRoundingMode" : null, + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 1, + "validators" : null, + "processors" : null, + "options" : null + } ] + } + } ], + "testCases" : null + } ], + "testCases" : null + }, { + "type" : "FOLDER", + "id" : "d97ea6c8-3bdd-47a7-aec7-2ece6bc3d31f", + "code" : "F1576052960691", + "name" : "小数0", + "description" : null, + "order" : null, + "children" : [ { + "type" : "MODEL", + "id" : "d8e2b2e2-aedb-4eb8-a7d4-d23a986d6691", + "code" : "M176840447440063", + "name" : "小数0", + "description" : "该示例演示小数 0==0.000000", + "order" : 0, + "children" : null, + "testCases" : [ { + "type" : "MODEL", + "id" : "a35bc00a-08fc-4202-9b22-967b88bd4ab3", + "name" : "小数0-1", + "description" : "空输入值", + "order" : 1, + "lastTestDate" : "2020-02-07 15:33:18", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "3a0e9e3e-a737-44e4-ab31-164feb0cbb7c", + "code" : "P176928607325924", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "a470999d-4570-4b51-b2da-cada47d86f04", + "code" : "P176869873523272", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0.000000", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "a7fbc951-5e4d-40a9-934a-59bf63bfb3b5", + "code" : "P176861923488808", + "inputValue" : null, + "expectValue" : "0", + "resultValue" : "0.000000", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "d8994e84-ddcc-4dfd-8d8c-a47a910ac8bf", + "code" : "P176850223889736", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + }, { + "type" : "MODEL", + "id" : "89e817da-6dc5-4a29-96d4-381cc5449cce", + "name" : "小数0-2", + "description" : "非空输入值", + "order" : 2, + "lastTestDate" : "2020-02-07 15:33:18", + "testResult" : "PASSED", + "parameters" : [ { + "id" : "7973c75b-cb61-455d-8985-3ebab08453d7", + "code" : "P176861923488808", + "inputValue" : null, + "expectValue" : "0.11", + "resultValue" : "0.110000", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "8814bb34-e30d-4a12-9eea-ad8269fe8305", + "code" : "P176928607325924", + "inputValue" : null, + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + }, { + "id" : "8a6601d6-0f06-4b4e-bc91-3e39c107caea", + "code" : "P176869873523272", + "inputValue" : null, + "expectValue" : "0.009894", + "resultValue" : "0.009894", + "testResult" : "PASSED", + "skipCheck" : false + }, { + "id" : "ad0902d0-c4fd-4fda-854b-a056702253fb", + "code" : "P176850223889736", + "inputValue" : "0.11", + "expectValue" : null, + "resultValue" : null, + "testResult" : null, + "skipCheck" : false + } ] + } ], + "status" : "SKETCH", + "version" : 1, + "effectiveDate" : null, + "imports" : null, + "model" : { + "id" : "186f899e-17a9-4183-9963-744c30ce4e0a", + "code" : "M176840447440063", + "name" : "小数0", + "description" : "该示例演示小数 0==0.000000", + "enable" : true, + "order" : 0, + "category" : "OTHER", + "executeMode" : "DOWN_TOP", + "children" : null, + "parameters" : [ { + "type" : "CONSTANT", + "id" : "6a9db917-f416-4e65-a220-75dee0b64215", + "code" : "P176928607325924", + "name" : "权重", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : "0.089946432331221", + "order" : 1, + "validators" : null, + "processors" : null + }, { + "type" : "IN", + "id" : "2a92f7d8-6342-4267-865e-ebfaf29daeda", + "code" : "P176850223889736", + "name" : "输入值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 2, + "validators" : null, + "processors" : null + }, { + "type" : "INTERMEDIATE", + "id" : "edc41f87-b85d-4e20-bf9f-6e712867f269", + "code" : "P176861923488808", + "name" : "中间值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 3, + "validators" : null, + "processors" : [ { + "type" : "WHEN_THEN", + "id" : "c83026d8-907f-46d0-8a13-bcee1366d843", + "description" : null, + "order" : 1, + "enable" : true, + "when" : "${P176850223889736}==null", + "then" : "0", + "isWhenThenShorted" : true + }, { + "type" : "ARITHMETIC", + "id" : "4bc0e17f-178c-4fef-8bc1-3996242eb5b7", + "description" : null, + "order" : 2, + "enable" : true, + "arithmetic" : "${P176850223889736}" + } ] + }, { + "type" : "OUT", + "id" : "14f9fe4a-51ee-4763-9e6a-be5b13c69173", + "code" : "P176869873523272", + "name" : "结果值", + "description" : null, + "valueType" : "java.math.BigDecimal", + "valueTypeVersion" : null, + "valueScale" : 6, + "valueRoundingMode" : "HALF_UP", + "valueTypeIsList" : false, + "defaultValue" : null, + "order" : 4, + "validators" : null, + "processors" : [ { + "type" : "ARITHMETIC", + "id" : "1e35b260-fce4-42d6-93f4-cae6ca0ddd8b", + "description" : null, + "order" : 1, + "enable" : true, + "arithmetic" : "${P176861923488808}*${P176928607325924}" + } ] + } ] + } + } ], + "testCases" : null + } ], + "testCases" : null + } ], + "testCases" : null +} \ No newline at end of file diff --git a/io.sc.engine.rule.server/src/main/resources/liquibase/RE_1.0.0_20220515__Rule Engine Database Schema DDL.xml b/io.sc.engine.rule.server/src/main/resources/liquibase/RE_1.0.0_20220515__Rule Engine Database Schema DDL.xml index d8517683..77a8aeec 100644 --- a/io.sc.engine.rule.server/src/main/resources/liquibase/RE_1.0.0_20220515__Rule Engine Database Schema DDL.xml +++ b/io.sc.engine.rule.server/src/main/resources/liquibase/RE_1.0.0_20220515__Rule Engine Database Schema DDL.xml @@ -362,9 +362,9 @@ - + - + @@ -380,7 +380,7 @@ @@ -396,7 +396,7 @@ - + @@ -412,8 +412,8 @@ diff --git a/io.sc.platform.core.frontend/src/platform/components/grid/WGrid.vue b/io.sc.platform.core.frontend/src/platform/components/grid/WGrid.vue index db2861e6..d71f1f19 100644 --- a/io.sc.platform.core.frontend/src/platform/components/grid/WGrid.vue +++ b/io.sc.platform.core.frontend/src/platform/components/grid/WGrid.vue @@ -209,7 +209,7 @@ {{ $t('tip.pagenation.totalRecord', { count: state.pagination.rowsNumber }) }} -