Toggle navigation
Toggle navigation
This project
Loading...
Sign in
platform
/
platform-seller
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
mali
2018-09-04 16:13:30 +0800
Commit
97662e547309b476c8e3f98264e7c615dfb7e5c0
1 parent
32b6f454
商家端拆分
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
service/src/main/java/com/yohobuy/platform/seller/product/restapi/SellerExcelTemplateController.java
web/src/main/resources/META-INF/spring/spring-excel-template.xml
service/src/main/java/com/yohobuy/platform/seller/product/restapi/SellerExcelTemplateController.java
View file @
97662e5
...
...
@@ -20,7 +20,7 @@ public class SellerExcelTemplateController {
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
SellerExcelTemplateController
.
class
);
@Resource
(
name
=
"TemplateCreators"
)
@Resource
(
name
=
"
seller
TemplateCreators"
)
private
Map
<
String
,
IExcelTemplatService
>
templatServiceMap
;
@RequestMapping
(
"/sellerDownload"
)
...
...
web/src/main/resources/META-INF/spring/spring-excel-template.xml
View file @
97662e5
...
...
@@ -11,7 +11,7 @@
http://www.springframework.org/schema/task/spring-task.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd"
>
<!--Excel模板生成器配置-->
<util:map
id=
"TemplateCreators"
key-type=
"java.lang.String"
<util:map
id=
"
seller
TemplateCreators"
key-type=
"java.lang.String"
value-type=
"com.yohobuy.platform.common.service.IExcelTemplatService"
>
<!--商家端批量创建商品模板-->
<entry
key=
"CreateProductForShops"
value-ref=
"sellerBaseProductBatchTemplate"
></entry>
...
...
Please
register
or
login
to post a comment