Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
relation
Commits
7aa0800b
Commit
7aa0800b
authored
Aug 05, 2025
by
wujipeng
Browse files
解析excel优化
parent
a1c1470b
Changes
3
Show whitespace changes
Inline
Side-by-side
src/main/java/com/platform/model/entity/UserAccountEntity.java
View file @
7aa0800b
...
...
@@ -28,5 +28,5 @@ public class UserAccountEntity {
private
String
account
;
private
String
number
;
private
String
code
;
}
src/main/java/com/platform/service/impl/AnalysisServiceImpl.java
View file @
7aa0800b
...
...
@@ -284,7 +284,7 @@ public class AnalysisServiceImpl implements AnalysisService {
.
userName
(
userName
)
.
account
(
paymentBankName
)
.
caseId
(
caseId
)
.
number
(
paymentAccount
)
.
code
(
paymentAccount
)
.
build
()));
userAccountService
.
saveUserBatch
(
userAccountList
);
}
...
...
src/main/resources/com/platform/mapper/UserAccountMapper.xml
View file @
7aa0800b
...
...
@@ -4,9 +4,9 @@
<mapper
namespace=
"com.platform.mapper.UserAccountMapper"
>
<insert
id=
"saveUserBatch"
>
insert IGNORE into user_account (user_name, account, case_id) values
insert IGNORE into user_account (user_name, account, case_id
, code
) values
<foreach
item=
"item"
collection=
"userAccountList"
separator=
","
>
(#{item.userName}, #{item.account}, #{item.caseId})
(#{item.userName}, #{item.account}, #{item.caseId}
,#{item.code}
)
</foreach>
</insert>
<select
id=
"queryUserAccountList"
resultType=
"java.lang.String"
>
...
...
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