Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdst
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdst
提交
6949b074
提交
6949b074
编写于
12月 17, 2020
作者:
hebao@lab.ibiz5.com
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
使用消息队列构建
上级
4edb1aa1
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
157 行增加
和
20 行删除
+157
-20
vue.config.js
app_web/vue.config.js
+2
-1
yarn.lock
app_web/yarn.lock
+140
-6
RuleEngineExService.java
.../ibizlab/core/extensions/service/RuleEngineExService.java
+15
-13
未找到文件。
app_web/vue.config.js
浏览文件 @
6949b074
...
...
@@ -8,7 +8,8 @@ module.exports = {
publicPath
:
'./'
,
// 去除 map 文件 1
productionSourceMap
:
false
,
outputDir
:
"../ibzdst-app/ibzdst-app-web/target/classes/META-INF/resources"
,
//outputDir:"../ibzdst-app/ibzdst-app-web/target/classes/META-INF/resources",
outputDir
:
"../ibzdst-boot/target/classes/META-INF/resources"
,
devServer
:
{
host
:
'0.0.0.0'
,
port
:
8111
,
...
...
app_web/yarn.lock
浏览文件 @
6949b074
...
...
@@ -1101,6 +1101,11 @@
"@types/istanbul-reports" "^1.1.1"
"@types/yargs" "^13.0.0"
"@json-editor/json-editor@1.4.0-beta.0":
version "1.4.0-beta.0"
resolved "https://registry.npm.taobao.org/@json-editor/json-editor/download/@json-editor/json-editor-1.4.0-beta.0.tgz#a3c0ab5df95daa0f549bc725f24a9abc4ddb00a2"
integrity sha1-o8CrXfldqg9Um8cl8kqavE3bAKI=
"@mapbox/geojson-rewind@^0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.0.tgz#91f0ad56008c120caa19414b644d741249f4f560"
...
...
@@ -1171,6 +1176,15 @@
dependencies:
mkdirp "^1.0.4"
"@nuxt/opencollective@^0.3.2":
version "0.3.2"
resolved "https://registry.npm.taobao.org/@nuxt/opencollective/download/@nuxt/opencollective-0.3.2.tgz#83cb70cdb2bac5fad6f8c93529e7b11187d49c02"
integrity sha1-g8twzbK6xfrW+Mk1KeexEYfUnAI=
dependencies:
chalk "^4.1.0"
consola "^2.15.0"
node-fetch "^2.6.1"
"@plotly/d3-sankey-circular@0.33.1":
version "0.33.1"
resolved "https://registry.yarnpkg.com/@plotly/d3-sankey-circular/-/d3-sankey-circular-0.33.1.tgz#15d1e0337e0e4b1135bdf0e2195c88adacace1a7"
...
...
@@ -1225,6 +1239,11 @@
resolved "https://registry.yarnpkg.com/@soda/get-current-script/-/get-current-script-1.0.2.tgz#a53515db25d8038374381b73af20bb4f2e508d87"
integrity sha512-T7VNNlYVM1SgQ+VsMYhnDkcGmWhQdL0bDyGm5TlQ3GBXnJscEClUUOKduWTmm2zCnvNLC1hc3JpuXjs/nFOc5w==
"@sphinxxxx/color-conversion@^2.2.2":
version "2.2.2"
resolved "https://registry.npm.taobao.org/@sphinxxxx/color-conversion/download/@sphinxxxx/color-conversion-2.2.2.tgz#03ecc29279e3c0c832f6185a5bfa3497858ac8ca"
integrity sha1-A+zCknnjwMgy9hhaW/o0l4WKyMo=
"@turf/area@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/@turf/area/-/area-6.0.1.tgz#50ed63c70ef2bdb72952384f1594319d94f3b051"
...
...
@@ -1961,6 +1980,11 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
mime-types "~2.1.24"
negotiator "0.6.2"
ace-builds@^1.4.12:
version "1.4.12"
resolved "https://registry.npm.taobao.org/ace-builds/download/ace-builds-1.4.12.tgz#888efa386e36f4345f40b5233fcc4fe4c588fae7"
integrity sha1-iI76OG429DRfQLUjP8xP5MWI+uc=
acorn-walk@^7.1.1:
version "7.2.0"
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc"
...
...
@@ -2021,10 +2045,10 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2:
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4:
ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4
, ajv@^6.12.6
:
version "6.12.6"
resolved "https://registry.
yarnpkg.com/ajv/-/
ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
integrity sha
512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g=
=
resolved "https://registry.
npm.taobao.org/ajv/download/ajv-6.12.6.tgz?cache=0&sync_timestamp=1608057736713&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fajv%2Fdownload%2F
ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
integrity sha
1-uvWmLoArB9l3A0WG+MO69a3ybfQ
=
dependencies:
fast-deep-equal "^3.1.1"
fast-json-stable-stringify "^2.0.0"
...
...
@@ -2555,6 +2579,22 @@ boolbase@^1.0.0, boolbase@~1.0.0:
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
bootstrap-vue@^2.18.1:
version "2.20.1"
resolved "https://registry.npm.taobao.org/bootstrap-vue/download/bootstrap-vue-2.20.1.tgz?cache=0&sync_timestamp=1606810468058&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbootstrap-vue%2Fdownload%2Fbootstrap-vue-2.20.1.tgz#1b6cd4368632c1a6dd4a5ed161242baa131c3cd5"
integrity sha1-G2zUNoYywabdSl7RYSQrqhMcPNU=
dependencies:
"@nuxt/opencollective" "^0.3.2"
bootstrap ">=4.5.3 <5.0.0"
popper.js "^1.16.1"
portal-vue "^2.1.7"
vue-functional-data-merge "^3.1.0"
"bootstrap@>=4.5.3 <5.0.0":
version "4.5.3"
resolved "https://registry.npm.taobao.org/bootstrap/download/bootstrap-4.5.3.tgz#c6a72b355aaf323920be800246a6e4ef30997fe6"
integrity sha1-xqcrNVqvMjkgvoACRqbk7zCZf+Y=
boundary-cells@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/boundary-cells/-/boundary-cells-2.0.1.tgz#e905a8d1419cf47cb36be3dbf525db5e24de0042"
...
...
@@ -3444,6 +3484,11 @@ connect-history-api-fallback@^1.6.0:
resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc"
integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==
consola@^2.15.0:
version "2.15.0"
resolved "https://registry.npm.taobao.org/consola/download/consola-2.15.0.tgz#40fc4eefa4d2f8ef2e2806147f056ea207fcc0e9"
integrity sha1-QPxO76TS+O8uKAYUfwVuogf8wOk=
console-browserify@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336"
...
...
@@ -6850,6 +6895,11 @@ isstream@~0.1.2:
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
javascript-natural-sort@^0.7.1:
version "0.7.1"
resolved "https://registry.npm.taobao.org/javascript-natural-sort/download/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59"
integrity sha1-+eIwPUUH9tdDVac2ZNFED7Wg71k=
javascript-stringify@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-2.0.1.tgz#6ef358035310e35d667c675ed63d3eb7c1aa19e5"
...
...
@@ -6878,6 +6928,16 @@ jest-worker@^25.4.0:
merge-stream "^2.0.0"
supports-color "^7.0.0"
jmespath@^0.15.0:
version "0.15.0"
resolved "https://registry.npm.taobao.org/jmespath/download/jmespath-0.15.0.tgz#a3f222a9aae9f966f5d27c796510e28091764217"
integrity sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc=
jquery@^3.4.1:
version "3.5.1"
resolved "https://registry.npm.taobao.org/jquery/download/jquery-3.5.1.tgz#d7b4d08e1bfdb86ad2f1a3d039ea17304717abb5"
integrity sha1-17TQjhv9uGrS8aPQOeoXMEcXq7U=
js-calendar@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/js-calendar/-/js-calendar-1.2.3.tgz#a583b0644b4e695ba394f344d103dbcc7a7a7d3e"
...
...
@@ -6888,6 +6948,11 @@ js-message@1.0.7:
resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.7.tgz#fbddd053c7a47021871bb8b2c95397cc17c20e47"
integrity sha512-efJLHhLjIyKRewNS9EGZ4UpI8NguuL6fKkhRxVuMmrGV2xN/0APGdQYwLFky5w9naebSZ0OwAGp0G6/2Cg90rA==
js-object-pretty-print@^0.3.0:
version "0.3.0"
resolved "https://registry.npm.taobao.org/js-object-pretty-print/download/js-object-pretty-print-0.3.0.tgz#4670e450066ee1eccf35174c7d197f5aa38bcf74"
integrity sha1-RnDkUAZu4ezPNRdMfRl/WqOLz3Q=
js-queue@2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/js-queue/-/js-queue-2.0.2.tgz#0be590338f903b36c73d33c31883a821412cd482"
...
...
@@ -6948,6 +7013,11 @@ json-schema@0.2.3:
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=
json-source-map@^0.6.1:
version "0.6.1"
resolved "https://registry.npm.taobao.org/json-source-map/download/json-source-map-0.6.1.tgz#e0b1f6f4ce13a9ad57e2ae165a24d06e62c79a0f"
integrity sha1-4LH29M4Tqa1X4q4WWiTQbmLHmg8=
json-stringify-safe@~5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
...
...
@@ -6977,6 +7047,21 @@ json5@^2.1.2:
dependencies:
minimist "^1.2.5"
jsoneditor@^9.1.1:
version "9.1.5"
resolved "https://registry.npm.taobao.org/jsoneditor/download/jsoneditor-9.1.5.tgz#190a366ca5171321a120aa7460c4398b53f2b9c1"
integrity sha1-GQo2bKUXEyGhIKp0YMQ5i1PyucE=
dependencies:
ace-builds "^1.4.12"
ajv "^6.12.6"
javascript-natural-sort "^0.7.1"
jmespath "^0.15.0"
json-source-map "^0.6.1"
mobius1-selectr "^2.4.13"
picomodal "^3.0.0"
simple-json-repair "^1.1.0"
vanilla-picker "^2.11.0"
jsonfile@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
...
...
@@ -7592,6 +7677,11 @@ mkdirp@^1.0.3, mkdirp@^1.0.4:
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
mobius1-selectr@^2.4.13:
version "2.4.13"
resolved "https://registry.npm.taobao.org/mobius1-selectr/download/mobius1-selectr-2.4.13.tgz#0019dfd9f984840d6e40f70683ab3ec78ce3b5df"
integrity sha1-ABnf2fmEhA1uQPcGg6s+x4zjtd8=
mockjs@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mockjs/-/mockjs-1.1.0.tgz#e6a0c378e91906dbaff20911cc0273b3c7d75b06"
...
...
@@ -7818,6 +7908,11 @@ no-case@^2.2.0:
dependencies:
lower-case "^1.1.1"
node-fetch@^2.6.1:
version "2.6.1"
resolved "https://registry.npm.taobao.org/node-fetch/download/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=
node-forge@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3"
...
...
@@ -8457,6 +8552,11 @@ picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
picomodal@^3.0.0:
version "3.0.0"
resolved "https://registry.npm.taobao.org/picomodal/download/picomodal-3.0.0.tgz#facd30f4fbf34a809c1e04ea525f004f399c0b82"
integrity sha1-+s0w9PvzSoCcHgTqUl8ATzmcC4I=
pify@^2.0.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
...
...
@@ -8622,10 +8722,15 @@ polytope-closest-point@^1.0.0:
dependencies:
numeric "^1.2.6"
popper.js@^1.14.6:
popper.js@^1.14.6
, popper.js@^1.16.1
:
version "1.16.1"
resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1.tgz#2a223cb3dc7b6213d740e40372be40de43e65b1b"
integrity sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==
resolved "https://registry.npm.taobao.org/popper.js/download/popper.js-1.16.1.tgz#2a223cb3dc7b6213d740e40372be40de43e65b1b"
integrity sha1-KiI8s9x7YhPXQOQDcr5A3kPmWxs=
portal-vue@^2.1.7:
version "2.1.7"
resolved "https://registry.npm.taobao.org/portal-vue/download/portal-vue-2.1.7.tgz#ea08069b25b640ca08a5b86f67c612f15f4e4ad4"
integrity sha1-6ggGmyW2QMoIpbhvZ8YS8V9OStQ=
portfinder@^1.0.26:
version "1.0.28"
...
...
@@ -9814,6 +9919,11 @@ select-hose@^2.0.0:
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"
integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=
select2@^4.0.13:
version "4.0.13"
resolved "https://registry.npm.taobao.org/select2/download/select2-4.0.13.tgz#0dbe377df3f96167c4c1626033e924372d8ef44d"
integrity sha1-Db43ffP5YWfEwWJgM+kkNy2O9E0=
selfsigned@^1.10.7:
version "1.10.8"
resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.8.tgz#0d17208b7d12c33f8eac85c41835f27fc3d81a30"
...
...
@@ -9979,6 +10089,11 @@ signum@^1.0.0:
resolved "https://registry.yarnpkg.com/signum/-/signum-1.0.0.tgz#74a7d2bf2a20b40eba16a92b152124f1d559fa77"
integrity sha1-dKfSvyogtA66FqkrFSEk8dVZ+nc=
simple-json-repair@^1.1.0:
version "1.1.0"
resolved "https://registry.npm.taobao.org/simple-json-repair/download/simple-json-repair-1.1.0.tgz#87ab6fe0184687d32c2996bb822756da832287d4"
integrity sha1-h6tv4BhGh9MsKZa7gidW2oMih9Q=
simple-swizzle@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
...
...
@@ -11279,6 +11394,13 @@ v-click-outside-x@^3.7.1:
resolved "https://registry.yarnpkg.com/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz#aa03eaa0e41e44cb5207dcf86c2d9f0dd64084c1"
integrity sha512-WmUgmcIXr9clVpm1AYS/FgHtcDicfnfoxgQCNg4O6vfk9GVnxA0vSqO321ogUo0b7czYTidj7fQENvWFMWOkUg==
v-jsoneditor@^1.4.1:
version "1.4.2"
resolved "https://registry.npm.taobao.org/v-jsoneditor/download/v-jsoneditor-1.4.2.tgz#2a877fb3ed137732f8e6269b99b32758bd304ad0"
integrity sha1-Kod/s+0TdzL45iabmbMnWL0wStA=
dependencies:
jsoneditor "^9.1.1"
validate-npm-package-license@^3.0.1:
version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
...
...
@@ -11358,6 +11480,13 @@ validate.io-string-primitive@^1.0.0:
resolved "https://registry.yarnpkg.com/validate.io-string-primitive/-/validate.io-string-primitive-1.0.1.tgz#b8135b9fb1372bde02fdd53ad1d0ccd6de798fee"
integrity sha1-uBNbn7E3K94C/dU60dDM1t55j+4=
vanilla-picker@^2.11.0:
version "2.11.0"
resolved "https://registry.npm.taobao.org/vanilla-picker/download/vanilla-picker-2.11.0.tgz#a30d7174402d846b97c74f81e00be7837a140d64"
integrity sha1-ow1xdEAthGuXx0+B4Avng3oUDWQ=
dependencies:
"@sphinxxxx/color-conversion" "^2.2.2"
vary@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
...
...
@@ -11430,6 +11559,11 @@ vue-class-component@^7.0.2, vue-class-component@^7.1.0:
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.6.tgz#8471e037b8e4762f5a464686e19e5afc708502e4"
integrity sha512-+eaQXVrAm/LldalI272PpDe3+i4mPis0ORiMYxF6Ae4hyuCh15W8Idet7wPUEs4N4YptgFHGys4UrgNQOMyO6w==
vue-functional-data-merge@^3.1.0:
version "3.1.0"
resolved "https://registry.npm.taobao.org/vue-functional-data-merge/download/vue-functional-data-merge-3.1.0.tgz#08a7797583b7f35680587f8a1d51d729aa1dc657"
integrity sha1-CKd5dYO381aAWH+KHVHXKaodxlc=
vue-grid-layout@^2.3.7:
version "2.3.11"
resolved "https://registry.yarnpkg.com/vue-grid-layout/-/vue-grid-layout-2.3.11.tgz#4020f996e86e6df374898d253677231176f74cac"
...
...
ibzdst-core/src/main/java/cn/ibizlab/core/extensions/service/RuleEngineExService.java
浏览文件 @
6949b074
...
...
@@ -34,6 +34,7 @@ import org.mybatis.spring.batch.MyBatisCursorItemReader;
import
org.springframework.batch.item.ExecutionContext
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.context.annotation.Primary
;
...
...
@@ -73,15 +74,15 @@ public class RuleEngineExService extends RuleEngineServiceImpl {
@Autowired
private
IMetaModelService
metaModelService
;
@Autowired
private
SqlSessionFactory
sqlSessionFactory
;
@Autowired
private
DstDataSourceExService
dstDataSourceService
;
@Autowired
DefaultMQProducer
defaultMQProducer
;
@Autowired
@Lazy
private
SqlSessionFactory
sqlSessionFactory
;
@Value
(
"${rocketmq.producer.ruleEngineTopic: DSTMSG}"
)
private
String
ruleEngineTopic
;
...
...
@@ -115,11 +116,11 @@ public class RuleEngineExService extends RuleEngineServiceImpl {
String
sql
=
entityModel
.
getSqlSegment
(
"CORE"
);
MyBatisCursorItemReader
myMyBatisCursorItemReader
=
new
MyBatisCursorItemReader
();
try
{
List
<
EntityObj
>
kEntityObjs
=
dbEntityService
.
selectCore
(
entityModel
,
filter
);
if
(
kEntityObjs
!=
null
){
this
.
sendToMQ
(
et
.
getEngineId
(),
kEntityObjs
);
return
et
;
}
//
List<EntityObj> kEntityObjs=dbEntityService.selectCore(entityModel, filter);
//
if(kEntityObjs != null){
//
this.sendToMQ(et.getEngineId(), kEntityObjs);
//
return et;
//
}
myMyBatisCursorItemReader
.
setSqlSessionFactory
(
sqlSessionFactory
);
myMyBatisCursorItemReader
.
setQueryId
(
"cn.ibizlab.core.extensions.mapper.DbEntityMapper.search"
);
...
...
@@ -145,6 +146,7 @@ public class RuleEngineExService extends RuleEngineServiceImpl {
batch
.
add
(
rowdata
);
if
(
batch
.
size
()
>
500
){
this
.
sendToMQ
(
et
.
getEngineId
(),
batch
);
batch
.
clear
();
}
}
if
(
batch
.
size
()
>
0
){
...
...
@@ -153,11 +155,11 @@ public class RuleEngineExService extends RuleEngineServiceImpl {
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
finally
{
try
{
myMyBatisCursorItemReader
.
close
();
// 关闭游标
}
catch
(
Exception
ex
)
{
log
.
error
(
ex
.
getMessage
());
}
//
try {
//
myMyBatisCursorItemReader.close();// 关闭游标
//
} catch (Exception ex) {
//
log.error(ex.getMessage());
//
}
DynamicDataSourceContextHolder
.
poll
();
}
...
...
hebao1234
@hebao1234
被提及 commit
1b36ba7e
·
12月 17, 2020
被提及 commit
1b36ba7e
被提及 commit 1b36ba7e9bf1d31e3f4a5d3ae75e15087e18091b
切换提交列表
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录