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
b930c631
Commit
b930c631
authored
Aug 30, 2024
by
litianzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:8.30 主体编号不带字母,Bug修复
parent
d066afab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/com/tianyi/sync/service/impl/LiabilitiesDataSyncServiceImpl.java
...nyi/sync/service/impl/LiabilitiesDataSyncServiceImpl.java
+2
-2
src/main/java/com/tianyi/sync/service/impl/ProfitDataSyncServiceImpl.java
...m/tianyi/sync/service/impl/ProfitDataSyncServiceImpl.java
+2
-2
No files found.
src/main/java/com/tianyi/sync/service/impl/LiabilitiesDataSyncServiceImpl.java
View file @
b930c631
...
...
@@ -46,7 +46,7 @@ public class LiabilitiesDataSyncServiceImpl implements LiabilitiesDataSyncServic
stopWatch
.
start
();
JSONObject
jsonObject
=
new
JSONObject
();
String
lastMonth
=
DateUtils
.
getYearAndMonthLast
();
// String lastMonth = "2024-0
1
";
// String lastMonth = "2024-0
7
";
ParmDataModel
parmDataModel
=
new
ParmDataModel
();
parmDataModel
.
setPeriod
(
lastMonth
.
replaceAll
(
"-"
,
""
));
parmDataModel
.
setYear
(
lastMonth
.
substring
(
0
,
4
));
...
...
@@ -58,7 +58,7 @@ public class LiabilitiesDataSyncServiceImpl implements LiabilitiesDataSyncServic
List
<
String
>
icpCodeList
=
liabilitiesSlaveMapper
.
getCodeList
();
List
<
String
>
stringList
=
new
LinkedList
<>();
for
(
String
str
:
icpCodeList
)
{
str
=
str
.
replaceAll
(
"[a-zA-Z]"
,
""
);
//
str = str.replaceAll("[a-zA-Z]", "");
parmDataModel
.
setEntity
(
str
);
LiabilitiesModel
liabilitiesModel
=
liabilitiesDataSyncMapper
.
getLiabilities
(
parmDataModel
);
if
(
ObjectUtils
.
isEmpty
(
liabilitiesModel
))
{
...
...
src/main/java/com/tianyi/sync/service/impl/ProfitDataSyncServiceImpl.java
View file @
b930c631
...
...
@@ -47,7 +47,7 @@ public class ProfitDataSyncServiceImpl implements ProfitDataSyncService {
stopWatch
.
start
();
JSONObject
jsonObject
=
new
JSONObject
();
String
lastMonth
=
DateUtils
.
getYearAndMonthLast
();
// String lastMonth = "2024-0
6
";
// String lastMonth = "2024-0
7
";
ParmDataModel
parmDataModel
=
new
ParmDataModel
();
parmDataModel
.
setPeriod
(
lastMonth
.
replaceAll
(
"-"
,
""
));
parmDataModel
.
setYear
(
lastMonth
.
substring
(
0
,
4
));
...
...
@@ -59,7 +59,7 @@ public class ProfitDataSyncServiceImpl implements ProfitDataSyncService {
List
<
String
>
icpCodeList
=
profitSlaveMapper
.
getCodeList
();
List
<
String
>
stringList
=
new
LinkedList
<>();
for
(
String
str
:
icpCodeList
)
{
str
=
str
.
replaceAll
(
"[a-zA-Z]"
,
""
);
//
str = str.replaceAll("[a-zA-Z]", "");
parmDataModel
.
setEntity
(
str
);
ProfitModel
profitModel
=
profitDataSyncMapper
.
getProfit
(
parmDataModel
);
if
(
ObjectUtils
.
isEmpty
(
profitModel
))
{
...
...
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