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
b0dddcdb
Commit
b0dddcdb
authored
Oct 18, 2023
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loadData/saveData方法名调整
parent
98cfe477
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MdaUtils.java
...in/java/com/brilliance/mda/runtime/mda/util/MdaUtils.java
+4
-4
No files found.
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/util/MdaUtils.java
View file @
b0dddcdb
...
...
@@ -960,7 +960,7 @@ public class MdaUtils {
return
new
String
(
DigestUtils
.
sha1
(
DigestUtils
.
md5
(
srcPassword
)));
}
public
static
void
saveData
(
IModule
module
,
IStream
os
)
{
public
static
void
saveData
Old
(
IModule
module
,
IStream
os
)
{
ObjectMapper
mapper
=
MdaEnv
.
getBean
(
ObjectMapper
.
class
);
try
{
mapper
.
writeValue
(
os
.
getOutputStream
(),
module
);
...
...
@@ -971,7 +971,7 @@ public class MdaUtils {
/**
* 模板数据保存
**/
public
static
void
save
Mdl
Data
(
IModule
module
,
IStream
os
)
{
public
static
void
saveData
(
IModule
module
,
IStream
os
)
{
//在第一行写入module 名字
// os.insertLine(0,module.getName());
...
...
@@ -1084,7 +1084,7 @@ public class MdaUtils {
return
Codetables
.
getCodetableLabel
(
key
,
codetable
,
locale
.
getLanguage
());
}
public
static
void
load
Mdl
Data
(
IModule
module
,
IStream
stream
)
{
public
static
void
loadData
(
IModule
module
,
IStream
stream
)
{
module
.
clear
();
String
[]
lines
=
null
;
try
{
...
...
@@ -1237,7 +1237,7 @@ public class MdaUtils {
return
baseObject
.
getPath
();
}
public
static
void
loadData
(
IModule
module
,
IStream
stream
)
{
public
static
void
loadData
Old
(
IModule
module
,
IStream
stream
)
{
ObjectMapper
mapper
=
MdaEnv
.
getBean
(
ObjectMapper
.
class
);
try
{
module
.
copyValues
(
mapper
.
readValue
(
stream
.
getInputStream
(),
module
.
getClass
()));
...
...
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