Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
4b101d51
Commit
4b101d51
authored
Jun 07, 2024
by
施翔轲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化导出供应商分类列表
parent
2fb758a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CustomerInfoVo.java
...src/main/java/com/dsk/cscec/domain/vo/CustomerInfoVo.java
+6
-1
CustomerInfoServiceImpl.java
...a/com/dsk/cscec/service/impl/CustomerInfoServiceImpl.java
+1
-0
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/vo/CustomerInfoVo.java
View file @
4b101d51
...
...
@@ -36,8 +36,13 @@ public class CustomerInfoVo implements Serializable {
/**
* 供应商名称
*/
@Excel
(
name
=
"供应商名称"
,
width
=
30
)
private
String
customerName
;
/**
* 供应商名称导出
* 列表查询时customerName可能作为查询关键字被标红,所以单独设置此属性
*/
@Excel
(
name
=
"供应商名称"
,
width
=
30
)
private
String
customerNameExport
;
/**
* 二级市场企业编码
*/
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/CustomerInfoServiceImpl.java
View file @
4b101d51
...
...
@@ -66,6 +66,7 @@ public class CustomerInfoServiceImpl extends ServiceImpl<DCustomerMapper, DCusto
AtomicInteger
sortNum
=
new
AtomicInteger
(
1
);
if
(
CollectionUtils
.
isNotEmpty
(
page
.
getRecords
()))
{
page
.
getRecords
().
forEach
(
item
->{
item
.
setCustomerNameExport
(
item
.
getCustomerName
());
item
.
setNum
(
sortNum
.
getAndIncrement
());
DCustomerListVo
vo
=
subcontractMapper
.
selectStatisticByCustomerId
(
item
.
getCustomerId
());
//企业合作数量
...
...
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