Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
29bf7a76
Commit
29bf7a76
authored
May 25, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置表
parent
c760466d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
CustomSettingApiServiceImpl.java
...prise/service/outer/impl/CustomSettingApiServiceImpl.java
+10
-1
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/CustomSettingApiServiceImpl.java
View file @
29bf7a76
...
...
@@ -213,7 +213,7 @@ public class CustomSettingApiServiceImpl implements CustomSettingApiService {
if
(
StringUtils
.
isNotBlank
(
s
)){
String
[]
split
=
s
.
split
(
","
);
if
(
split
.
length
==
2
){
JSONObject
json
=
new
JSONObject
();
Map
<
String
,
Object
>
json
=
new
HashMap
();
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
json
.
put
(
"start"
,
sdf
.
parse
(
split
[
0
]));
...
...
@@ -237,6 +237,15 @@ public class CustomSettingApiServiceImpl implements CustomSettingApiService {
return
criteriaList
;
}
public
static
void
main
(
String
[]
args
){
Date
date
=
new
Date
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"date"
,
date
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"date"
,
date
);
System
.
out
.
println
(
"map = "
+
map
);
System
.
out
.
println
(
"date = "
+
JSON
.
toJSONString
(
jsonObject
));
}
private
void
extendInterface
(
String
extInterface
,
String
param
){
Config
config
=
ConfigService
.
getConfig
(
"COMMON.4.0-dubbo"
);
...
...
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