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
02b1ba3c
Commit
02b1ba3c
authored
Mar 07, 2024
by
chenyuefang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
咨询机构
parent
a8cec427
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
AdvisoryBodyVo.java
...src/main/java/com/dsk/cscec/domain/vo/AdvisoryBodyVo.java
+8
-2
CustomerInfoServiceImpl.java
...a/com/dsk/cscec/service/impl/CustomerInfoServiceImpl.java
+18
-0
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/domain/vo/AdvisoryBodyVo.java
View file @
02b1ba3c
...
@@ -98,13 +98,19 @@ public class AdvisoryBodyVo {
...
@@ -98,13 +98,19 @@ public class AdvisoryBodyVo {
*/
*/
@ExcelProperty
(
value
=
"合同金额"
,
index
=
10
)
@ExcelProperty
(
value
=
"合同金额"
,
index
=
10
)
private
BigDecimal
contractValue
;
private
BigDecimal
contractValue
;
/**
* 业主单位cid
*/
private
Integer
ownerCid
;
/**
/**
* 业主单位
* 业主单位
*/
*/
@ExcelProperty
(
value
=
"业主单位"
,
index
=
11
)
@ExcelProperty
(
value
=
"业主单位"
,
index
=
11
)
private
String
ownerName
;
private
String
ownerName
;
/**
* 项目承接单位cid
*/
private
Integer
contractOrgCid
;
/**
/**
* 项目承接单位
* 项目承接单位
*/
*/
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/CustomerInfoServiceImpl.java
View file @
02b1ba3c
...
@@ -134,6 +134,24 @@ public class CustomerInfoServiceImpl extends ServiceImpl<DCustomerMapper, DCusto
...
@@ -134,6 +134,24 @@ public class CustomerInfoServiceImpl extends ServiceImpl<DCustomerMapper, DCusto
public
TableDataInfo
<
AdvisoryBodyVo
>
queryAdvisoryList
(
AdvisoryBodyBo
bo
,
PageQuery
query
)
{
public
TableDataInfo
<
AdvisoryBodyVo
>
queryAdvisoryList
(
AdvisoryBodyBo
bo
,
PageQuery
query
)
{
bo
.
setContractOrgId
(
AdvisoryBodyManageQueryConstants
.
LEVEL1_COMPANY_ID
);
bo
.
setContractOrgId
(
AdvisoryBodyManageQueryConstants
.
LEVEL1_COMPANY_ID
);
Page
<
AdvisoryBodyVo
>
page
=
advisoryBodyMapper
.
queryListByBo
(
query
.
build
(),
bo
);
Page
<
AdvisoryBodyVo
>
page
=
advisoryBodyMapper
.
queryListByBo
(
query
.
build
(),
bo
);
page
.
getRecords
().
parallelStream
().
forEach
(
vo
->
{
try
{
Map
<
String
,
Object
>
map
=
opportunityRadarService
.
enterpriseByName
(
vo
.
getOwnerName
());
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
{
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
Integer
companyId
=
MapUtil
.
getInt
(
data
,
"jskEid"
);
vo
.
setOwnerCid
(
companyId
);
}
map
=
opportunityRadarService
.
enterpriseByName
(
vo
.
getContractOrgName
());
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
{
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
Integer
companyId
=
MapUtil
.
getInt
(
data
,
"jskEid"
);
vo
.
setContractOrgCid
(
companyId
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
"CustomerInfoServiceImpl.queryAdvisoryList() error:"
+
e
);
}
});
return
TableDataInfo
.
build
(
page
);
return
TableDataInfo
.
build
(
page
);
}
}
...
...
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