Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
datasync-service
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
datasync-service
Commits
91596f94
Commit
91596f94
authored
Jun 27, 2024
by
位宇华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改entity
parent
996087dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/java/com/tianyi/sync/service/impl/DataSyncServiceimpl.java
...ava/com/tianyi/sync/service/impl/DataSyncServiceimpl.java
+3
-3
No files found.
src/main/java/com/tianyi/sync/service/impl/DataSyncServiceimpl.java
View file @
91596f94
...
@@ -45,8 +45,8 @@ public class DataSyncServiceimpl implements DataSyncService {
...
@@ -45,8 +45,8 @@ public class DataSyncServiceimpl implements DataSyncService {
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
String
lastMonth
=
DateUtils
.
getYearAndMonthLast
();
String
lastMonth
=
DateUtils
.
getYearAndMonthLast
();
ParmDataModel
parmDataModel
=
new
ParmDataModel
();
ParmDataModel
parmDataModel
=
new
ParmDataModel
();
//
parmDataModel.setPeriod(lastMonth);
parmDataModel
.
setPeriod
(
lastMonth
);
parmDataModel
.
setPeriod
(
"2024-05"
);
//
parmDataModel.setPeriod("2024-05");
String
period
=
parmDataModel
.
getPeriod
();
String
period
=
parmDataModel
.
getPeriod
();
parmDataModel
.
setYear
(
period
.
substring
(
0
,
4
));
parmDataModel
.
setYear
(
period
.
substring
(
0
,
4
));
parmDataModel
.
setMonth
(
StringUtils
.
startsWith
(
period
.
substring
(
5
,
7
),
"0"
)
?
StringUtils
.
substringAfterLast
(
period
.
substring
(
5
,
7
),
"0"
)
:
period
.
substring
(
5
,
7
));
parmDataModel
.
setMonth
(
StringUtils
.
startsWith
(
period
.
substring
(
5
,
7
),
"0"
)
?
StringUtils
.
substringAfterLast
(
period
.
substring
(
5
,
7
),
"0"
)
:
period
.
substring
(
5
,
7
));
...
@@ -72,7 +72,7 @@ public class DataSyncServiceimpl implements DataSyncService {
...
@@ -72,7 +72,7 @@ public class DataSyncServiceimpl implements DataSyncService {
fallDataModel
.
setYear
(
v
.
getYear
());
fallDataModel
.
setYear
(
v
.
getYear
());
fallDataModel
.
setMonth
(
v
.
getMonth
());
fallDataModel
.
setMonth
(
v
.
getMonth
());
fallDataModel
.
setAccountcode
(
v
.
getAccount
());
fallDataModel
.
setAccountcode
(
v
.
getAccount
());
fallDataModel
.
setEntitycode
(
icpCode
);
fallDataModel
.
setEntitycode
(
v
.
getEntity
()
);
fallDataModel
.
setOrivalue
(
v
.
getMoney
());
fallDataModel
.
setOrivalue
(
v
.
getMoney
());
fallDataModel
.
setICPcode
(
v
.
getICP
());
fallDataModel
.
setICPcode
(
v
.
getICP
());
fallDataModel
.
setC1
(
v
.
getC1
());
fallDataModel
.
setC1
(
v
.
getC1
());
...
...
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