Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjsgfa_mysql
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
jiangyun
zjsgfa_mysql
Commits
3fcdfc49
Commit
3fcdfc49
authored
Mar 25, 2026
by
jiangyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
45dd7f45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjDjjcController.java
+3
-2
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjDjjcController.java
View file @
3fcdfc49
...
...
@@ -2387,7 +2387,7 @@ public class SjDjjcController extends BaseController {
JsonObject
root
=
gson
.
fromJson
(
body
,
JsonObject
.
class
);
int
code
=
root
.
get
(
"code"
).
getAsInt
();
if
(
code
==
1
)
{
// JsonObject outerData = root.getAsJsonObject("message"
);
sjSjzlErrorLogMapper
.
add
(
SjSjzlErrorLog
.
builder
().
jh
(
id
).
body
(
root
.
get
(
"message"
).
getAsString
()).
build
()
);
String
s
=
root
.
get
(
"excelb64"
).
getAsString
();
if
(
StringUtils
.
isNotEmpty
(
s
))
{
long
time
=
new
Date
().
getTime
();
...
...
@@ -2397,7 +2397,8 @@ public class SjDjjcController extends BaseController {
FileBase64Converter
.
base64ToExcel
(
s
,
outPath
);
File
testFile
=
new
File
(
outPath
);
MultipartFile
multipartFile
=
FileToMultipartFileConverter
.
convert
(
testFile
);
importData
(
multipartFile
,
false
,
sjDjjcnew
);
AjaxResult
ajaxResult
=
importData
(
multipartFile
,
false
,
sjDjjcnew
);
sjSjzlErrorLogMapper
.
add
(
SjSjzlErrorLog
.
builder
().
jh
(
id
).
body
(
ajaxResult
.
get
(
"msg"
).
toString
()).
build
());
}
}
else
{
sjSjzlErrorLogMapper
.
add
(
SjSjzlErrorLog
.
builder
().
jh
(
id
).
body
(
body
).
build
());
...
...
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