diff --git a/cips.frontend/package.json b/cips.frontend/package.json index 0c893a71..7c158101 100644 --- a/cips.frontend/package.json +++ b/cips.frontend/package.json @@ -1,6 +1,6 @@ { "name": "cips.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/erm.frontend/package.json b/erm.frontend/package.json index 88bf52ad..760f2071 100644 --- a/erm.frontend/package.json +++ b/erm.frontend/package.json @@ -1,6 +1,6 @@ { "name": "erm.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/gradle.properties b/gradle.properties index edc9a4ef..eedcd8b5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -37,9 +37,9 @@ application_version=1.0.0 # platform ########################################################### platform_group=io.sc -platform_version=8.2.39 +platform_version=8.2.40 platform_plugin_version=8.2.10 -platform_core_frontend_version=8.2.132 +platform_core_frontend_version=8.2.133 ########################################################### # dependencies version diff --git a/io.sc.engine.mv.frontend/package.json b/io.sc.engine.mv.frontend/package.json index 40afb100..6c8e2463 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.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.engine.rule.frontend/package.json b/io.sc.engine.rule.frontend/package.json index 2ff64318..cf669f03 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.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/common/initializer/RateUpdateWorkFlowInitializer.java b/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/common/initializer/RateUpdateWorkFlowInitializer.java deleted file mode 100644 index d383a803..00000000 --- a/io.sc.engine.rule.server/src/main/java/io/sc/engine/rule/server/common/initializer/RateUpdateWorkFlowInitializer.java +++ /dev/null @@ -1,86 +0,0 @@ -package io.sc.engine.rule.server.common.initializer; - -import io.sc.engine.rule.server.common.service.RuleEngineServerConfigurationService; -import io.sc.platform.core.Environment; -import io.sc.platform.core.initializer.ApplicationInitializer; -import io.sc.platform.core.initializer.ApplicationInitializerExecuteException; -import io.sc.platform.flowable.enums.ProcessStatus; -import io.sc.platform.flowable.jpa.entity.ProcessEntity; -import io.sc.platform.flowable.service.ProcessEntityService; -import io.sc.platform.util.FileUtil; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.context.ApplicationContext; - -import java.io.IOException; -import java.util.List; -import java.util.Locale; - -public class RateUpdateWorkFlowInitializer implements ApplicationInitializer{ - public static final String RRATE_UPDATE_CANCEL_WORKFLOW_CATEGORY ="WORK_FLOW"; - public static final String RATE_UPDATE_CANCEL_WORKFLOW_KEY ="RATE_UPDATE_CANCEL_APPROVING"; - private static final Logger log =LoggerFactory.getLogger(RateUpdateWorkFlowInitializer.class); - private Boolean isInitialized =null; - private ApplicationContext applicationContext; - private ProcessEntityService processEntityService; - - @Override - public void init(ApplicationContext applicationContext) { - this.processEntityService =applicationContext.getBean(ProcessEntityService.class); - this.applicationContext =applicationContext; - } - - @Override - public int getOrder() { - return 1200; - } - - @Override - public synchronized boolean isInitialized() { - if(isInitialized!=null) { - return isInitialized; - } - List entities =processEntityService.getRepository().findByKey(RATE_UPDATE_CANCEL_WORKFLOW_KEY); - if(entities==null || entities.isEmpty()){ - isInitialized =false; - }else { - isInitialized = true; - } - return isInitialized; - } - - @Override - public void execute() throws ApplicationInitializerExecuteException { - try { - ProcessEntity entity = new ProcessEntity(); - entity.setCategory(RATE_UPDATE_CANCEL_WORKFLOW_KEY); - entity.setKey(RATE_UPDATE_CANCEL_WORKFLOW_KEY); - entity.setName(applicationContext.getMessage(RRATE_UPDATE_CANCEL_WORKFLOW_CATEGORY + "." + RATE_UPDATE_CANCEL_WORKFLOW_KEY, null, Locale.getDefault())); - entity.setStatus(ProcessStatus.RELEASE); - entity.setVersion(1); - entity.setCanClaimTask(false); - entity.setXml(getRateUpdateCancelWorkflowXmlContent()); - entity.setBusinessDescriptionSql( - "select\n" + - " CONCAT(CODE_,':',VERSION_) BUSINESS_KEY,\n" + - " '模型发布审批' BUSINESS_TYPE,\n" + - " NAME_ CUST_NO,\n" + - " CONCAT('V',VERSION_) CUST_NAME,\n" + - " NULL PROCESS_STATUS\n" + - "from RE_RESOURCE\n" + - "where CONCAT(CODE_,':',VERSION_) = '${businessKey}'" - ); - entity.setTaskHandFrontendModelName("io.sc.engine.rule.frontend"); - entity.setTaskHandFrontendComponentName("io.sc.engine.rule.frontend.workflow.ApprovalComponent"); - entity = processEntityService.add(entity); - processEntityService.deploy(entity.getId()); - }catch (Exception e){ - log.error("",e); - throw new ApplicationInitializerExecuteException(e); - } - } - - private String getRateUpdateCancelWorkflowXmlContent() throws IOException { - return FileUtil.readString("classpath:/workflow/io/sc/engine/rule/Sample.bpmn", Environment.DEFAULT_CHARSET_NAME); - } -} diff --git a/io.sc.engine.st.frontend/package.json b/io.sc.engine.st.frontend/package.json index c3cb3664..1505f2e7 100644 --- a/io.sc.engine.st.frontend/package.json +++ b/io.sc.engine.st.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.engine.st.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.ai.frontend/package.json b/io.sc.platform.ai.frontend/package.json index 82250693..6c51b2b2 100644 --- a/io.sc.platform.ai.frontend/package.json +++ b/io.sc.platform.ai.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.ai.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.core.frontend/package.json b/io.sc.platform.core.frontend/package.json index eda1942c..9d4d260b 100644 --- a/io.sc.platform.core.frontend/package.json +++ b/io.sc.platform.core.frontend/package.json @@ -1,6 +1,6 @@ { "name": "platform-core", - "version": "8.2.132", + "version": "8.2.133", "description": "前端核心包,用于快速构建前端的脚手架", "//main": "库的主文件", "main": "dist/platform-core.js", diff --git a/io.sc.platform.core.frontend/template-project/package.json b/io.sc.platform.core.frontend/template-project/package.json index 94975aed..86fee1fb 100644 --- a/io.sc.platform.core.frontend/template-project/package.json +++ b/io.sc.platform.core.frontend/template-project/package.json @@ -1,6 +1,6 @@ { "name": "platform-core", - "version": "8.2.132", + "version": "8.2.133", "description": "前端核心包,用于快速构建前端的脚手架", "private": false, "keywords": [], @@ -111,7 +111,7 @@ "mockjs": "1.1.0", "node-sql-parser": "5.3.6", "pinia": "2.3.0", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.core/src/main/resources/io/sc/platform/core/config/logback-spring.xml b/io.sc.platform.core/src/main/resources/io/sc/platform/core/config/logback-spring.xml index 72deaf3c..d30afa9f 100644 --- a/io.sc.platform.core/src/main/resources/io/sc/platform/core/config/logback-spring.xml +++ b/io.sc.platform.core/src/main/resources/io/sc/platform/core/config/logback-spring.xml @@ -21,7 +21,29 @@ + + + ${pattern} + ${homedir}/logs/info.log + + ${homedir}/logs/info.%d.%i.log + 180 + 100MB + + + + + + + + + + + + + + - + + + + + + diff --git a/io.sc.platform.developer.doc/package.json b/io.sc.platform.developer.doc/package.json index b486d34b..bc1f9957 100644 --- a/io.sc.platform.developer.doc/package.json +++ b/io.sc.platform.developer.doc/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.developer.doc", - "version": "8.2.39", + "version": "8.2.40", "description": "", "main": "index.js", "scripts": { @@ -28,7 +28,7 @@ "vuepress": "2.0.0-rc.15" }, "dependencies": { - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "vue": "3.5.13", "vue-i18n": "11.0.1" diff --git a/io.sc.platform.developer.frontend/package.json b/io.sc.platform.developer.frontend/package.json index b3b11001..a8241462 100644 --- a/io.sc.platform.developer.frontend/package.json +++ b/io.sc.platform.developer.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.developer.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.lcdp.frontend/package.json b/io.sc.platform.lcdp.frontend/package.json index fbf759ab..70e92451 100644 --- a/io.sc.platform.lcdp.frontend/package.json +++ b/io.sc.platform.lcdp.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.lcdp.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.license.keygen.frontend/package.json b/io.sc.platform.license.keygen.frontend/package.json index 37761b27..e0a4ee8d 100644 --- a/io.sc.platform.license.keygen.frontend/package.json +++ b/io.sc.platform.license.keygen.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.license.keygen.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.mvc.frontend/package.json b/io.sc.platform.mvc.frontend/package.json index f3086824..06589d1f 100644 --- a/io.sc.platform.mvc.frontend/package.json +++ b/io.sc.platform.mvc.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.mvc.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.scheduler.manager.frontend/package.json b/io.sc.platform.scheduler.manager.frontend/package.json index 7df9faa9..cabb1199 100644 --- a/io.sc.platform.scheduler.manager.frontend/package.json +++ b/io.sc.platform.scheduler.manager.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.scheduler.manager.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.platform.system.frontend/package.json b/io.sc.platform.system.frontend/package.json index df78dda3..19ce27dc 100644 --- a/io.sc.platform.system.frontend/package.json +++ b/io.sc.platform.system.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.platform.system.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -111,7 +111,7 @@ "mockjs": "1.1.0", "node-sql-parser": "5.3.6", "pinia": "2.3.0", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.standard.frontend/package.json b/io.sc.standard.frontend/package.json index 0059b6bb..0c88c781 100644 --- a/io.sc.standard.frontend/package.json +++ b/io.sc.standard.frontend/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.standard.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -112,7 +112,7 @@ "node-sql-parser": "5.3.6", "pinia": "2.3.0", "pinia-undo": "0.2.4", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7", diff --git a/io.sc.website/package.json b/io.sc.website/package.json index ecde7a85..a12c9fff 100644 --- a/io.sc.website/package.json +++ b/io.sc.website/package.json @@ -1,6 +1,6 @@ { "name": "io.sc.website", - "version": "8.2.39", + "version": "8.2.40", "description": "", "main": "index.js", "scripts": { @@ -28,6 +28,6 @@ }, "dependencies": { "vue": "3.5.13", - "platform-core": "8.2.132" + "platform-core": "8.2.133" } } \ No newline at end of file diff --git a/wra.report.frontend/package.json b/wra.report.frontend/package.json index 58c76524..d4b4dd33 100644 --- a/wra.report.frontend/package.json +++ b/wra.report.frontend/package.json @@ -1,6 +1,6 @@ { "name": "wra.report.frontend", - "version": "8.2.39", + "version": "8.2.40", "description": "", "private": false, "keywords": [], @@ -111,7 +111,7 @@ "mockjs": "1.1.0", "node-sql-parser": "5.3.6", "pinia": "2.3.0", - "platform-core": "8.2.132", + "platform-core": "8.2.133", "quasar": "2.17.6", "sort-array": "5.0.0", "svg-path-commander": "2.1.7",