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
0f10fd40
Commit
0f10fd40
authored
Jun 06, 2023
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决应该传Object实际String问题
parent
758f5298
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
IContext.java
...rc/main/java/com/brilliance/mda/runtime/mda/IContext.java
+1
-1
MdaContext.java
...ava/com/brilliance/mda/runtime/mda/driver/MdaContext.java
+2
-2
No files found.
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/IContext.java
View file @
0f10fd40
...
...
@@ -25,7 +25,7 @@ public interface IContext extends Serializable {
void
setFieldError
(
IBaseObject
baseobj
,
String
errMsg
);
//Platform.error()
void
setMessage
(
String
errorNo
,
String
message
);
//Platform.message()
void
setMessage
(
String
errorNo
,
Object
message
);
//Platform.message()
IModule
getRoot
();
...
...
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/driver/MdaContext.java
View file @
0f10fd40
...
...
@@ -127,10 +127,10 @@ public class MdaContext implements IContext {
setFieldError
(
baseobj
.
getPath
(),
errMsg
);
}
public
void
setMessage
(
String
errorNo
,
String
message
)
{
public
void
setMessage
(
String
errorNo
,
Object
message
)
{
if
(
errorNo
!=
null
&&
errorNo
.
matches
(
"E\\d+"
))
{
this
.
errorNo
=
errorNo
;
this
.
message
=
message
;
this
.
message
=
message
+
""
;
}
}
...
...
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