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
bfcfe506
Commit
bfcfe506
authored
Jul 31, 2025
by
wujipeng
Browse files
优化
parent
2f4e3b71
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/platform/mapper/UserAccountMapper.java
View file @
bfcfe506
...
...
@@ -3,11 +3,12 @@ package com.platform.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.platform.model.entity.UserAccountEntity
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
@Mapper
public
interface
UserAccountMapper
extends
BaseMapper
<
UserAccountEntity
>
{
void
saveUserBatch
(
List
<
UserAccountEntity
>
userAccountList
);
void
saveUserBatch
(
@Param
(
"userAccountList"
)
List
<
UserAccountEntity
>
userAccountList
);
}
src/main/java/com/platform/service/impl/AnalysisServiceImpl.java
View file @
bfcfe506
...
...
@@ -18,6 +18,7 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import
org.apache.poi.ss.usermodel.*
;
import
org.apache.poi.xssf.usermodel.XSSFWorkbook
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.multipart.MultipartFile
;
...
...
@@ -55,6 +56,7 @@ public class AnalysisServiceImpl implements AnalysisService {
private
static
final
String
[]
EXCEL_EXTENSIONS
=
{
".xlsx"
,
".xls"
};
@Override
@Transactional
public
Result
<?>
canvas
(
MultipartFile
[]
files
,
Integer
templateId
,
String
caseId
,
String
folderName
)
{
//查询模板
ExcelTemplateEntity
ExcelTemplate
=
excelTemplateService
.
getById
(
templateId
);
...
...
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