Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
3593c254
Commit
3593c254
authored
Jul 31, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
038ceb74
770d858c
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
51 additions
and
18 deletions
+51
-18
StringUtils.java
...ommon/src/main/java/com/dsk/common/utils/StringUtils.java
+5
-0
branch.vue
dsk-operate-ui/src/views/detail/party-a/overview/branch.vue
+4
-1
businfo.vue
dsk-operate-ui/src/views/detail/party-a/overview/businfo.vue
+4
-1
execuinfo.vue
...perate-ui/src/views/detail/party-a/overview/execuinfo.vue
+4
-1
holderinfo.vue
...erate-ui/src/views/detail/party-a/overview/holderinfo.vue
+4
-1
overseas.vue
...operate-ui/src/views/detail/party-a/overview/overseas.vue
+4
-1
BusinessInfoServiceImpl.java
.../com/dsk/system/service/impl/BusinessInfoServiceImpl.java
+11
-5
CustomerServiceImpl.java
...java/com/dsk/system/service/impl/CustomerServiceImpl.java
+15
-8
No files found.
dsk-common/src/main/java/com/dsk/common/utils/StringUtils.java
View file @
3593c254
...
@@ -612,4 +612,9 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
...
@@ -612,4 +612,9 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
}
return
sb
.
toString
();
return
sb
.
toString
();
}
}
//字符串标红
public
static
String
markInRed
(
String
oldStr
,
String
str
)
{
return
oldStr
.
replace
(
str
,
"<font color='#FF204E'>"
+
str
+
"</font>"
);
}
}
}
dsk-operate-ui/src/views/detail/party-a/overview/branch.vue
View file @
3593c254
<
template
>
<
template
>
<div
class=
"app-container detail-container"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"app-container detail-container"
v-else
>
<head-form
<head-form
title=
"分支机构"
title=
"分支机构"
:form-data=
"formData"
:form-data=
"formData"
...
@@ -68,6 +69,7 @@ export default {
...
@@ -68,6 +69,7 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
param
=
params
?
params
:
this
.
queryParams
if
(
param
.
hasBid
==
'noLimit'
){
if
(
param
.
hasBid
==
'noLimit'
){
...
@@ -76,6 +78,7 @@ export default {
...
@@ -76,6 +78,7 @@ export default {
let
res
=
await
affiliates
(
param
)
let
res
=
await
affiliates
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/overview/businfo.vue
View file @
3593c254
<
template
xmlns=
"http://www.w3.org/1999/html"
>
<
template
xmlns=
"http://www.w3.org/1999/html"
>
<div
class=
"app-container detail-container"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"app-container detail-container"
v-else
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
class=
"detail-tab"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
class=
"detail-tab"
>
<el-tab-pane
label=
"工商信息"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"工商信息"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"工商变更"
:disabled=
"tableDataTotal>0"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"工商变更"
:disabled=
"tableDataTotal>0"
name=
"second"
></el-tab-pane>
...
@@ -104,11 +105,13 @@ export default {
...
@@ -104,11 +105,13 @@ export default {
this
.
handleQuery
()
this
.
handleQuery
()
},
},
async
handleQuery
()
{
async
handleQuery
()
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
this
.
baseParams
;
let
param
=
this
.
baseParams
;
let
res
=
await
icInfo
(
param
);
let
res
=
await
icInfo
(
param
);
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
forInfo
=
res
.
data
this
.
forInfo
=
res
.
data
}
}
},
},
...
...
dsk-operate-ui/src/views/detail/party-a/overview/execuinfo.vue
View file @
3593c254
<
template
>
<
template
>
<div
class=
"app-container detail-container"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"app-container detail-container"
v-else
>
<head-form
<head-form
title=
"高管信息"
title=
"高管信息"
:form-data=
"formData"
:form-data=
"formData"
...
@@ -66,11 +67,13 @@ export default {
...
@@ -66,11 +67,13 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
param
=
params
?
params
:
this
.
queryParams
let
res
=
await
keymembers
(
param
)
let
res
=
await
keymembers
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
let
tempRows
=
[]
let
tempRows
=
[]
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
){
let
arrLength
=
res
.
rows
.
length
%
2
==
0
?(
res
.
rows
.
length
/
2
):(
Math
.
floor
(
res
.
rows
.
length
/
2
)
+
1
)
let
arrLength
=
res
.
rows
.
length
%
2
==
0
?(
res
.
rows
.
length
/
2
):(
Math
.
floor
(
res
.
rows
.
length
/
2
)
+
1
)
...
...
dsk-operate-ui/src/views/detail/party-a/overview/holderinfo.vue
View file @
3593c254
<
template
>
<
template
>
<div
class=
"app-container detail-container"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"app-container detail-container"
v-else
>
<head-form
<head-form
title=
""
title=
""
:form-data=
"formData"
:form-data=
"formData"
...
@@ -78,12 +79,14 @@ export default {
...
@@ -78,12 +79,14 @@ export default {
this
.
handleQuery
()
this
.
handleQuery
()
},
},
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
param
=
params
?
params
:
this
.
queryParams
param
.
isHistory
=
this
.
activeName
==
'first'
?
0
:
1
param
.
isHistory
=
this
.
activeName
==
'first'
?
0
:
1
let
res
=
await
bestStockPage
(
param
)
let
res
=
await
bestStockPage
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-operate-ui/src/views/detail/party-a/overview/overseas.vue
View file @
3593c254
<
template
>
<
template
>
<div
class=
"app-container detail-container"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"app-container detail-container"
v-else
>
<head-form
<head-form
title=
"对外投资"
title=
"对外投资"
:form-data=
"formData"
:form-data=
"formData"
...
@@ -97,11 +98,13 @@ export default {
...
@@ -97,11 +98,13 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleQuery
(
params
)
{
async
handleQuery
(
params
)
{
this
.
isSkeleton
=
true
;
this
.
tableLoading
=
true
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
param
=
params
?
params
:
this
.
queryParams
let
res
=
await
investment
(
param
)
let
res
=
await
investment
(
param
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
}
}
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/BusinessInfoServiceImpl.java
View file @
3593c254
...
@@ -94,10 +94,17 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -94,10 +94,17 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
public
List
<
BusinessListVo
>
selectBusinessInfoList
(
BusinessListDto
dto
)
{
public
List
<
BusinessListVo
>
selectBusinessInfoList
(
BusinessListDto
dto
)
{
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
dto
.
setUserId
(
user
.
getUserId
());
dto
.
setUserId
(
user
.
getUserId
());
if
(
user
.
getIsExperience
()
==
1
)
{
if
(
user
.
getIsExperience
()
==
1
)
{
dto
.
setIsPrivate
(
1
);
dto
.
setIsPrivate
(
1
);
}
}
return
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
List
<
BusinessListVo
>
businessListVos
=
businessInfoMapper
.
selectBusinessInfoList
(
dto
);
if
(!
CollectionUtils
.
isEmpty
(
businessListVos
)
&&
ObjectUtil
.
isNotEmpty
(
dto
.
getProjectName
()))
{
for
(
BusinessListVo
vo
:
businessListVos
)
{
vo
.
setProjectName
(
StringUtils
.
markInRed
(
vo
.
getProjectName
(),
dto
.
getProjectName
()));
vo
.
setOwnerCompany
(
StringUtils
.
markInRed
(
vo
.
getOwnerCompany
(),
dto
.
getProjectName
()));
}
}
return
businessListVos
;
}
}
@Override
@Override
...
@@ -139,7 +146,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -139,7 +146,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
if
(!
CollectionUtils
.
isEmpty
(
list
))
{
if
(!
CollectionUtils
.
isEmpty
(
list
))
{
for
(
Map
<
String
,
Object
>
map
:
list
)
{
for
(
Map
<
String
,
Object
>
map
:
list
)
{
BusinessLikeProjectNameListVo
vo
=
new
BusinessLikeProjectNameListVo
();
BusinessLikeProjectNameListVo
vo
=
new
BusinessLikeProjectNameListVo
();
vo
.
setProjectName
(
MapUtil
.
getStr
(
map
,
"projectName"
).
replace
(
dto
.
getProjectName
(),
"<font color='#FF204E'>"
+
dto
.
getProjectName
()
+
"</font>"
));
vo
.
setProjectName
(
StringUtils
.
markInRed
(
MapUtil
.
getStr
(
map
,
"projectName"
),
dto
.
getProjectName
()
));
vo
.
setCompanyName
(
MapUtil
.
getStr
(
map
,
"tenderee"
));
vo
.
setCompanyName
(
MapUtil
.
getStr
(
map
,
"tenderee"
));
vo
.
setInvestmentAmount
(
Double
.
parseDouble
(
MapUtil
.
getStr
(
map
,
"projectContractAmount"
)));
vo
.
setInvestmentAmount
(
Double
.
parseDouble
(
MapUtil
.
getStr
(
map
,
"projectContractAmount"
)));
vo
.
setProjectType
(
MapUtil
.
getStr
(
map
,
"projectType"
));
vo
.
setProjectType
(
MapUtil
.
getStr
(
map
,
"projectType"
));
...
@@ -148,7 +155,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -148,7 +155,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
}
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"模糊查询项目名称调用失败!"
);
log
.
error
(
"模糊查询项目名称调用失败!"
);
}
}
...
@@ -414,7 +421,6 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -414,7 +421,6 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
return
map
;
return
map
;
}
}
private
BusinessRelateCompany
dealwithCustomer
(
BusinessInfo
bean
)
{
private
BusinessRelateCompany
dealwithCustomer
(
BusinessInfo
bean
)
{
BusinessRelateCompany
relateCompany
=
new
BusinessRelateCompany
();
BusinessRelateCompany
relateCompany
=
new
BusinessRelateCompany
();
relateCompany
.
setBusinessId
(
bean
.
getId
());
relateCompany
.
setBusinessId
(
bean
.
getId
());
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/CustomerServiceImpl.java
View file @
3593c254
...
@@ -26,6 +26,7 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -26,6 +26,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -59,7 +60,13 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -59,7 +60,13 @@ public class CustomerServiceImpl implements ICustomerService {
public
List
<
CustomerListVo
>
selectList
(
CustomerSearchDto
dto
)
{
public
List
<
CustomerListVo
>
selectList
(
CustomerSearchDto
dto
)
{
dto
.
setUserId
(
SecurityUtils
.
getUserId
());
dto
.
setUserId
(
SecurityUtils
.
getUserId
());
dto
.
setStatus
(
ObjectUtils
.
isEmpty
(
dto
.
getStatus
())
?
0
:
dto
.
getStatus
());
dto
.
setStatus
(
ObjectUtils
.
isEmpty
(
dto
.
getStatus
())
?
0
:
dto
.
getStatus
());
return
baseMapper
.
selectList
(
dto
);
List
<
CustomerListVo
>
customerListVos
=
baseMapper
.
selectList
(
dto
);
if
(!
CollectionUtils
.
isEmpty
(
customerListVos
)
&&
ObjectUtil
.
isNotEmpty
(
dto
.
getCompanyName
()))
{
for
(
CustomerListVo
vo
:
customerListVos
)
{
vo
.
setCompanyName
(
StringUtils
.
markInRed
(
vo
.
getCompanyName
(),
dto
.
getCompanyName
()));
}
}
return
customerListVos
;
}
}
@Override
@Override
...
@@ -78,14 +85,14 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -78,14 +85,14 @@ public class CustomerServiceImpl implements ICustomerService {
dealWithcustomerData
(
customer
);
dealWithcustomerData
(
customer
);
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
()))
{
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
()))
{
try
{
try
{
List
<
Integer
>
list
=
new
ArrayList
<>();
List
<
Integer
>
list
=
new
ArrayList
<>();
list
.
add
(
customer
.
getCompanyId
());
list
.
add
(
customer
.
getCompanyId
());
R
res
=
enterpriseService
.
getUipIdByCid
(
list
);
R
res
=
enterpriseService
.
getUipIdByCid
(
list
);
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
())){
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
()))
{
List
<
Map
<
String
,
Object
>>
data
=
(
List
<
Map
<
String
,
Object
>>)
res
.
getData
();
List
<
Map
<
String
,
Object
>>
data
=
(
List
<
Map
<
String
,
Object
>>)
res
.
getData
();
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
data
.
get
((
0
))),
"uipId"
));
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
data
.
get
((
0
))),
"uipId"
));
}
}
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
()))
{
if
(
ObjectUtils
.
isEmpty
(
customer
.
getUipId
()))
{
res
=
enterpriseService
.
getUipId
(
customer
.
getCompanyName
());
res
=
enterpriseService
.
getUipId
(
customer
.
getCompanyName
());
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
()))
{
if
(!
ObjectUtils
.
isEmpty
(
res
.
getData
()))
{
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
res
.
getData
()),
"uipId"
));
customer
.
setUipId
(
MapUtil
.
getStr
(
BeanUtil
.
beanToMap
(
res
.
getData
()),
"uipId"
));
...
@@ -199,7 +206,7 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -199,7 +206,7 @@ public class CustomerServiceImpl implements ICustomerService {
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"data"
)))
{
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
Map
<
String
,
Object
>
data
=
BeanUtil
.
beanToMap
(
map
.
get
(
"data"
));
Integer
companyId
=
MapUtil
.
getInt
(
data
,
"jskEid"
);
Integer
companyId
=
MapUtil
.
getInt
(
data
,
"jskEid"
);
if
(
ObjectUtil
.
isNotEmpty
(
customer
.
getCompanyId
())
&&
!
customer
.
getCompanyId
().
equals
(
companyId
))
{
if
(
ObjectUtil
.
isNotEmpty
(
customer
.
getCompanyId
())
&&
!
customer
.
getCompanyId
().
equals
(
companyId
))
{
return
;
return
;
}
}
customer
.
setCompanyId
(
companyId
);
customer
.
setCompanyId
(
companyId
);
...
@@ -219,9 +226,9 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -219,9 +226,9 @@ public class CustomerServiceImpl implements ICustomerService {
customer
.
setDistrictId
(
MapUtil
.
getInt
(
data
,
"countyId"
));
customer
.
setDistrictId
(
MapUtil
.
getInt
(
data
,
"countyId"
));
}
}
if
(
ObjectUtils
.
isEmpty
(
customer
.
getRegisterAddress
()))
{
if
(
ObjectUtils
.
isEmpty
(
customer
.
getRegisterAddress
()))
{
if
(
ObjectUtil
.
isNotEmpty
(
MapUtil
.
getStr
(
data
,
"domicile"
)))
{
if
(
ObjectUtil
.
isNotEmpty
(
MapUtil
.
getStr
(
data
,
"domicile"
)))
{
customer
.
setRegisterAddress
(
MapUtil
.
getStr
(
data
,
"domicile"
));
customer
.
setRegisterAddress
(
MapUtil
.
getStr
(
data
,
"domicile"
));
}
else
{
}
else
{
String
address
=
null
;
String
address
=
null
;
if
(
ObjectUtils
.
isEmpty
(
MapUtil
.
getStr
(
data
,
"province"
)))
{
if
(
ObjectUtils
.
isEmpty
(
MapUtil
.
getStr
(
data
,
"province"
)))
{
address
=
MapUtil
.
getStr
(
data
,
"province"
);
address
=
MapUtil
.
getStr
(
data
,
"province"
);
...
...
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