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
45f8d47e
Commit
45f8d47e
authored
Jun 30, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.60.201/root/dsk-operate-sys
parents
9476cbd4
311e866e
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
93 additions
and
95 deletions
+93
-95
application-dev.yml
dsk-admin/src/main/resources/application-dev.yml
+6
-6
request.js
dsk-operate-ui/src/utils/request.js
+5
-4
index.vue
dsk-operate-ui/src/views/custom/customList/index.vue
+1
-0
index.vue
dsk-operate-ui/src/views/detail/party-a/business/index.vue
+13
-3
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+6
-6
bidding.vue
...i/src/views/detail/party-a/overview/component/bidding.vue
+5
-0
senior.vue
...ui/src/views/detail/party-a/overview/component/senior.vue
+9
-0
index.vue
...te-ui/src/views/enterpriseData/components/Owner/index.vue
+6
-9
index.vue
...iews/enterpriseData/components/SearchEnterprise/index.vue
+1
-7
gjjl.vue
...erate-ui/src/views/project/projectList/component/gjjl.vue
+2
-0
gzdb.vue
...erate-ui/src/views/project/projectList/component/gzdb.vue
+3
-1
xgqy.vue
...erate-ui/src/views/project/projectList/component/xgqy.vue
+1
-1
zlwd.vue
...erate-ui/src/views/project/projectList/component/zlwd.vue
+1
-1
details.vue
dsk-operate-ui/src/views/radar/Establishment/details.vue
+7
-0
details.vue
dsk-operate-ui/src/views/radar/bxprozbgg/details.vue
+1
-1
index.vue
...operate-ui/src/views/radar/components/BidRecord/index.vue
+1
-7
index.vue
dsk-operate-ui/src/views/radar/components/Bidding/index.vue
+1
-7
index.vue
...ate-ui/src/views/radar/components/Establishment/index.vue
+1
-7
index.vue
dsk-operate-ui/src/views/radar/components/Land/index.vue
+1
-7
index.vue
dsk-operate-ui/src/views/radar/components/Tender/index.vue
+1
-7
index.vue
...operate-ui/src/views/radar/components/bxprozbgg/index.vue
+1
-7
index.vue
...erate-ui/src/views/radar/components/debtProject/index.vue
+3
-7
details.vue
dsk-operate-ui/src/views/radar/debtProject/details.vue
+2
-2
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+10
-1
BusinessInfoServiceImpl.java
.../com/dsk/system/service/impl/BusinessInfoServiceImpl.java
+1
-0
BusinessInfoMapper.xml
...src/main/resources/mapper/business/BusinessInfoMapper.xml
+4
-4
No files found.
dsk-admin/src/main/resources/application-dev.yml
View file @
45f8d47e
...
...
@@ -194,11 +194,11 @@ xss:
dsk
:
open
:
# endPoint: sandbox.openapi.jiansheku.com
# accessKeyId: aec7b3ff2e8b48e7
9a7e2c463ce21912
# accessKeySecret: ee8a53c7ea04eb3ac311406c8f56f95b
# protocol: https
endPoint
:
120.27.13.145:8865
# endPoint: 120.27.13.145:8865
# accessKeyId: aec7b3ff2y2q8x6t4
9a7e2c463ce21912
# accessKeySecret: ee8a53c7ea04eb3ac311406c8f56f95b
# protocol: http
endPoint
:
openapi.jiansheku.com
accessKeyId
:
aec7b3ff2y2q8x6t49a7e2c463ce21912
accessKeySecret
:
ee8a53c7ea04eb3ac311406c8f56f95b
protocol
:
http
protocol
:
http
s
dsk-operate-ui/src/utils/request.js
View file @
45f8d47e
...
...
@@ -67,6 +67,7 @@ service.interceptors.request.use(config => {
// 响应拦截器
service
.
interceptors
.
response
.
use
(
res
=>
{
const
apiList
=
[
'/login'
,
'/system/user/profile/updatePwd'
]
//需要提示错误的接口
// 未设置状态码则默认成功状态
const
code
=
res
.
data
.
code
||
200
;
// 获取错误信息
...
...
@@ -88,16 +89,16 @@ service.interceptors.response.use(res => {
});
}
return
Promise
.
reject
(
'无效的会话,或者会话已过期,请重新登录。'
)
}
/* else if (code === 500
) {
}
else
if
(
code
===
500
&&
apiList
.
includes
(
res
.
config
.
url
)
)
{
Message
({
message
:
msg
,
type
:
'error'
})
return
Promise
.
reject
(
new
Error
(
msg
))
} else if (code === 601) {
}
else
if
(
code
===
601
&&
apiList
.
includes
(
res
.
config
.
url
)
)
{
Message
({
message
:
msg
,
type
:
'warning'
})
return
Promise
.
reject
(
'error'
)
} else if (code !== 200) {
}
else
if
(
code
!==
200
&&
apiList
.
includes
(
res
.
config
.
url
)
)
{
Notification
.
error
({
title
:
msg
})
return
Promise
.
reject
(
'error'
)
}
*/
else
{
}
else
{
return
res
.
data
}
},
error
=>
{
...
...
dsk-operate-ui/src/views/custom/customList/index.vue
View file @
45f8d47e
...
...
@@ -345,6 +345,7 @@ export default {
getCustomerList
(
this
.
searchParam
).
then
(
result
=>
{
this
.
tableData
=
result
this
.
tableData
.
rows
.
forEach
(
item
=>
{
item
.
registerCapital
.
replace
(
/^
\D
*
(\d
*
(?:\.\d{0,6})?)
.*$/g
,
'$1'
)
if
(
item
.
mainBusiness
!=
""
&&
item
.
mainBusiness
!=
null
&&
item
.
mainBusiness
.
length
>
84
){
item
.
mainBusiness1
=
item
.
mainBusiness
.
substring
(
0
,
81
)
item
.
sq1
=
true
...
...
dsk-operate-ui/src/views/detail/party-a/business/index.vue
View file @
45f8d47e
...
...
@@ -3,7 +3,7 @@
<template
v-if=
"isInfo"
>
<!-- 企业信息 -->
<div
class=
"view-content"
>
<Info
:companyInfo=
"
is
companyInfo"
/>
<Info
:companyInfo=
"companyInfo"
/>
</div>
<!-- 基本信息 -->
<div
class=
"view-content"
>
...
...
@@ -99,6 +99,13 @@ export default {
iscompanyInfo
:{}
}
},
watch
:
{
"customerIds"
(
newVal
,
oldVal
)
{
if
(
newVal
){
this
.
customerInfos
()
}
}
},
created
()
{
this
.
infos
=
this
.
customerInfo
this
.
iscompanyInfo
=
this
.
companyInfo
?
this
.
companyInfo
:
{}
...
...
@@ -132,9 +139,12 @@ export default {
},
customerInfos
(){
this
.
isInfo
=
false
customerInfo
(
this
.
customerIds
).
then
(
res
=>
{
this
.
infos
=
res
.
data
this
.
handleQuery
()
this
.
$nextTick
(()
=>
{
this
.
infos
=
res
.
data
this
.
handleQuery
()
})
})
},
focusNowedits
(
e
){
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
45f8d47e
...
...
@@ -167,10 +167,10 @@ export default {
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
==
'CustomList'
){
if
(
to
.
query
.
path
){
vm
.
currentPath
.
pathName
=
to
.
query
.
path
}
if
(
to
.
query
.
customerId
){
let
customerId
=
to
.
query
.
customerId
vm
.
association
(
customerId
)
vm
.
currentPath
.
pathName
=
to
.
query
.
path
}
})
},
...
...
@@ -230,9 +230,9 @@ export default {
customerInfo
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
userId
==
this
.
$store
.
state
.
user
.
userId
)
{
this
.
customerInfo
=
res
.
data
this
.
customerId
=
res
.
data
.
customerId
this
.
$nextTick
(()
=>
{
this
.
customerInfo
=
res
.
data
this
.
customerId
=
res
.
data
.
customerId
this
.
isCustomer
=
true
this
.
isCompanyId
=
true
})
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/bidding.vue
View file @
45f8d47e
...
...
@@ -80,6 +80,11 @@
<span
style=
"padding-right: 28px;"
>
{{
scope
.
row
.
amount
}}
</span>
</
template
>
</el-table-column>
<
template
slot=
"empty"
>
<div
style=
"padding: 30px 0"
>
<no-data
/>
</div>
</
template
>
</el-table>
</div>
</div>
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/senior.vue
View file @
45f8d47e
...
...
@@ -26,6 +26,11 @@
<el-table-column
prop=
"userJobs"
label=
"职务"
></el-table-column>
<
template
slot=
"empty"
>
<div
style=
"padding: 30px 0"
>
<no-data
/>
</div>
</
template
>
</el-table>
</div>
</div>
...
...
@@ -33,6 +38,7 @@
<
script
>
import
{
keymembers
}
from
"@/api/detail/party-a/overview"
import
NoData
from
'../../component/noData'
export
default
{
name
:
'Senior'
,
...
...
@@ -48,6 +54,9 @@ export default {
tableData
:[]
}
},
components
:
{
NoData
},
created
()
{
this
.
handleQuery
()
},
...
...
dsk-operate-ui/src/views/enterpriseData/components/Owner/index.vue
View file @
45f8d47e
...
...
@@ -132,13 +132,7 @@
<p>
共有
{{
total
}}
条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})">导出EXCEL
</span>
</p>
</div>
...
...
@@ -786,6 +780,9 @@ export default {
});
},
claimbtn
(
item
){
if
(
item
.
claimStatus
){
return
;
}
this
.
companyId
=
item
.
companyId
;
var
info
=
{};
api
.
infoHeader
({
companyId
:
this
.
companyId
}).
then
(
res
=>
{
...
...
@@ -797,11 +794,11 @@ export default {
companyName
:
item
.
companyName
.
replace
(
/<font color='red'>/g
,
''
).
replace
(
/<
\/
font>/g
,
''
),
creditLevel
:
info
.
bratingSubjectLevel
,
legalPerson
:
info
.
corporatePerson
,
registerCapital
:
info
.
regCapital
,
registerCapital
:
info
.
reg
istered
Capital
,
provinceId
:
info
.
provinceId
,
cityId
:
info
.
cityId
,
districtId
:
info
.
districtCode
,
registerAddress
:
info
.
provinceName
+
info
.
cityName
+
info
.
districtName
,
registerAddress
:
info
.
provinceName
+
'-'
+
info
.
cityName
+
'-'
+
info
.
districtName
,
creditCode
:
info
.
creditCode
,
}
api
.
claim
(
params
).
then
(
res1
=>
{
...
...
dsk-operate-ui/src/views/enterpriseData/components/SearchEnterprise/index.vue
View file @
45f8d47e
...
...
@@ -449,13 +449,7 @@
<p>
共有{{total}}条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message({message: '功能正在开发中',type: 'warning'})"
>
导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/project/projectList/component/gjjl.vue
View file @
45f8d47e
...
...
@@ -210,6 +210,8 @@
methods
:{
//添加跟进动态
addFollow
(){
if
(
this
.
addParam
.
content
==
''
)
return
false
if
(
this
.
types
==
'projectgjdt'
){
if
(
this
.
projectId
==
""
||
this
.
projectId
==
null
){
this
.
$message
.
error
(
'请选择关联项目!'
)
...
...
dsk-operate-ui/src/views/project/projectList/component/gzdb.vue
View file @
45f8d47e
...
...
@@ -26,7 +26,7 @@
<el-input
v-model=
"queryParam.target"
placeholder=
"拜访对象"
style=
"width: 100px;"
>
</el-input>
</div>
<div
class=
"btn btn_primary h32 wc"
@
click=
"add"
:disabled=
"queryParam.task == ''
"
:class=
"
{'btn_disabled':queryParam.task == ''}">完成
</div>
<div
class=
"btn btn_primary h32 wc"
@
click=
"add
"
:class=
"
{'btn_disabled':queryParam.task == ''}">完成
</div>
</div>
</div>
</div>
...
...
@@ -109,6 +109,8 @@
this
.
value
=
""
},
add
(){
if
(
this
.
queryParam
.
task
==
''
)
return
false
addGZDB
(
this
.
queryParam
).
then
(
result
=>
{
if
(
result
.
code
==
200
){
this
.
$message
.
success
(
"添加成功!"
)
...
...
dsk-operate-ui/src/views/project/projectList/component/xgqy.vue
View file @
45f8d47e
...
...
@@ -17,7 +17,7 @@
<el-table
:data=
"tableData.rows"
style=
"width: 100%"
:default-sort =
"
{prop: 'depth', order: '
a
scending'}"
:default-sort =
"
{prop: 'depth', order: '
de
scending'}"
>
<template
slot=
"empty"
>
<div
class=
"empty"
>
...
...
dsk-operate-ui/src/views/project/projectList/component/zlwd.vue
View file @
45f8d47e
...
...
@@ -61,7 +61,7 @@
<el-table
:data=
"fileDatas.rows"
style=
"width: 100%"
:default-sort =
"
{prop: 'creatTime', order: '
a
scending'}"
:default-sort =
"
{prop: 'creatTime', order: '
de
scending'}"
>
<template
slot=
"empty"
>
<div
class=
"empty"
>
...
...
dsk-operate-ui/src/views/radar/Establishment/details.vue
View file @
45f8d47e
...
...
@@ -208,11 +208,13 @@
<
script
>
import
api
from
'@/api/radar/radar.js'
;
import
{
encodeStr
}
from
"@/assets/js/common.js"
export
default
{
name
:
'EstablishmentDetails'
,
data
()
{
return
{
encodeStr
,
id
:
''
,
textList
:
{},
pageNum1
:
1
,
...
...
@@ -624,6 +626,11 @@
.span-one
{
width
:
90%
;
}
.blue
{
color
:
#0081FF
!
important
;
cursor
:
pointer
;
}
}
...
...
dsk-operate-ui/src/views/radar/bxprozbgg/details.vue
View file @
45f8d47e
...
...
@@ -185,7 +185,7 @@
<div
class=
"main3-box"
>
<p>
<label
class=
"label"
>
招标人
</label>
<router-link
:to=
"textList.uipId?'/enterprise/' + encodeStr(textList.uipId) :'/company/' + encodeStr(textList.tendereeId) "
tag=
"a"
class=
"list-titel-a
blue
"
v-html=
"textList.tenderee"
></router-link>
<router-link
:to=
"textList.uipId?'/enterprise/' + encodeStr(textList.uipId) :'/company/' + encodeStr(textList.tendereeId) "
tag=
"a"
class=
"list-titel-a
color2
"
v-html=
"textList.tenderee"
></router-link>
<label
class=
"label"
>
代理机构
</label>
<router-link
v-if=
"textList.agencyId"
:to=
"'/company/' + encodeStr(textList.agencyId) + '/?index=true'"
tag=
"a"
class=
"list-titel-a color2"
v-html=
"textList.agency"
></router-link>
<span
v-else
class=
"color2"
>
{{textList.agency||'--'}}
</span>
...
...
dsk-operate-ui/src/views/radar/components/BidRecord/index.vue
View file @
45f8d47e
...
...
@@ -124,13 +124,7 @@
<p>
共有
{{
total
}}
条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})">导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/radar/components/Bidding/index.vue
View file @
45f8d47e
...
...
@@ -177,13 +177,7 @@
<p>
共有
{{
total
}}
条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})">导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/radar/components/Establishment/index.vue
View file @
45f8d47e
...
...
@@ -180,13 +180,7 @@
<p>
共有
{{
total
}}
条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})">导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/radar/components/Land/index.vue
View file @
45f8d47e
...
...
@@ -219,13 +219,7 @@
<p>
共有
{{
total
}}
条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})">导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/radar/components/Tender/index.vue
View file @
45f8d47e
...
...
@@ -180,13 +180,7 @@
<p>
共有
{{
total
}}
条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message(
{message: '功能正在开发中',type: 'warning'})">导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/radar/components/bxprozbgg/index.vue
View file @
45f8d47e
...
...
@@ -336,13 +336,7 @@
<p>
共有{{total}}条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message({message: '功能正在开发中',type: 'warning'})"
>
导出EXCEL
</span>
</p>
</div>
...
...
dsk-operate-ui/src/views/radar/components/debtProject/index.vue
View file @
45f8d47e
...
...
@@ -94,13 +94,9 @@
<p>
共有{{total}}条
</p>
<p>
<img
src=
"@/assets/images/EXCEL.png"
alt=
""
>
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
content=
"功能正在开发中"
>
<span
class=
"excel"
slot=
"reference"
>
导出EXCEL
</span>
</el-popover>
<span
class=
"excel"
@
click=
"$message({message: '功能正在开发中',type: 'warning'})"
>
导出EXCEL
</span>
</p>
</div>
<div
class=
"table-item-jf1"
v-if=
"tableData.length==0"
>
...
...
dsk-operate-ui/src/views/radar/debtProject/details.vue
View file @
45f8d47e
...
...
@@ -136,14 +136,14 @@
<div
class=
"main4-box"
>
<label
class=
"label"
>
项目主体
</label>
<span>
<router-link
v-if=
"textList.projectEntity"
:to=
"textList.projectEntityUipId?'/enterprise/' +
encodeStr(textList.projectEntityUipId)
:'/company/' + encodeStr(textList.projectEntityId) "
tag=
"a"
class=
"list-titel-a blue"
v-html=
"textList.projectEntity"
></router-link>
<router-link
v-if=
"textList.projectEntity"
:to=
"textList.projectEntityUipId?'/enterprise/' +
textList.projectEntityUipId
:'/company/' + encodeStr(textList.projectEntityId) "
tag=
"a"
class=
"list-titel-a blue"
v-html=
"textList.projectEntity"
></router-link>
<template
v-else
>
--
</
template
>
</span>
<label
class=
"label"
>
主管部门
</label>
<span>
{{textList.chargeDepartment||'--'}}
</span>
<label
class=
"label"
>
实施单位
</label>
<span>
<router-link
v-if=
"textList.piu"
:to=
"textList.piuUipId?'/enterprise/' +
encodeStr(textList.piuUipId)
:'/company/' + encodeStr(textList.piuId) "
tag=
"a"
class=
"list-titel-a blue"
v-html=
"textList.piu"
></router-link>
<router-link
v-if=
"textList.piu"
:to=
"textList.piuUipId?'/enterprise/' +
textList.piuUipId
:'/company/' + encodeStr(textList.piuId) "
tag=
"a"
class=
"list-titel-a blue"
v-html=
"textList.piu"
></router-link>
<
template
v-else
>
--
</
template
>
</span>
</div>
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
45f8d47e
...
...
@@ -152,7 +152,16 @@ public class EnterpriseService {
public
TableDataInfo
dynamicPage
(
EnterpriseDynamicPageBody
body
)
throws
Exception
{
if
(
body
.
isVaildCid
())
return
new
TableDataInfo
(
new
ArrayList
<>(),
0
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/jsk/enterprise/dynamic"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
//底层接口写死了pageSize为10,这里前端只要5条
// return dskOpenApiUtil.responsePage(map);
Integer
code
=
MapUtils
.
getInteger
(
map
,
"code"
,
300
);
Map
data
=
MapUtils
.
getMap
(
map
,
"data"
,
null
);
if
(
200
!=
code
)
throw
new
RuntimeException
();
Integer
count
=
MapUtils
.
getInteger
(
data
,
"totalCount"
,
0
);
List
<
Object
>
list
=
CommonUtils
.
assertAsArray
(
MapUtils
.
getObject
(
data
,
"list"
,
""
));
return
new
TableDataInfo
(
body
.
getPageSize
()
<=
list
.
size
()
?
list
.
subList
(
0
,
body
.
getPageSize
())
:
list
,
count
);
}
public
R
icInfo
(
EnterpriseIcInfoBody
body
)
throws
Exception
{
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/BusinessInfoServiceImpl.java
View file @
45f8d47e
...
...
@@ -81,6 +81,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
*/
@Override
public
List
<
BusinessListVo
>
selectBusinessInfoList
(
BusinessListDto
dto
)
{
if
(
StringUtils
.
isEmpty
(
dto
.
getMinAmount
()))
dto
.
setMinAmount
(
"0"
);
List
<
BusinessListVo
>
othersList
=
new
ArrayList
<>();
//userId不传值,就查询全部他人可见项目+自己的
if
(
dto
.
getUserId
()
==
null
)
{
...
...
dsk-system/src/main/resources/mapper/business/BusinessInfoMapper.xml
View file @
45f8d47e
...
...
@@ -111,15 +111,15 @@
</foreach>
</if>
<if
test=
"minAmount != null and minAmount != '' and minAmount != 0 and maxAmount != minAmount"
>
and i.investment_amount
>
=
#{minAmount}
and i.investment_amount
>
#{minAmount}
</if>
<if
test=
"minAmount == 0 and maxAmount != minAmount"
>
and ((i.investment_amount
>
=
#{minAmount}
and i.investment_amount
<
#{maxAmount})
and ((i.investment_amount
>
#{minAmount}
and i.investment_amount
<
=
#{maxAmount})
or i.investment_amount is null)
</if>
<if
test=
"maxAmount != null and maxAmount != '' and maxAmount != minAmount and minAmount != 0"
>
and i.investment_amount
<
#{maxAmount}
and i.investment_amount
<
=
#{maxAmount}
</if>
<if
test=
"minAmount != null and minAmount != '' and maxAmount != null and maxAmount != '' and maxAmount == minAmount"
>
and i.investment_amount = #{minAmount}
...
...
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