Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
d588193b
Commit
d588193b
authored
Sep 26, 2023
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加载模型时不需要传入模型名称
parent
c4d080d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MdaUtils.java
...in/java/com/brilliance/mda/runtime/mda/util/MdaUtils.java
+3
-3
No files found.
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/util/MdaUtils.java
View file @
d588193b
...
@@ -1035,7 +1035,7 @@ public class MdaUtils {
...
@@ -1035,7 +1035,7 @@ public class MdaUtils {
return
Codetables
.
getCodetableLabel
(
key
,
codetable
,
locale
.
getLanguage
());
return
Codetables
.
getCodetableLabel
(
key
,
codetable
,
locale
.
getLanguage
());
}
}
public
static
void
loadMdlData
(
IModule
module
,
String
moduleName
,
IStream
stream
)
{
public
static
void
loadMdlData
(
IModule
module
,
IStream
stream
)
{
module
.
clear
();
module
.
clear
();
String
[]
lines
=
null
;
String
[]
lines
=
null
;
try
{
try
{
...
@@ -1045,7 +1045,7 @@ public class MdaUtils {
...
@@ -1045,7 +1045,7 @@ public class MdaUtils {
}
}
boolean
isLoading
=
false
;
boolean
isLoading
=
false
;
if
(
lines
.
length
>
0
){
if
(
lines
.
length
>
0
){
//
Class moduleClass = module.getClass();
Class
moduleClass
=
module
.
getClass
();
for
(
String
line
:
lines
)
{
for
(
String
line
:
lines
)
{
//去除空格
//去除空格
line
.
trim
();
line
.
trim
();
...
@@ -1054,7 +1054,7 @@ public class MdaUtils {
...
@@ -1054,7 +1054,7 @@ public class MdaUtils {
continue
;
continue
;
}
}
//读取到本模型模型名相同数据的行,开始获取模型数据
//读取到本模型模型名相同数据的行,开始获取模型数据
if
(
module
Name
.
toUpperCase
().
indexOf
(
line
.
toUpperCase
())
!=
-
1
){
if
(
module
Class
.
toUpperCase
().
indexOf
(
line
.
toUpperCase
())
!=
-
1
){
//开始获取模型数据标识
//开始获取模型数据标识
isLoading
=
true
;
isLoading
=
true
;
continue
;
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment