Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tax-sys-nacos
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caoxiaohong
tax-sys-nacos
Commits
5738ed84
Commit
5738ed84
authored
Jun 25, 2025
by
ddx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add oiltype
parent
9d9ce270
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
tax-file-face/file-face-service/src/main/java/com/tax/file/service/impl/InvoiceFileServiceImpl.java
+7
-11
No files found.
tax-file-face/file-face-service/src/main/java/com/tax/file/service/impl/InvoiceFileServiceImpl.java
View file @
5738ed84
...
...
@@ -470,7 +470,7 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
functionList
.
add
(
getFunction01
(
functionNo
,
dataJson
.
getString
(
"userStatus"
),
dataJson
.
getString
(
"curCollectFlag"
)
,
dataJson
.
getString
(
"lastCollectDate"
),
dataJson
.
getString
(
"zone"
),
dataJson
.
getString
(
"errorMessage"
)
,
dataJson
.
getString
(
"initMonth"
),
dataJson
.
getString
(
"validType"
),
dataJson
.
getString
(
"invSpec"
)
,
dataJson
.
getString
(
"confType"
),
dataJson
.
getString
(
"ncpFlag"
)));
,
dataJson
.
getString
(
"confType"
),
dataJson
.
getString
(
"ncpFlag"
)
,
dataJson
.
getString
(
"oilType"
)
));
}
else
{
functionList
.
add
(
getFunction01
(
functionNo
));
}
...
...
@@ -498,7 +498,7 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
functionList
.
add
(
getFunction01
(
functionNo
,
dataJson
.
getString
(
"userStatus"
),
dataJson
.
getString
(
"curCollectFlag"
)
,
dataJson
.
getString
(
"lastCollectDate"
),
dataJson
.
getString
(
"zone"
),
dataJson
.
getString
(
"errorMessage"
)
,
dataJson
.
getString
(
"initMonth"
),
dataJson
.
getString
(
"validType"
),
dataJson
.
getString
(
"invSpec"
)
,
dataJson
.
getString
(
"confType"
),
dataJson
.
getString
(
"ncpFlag"
)
));
,
null
,
null
,
null
));
}
else
{
functionList
.
add
(
getFunction01
(
functionNo
));
}
...
...
@@ -523,11 +523,12 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
}
private
Map
getFunction01
(
String
functionNo
)
{
return
getFunction01
(
functionNo
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
);
return
getFunction01
(
functionNo
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
);
}
private
Map
getFunction01
(
String
functionNo
,
String
taxnoStatus
,
String
curOverFlag
,
String
lastOverDate
,
String
zoneCode
,
String
errorMessage
,
String
initMonth
,
String
validType
,
String
invSpec
,
String
confType
,
String
ncpFlag
)
{
String
errorMessage
,
String
initMonth
,
String
validType
,
String
invSpec
,
String
confType
,
String
ncpFlag
,
String
oilType
)
{
Map
function
=
new
HashMap
();
function
.
put
(
"functionNo"
,
functionNo
);
function
.
put
(
"taxnoStatus"
,
taxnoStatus
);
...
...
@@ -540,6 +541,7 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
function
.
put
(
"invSpec"
,
invSpec
);
function
.
put
(
"confType"
,
confType
);
function
.
put
(
"ncpFlag"
,
ncpFlag
);
function
.
put
(
"oilType"
,
oilType
);
return
function
;
}
...
...
@@ -565,8 +567,7 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
result
=
ret
.
getContent
();
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
uuidFlag
+
" taxno is "
+
taxno
+
" queryCollectTaxInfo is error!"
+
e
.
getMessage
());
log
.
error
(
uuidFlag
+
" taxno is "
+
taxno
+
" queryCollectTaxInfo is error!"
,
e
);
return
null
;
}
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" queryCollectTaxInfo is end ..."
);
...
...
@@ -597,7 +598,6 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
result
=
ret
.
getContent
();
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
uuidFlag
+
" taxno is "
+
taxno
+
" is error!"
,
e
);
return
null
;
}
...
...
@@ -876,7 +876,6 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
ResponseContent
ret
=
HttpHelper
.
postJsonEntity
(
requestUrl
,
json
.
toString
());
resultJson
=
JSONObject
.
parseObject
(
ret
.
getContent
());
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" callTaxInfo is error! "
,
e
);
}
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" callTaxInfo request result:"
+
(
resultJson
==
null
?
"null"
:
resultJson
.
toJSONString
()));
...
...
@@ -909,7 +908,6 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
ResponseContent
ret
=
HttpHelper
.
postJsonEntity
(
requestUrl
,
json
.
toString
());
resultJson
=
JSONObject
.
parseObject
(
ret
.
getContent
());
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" callNumberTaxInfo is error! "
,
e
);
}
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" callNumberTaxInfo request result:"
+
(
resultJson
==
null
?
"null"
:
resultJson
.
toJSONString
()));
...
...
@@ -936,7 +934,6 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
ResponseContent
ret
=
HttpHelper
.
postJsonEntity
(
requestUrl
,
json
.
toString
());
resultJson
=
JSONObject
.
parseObject
(
ret
.
getContent
());
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" callTax is error! "
,
e
);
}
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" callTax request result:"
+
(
resultJson
==
null
?
"null"
:
resultJson
.
toJSONString
()));
...
...
@@ -964,7 +961,6 @@ public class InvoiceFileServiceImpl implements InvoiceFileService {
try
{
resultJson
=
JSONObject
.
parseObject
(
ret
.
getContent
());
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
" saveTokenInfo is error! "
,
e
);
}
log
.
info
(
uuidFlag
+
" taxno is "
+
taxno
+
"saveTokenInfo request result:"
+
(
resultJson
==
null
?
"null"
:
resultJson
.
toJSONString
()));
...
...
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