Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
web-dj-site
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f9df49ca
authored
Jun 02, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.8.1' into 'master'
上线合并 See merge request
!3
2 parents
65731b65
725f6f01
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
3 deletions
pom.xml
src/main/java/cn/com/glsx/dj/site/config/dubbo/BusinessManageDubboConfig.java
src/main/java/cn/com/glsx/dj/site/controller/businessmanage/insurancemanage/EquityController.java
src/main/webapp/biz/business/controller/otherRightInterests.js
src/main/webapp/biz/business/services.js
pom.xml
View file @
f9df49c
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<dependency>
<dependency>
<groupId>
cn.com.glsx
</groupId>
<groupId>
cn.com.glsx
</groupId>
<artifactId>
rpc-dj-insure-api
</artifactId>
<artifactId>
rpc-dj-insure-api
</artifactId>
<version>
4.53.0
-SNAPSHOT
</version>
<version>
5.8.1
-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
...
...
src/main/java/cn/com/glsx/dj/site/config/dubbo/BusinessManageDubboConfig.java
View file @
f9df49c
...
@@ -4,6 +4,7 @@ import cn.com.glsx.dj.aibschance.remote.FenceConfigRemote;
...
@@ -4,6 +4,7 @@ import cn.com.glsx.dj.aibschance.remote.FenceConfigRemote;
import
cn.com.glsx.dj.customer.remote.CustomerDeviceFsyncCountRemote
;
import
cn.com.glsx.dj.customer.remote.CustomerDeviceFsyncCountRemote
;
import
cn.com.glsx.dj.insure.remote.*
;
import
cn.com.glsx.dj.insure.remote.*
;
import
cn.com.glsx.dj.system.remote.ConfigRemote
;
import
cn.com.glsx.dj.system.remote.ConfigRemote
;
import
cn.com.glsx.scrm.equity.remote.ChannelServiceEquityOrderRemote
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
...
@@ -107,4 +108,10 @@ public class BusinessManageDubboConfig extends DubboConfig{
...
@@ -107,4 +108,10 @@ public class BusinessManageDubboConfig extends DubboConfig{
public
InsureModifyRecordRemote
insureModifyRecordRemote
(){
public
InsureModifyRecordRemote
insureModifyRecordRemote
(){
return
factory
.
builder
(
InsureModifyRecordRemote
.
class
).
check
(
false
).
timeout
(
timeout
).
build
();
return
factory
.
builder
(
InsureModifyRecordRemote
.
class
).
check
(
false
).
timeout
(
timeout
).
build
();
}
}
@Bean
public
ChannelServiceEquityOrderRemote
channelServiceEquityOrderRemote
()
{
return
factory
.
builder
(
ChannelServiceEquityOrderRemote
.
class
).
check
(
check
).
version
(
"1.0.0"
).
timeout
(
timeout
).
build
();
}
}
}
src/main/java/cn/com/glsx/dj/site/controller/businessmanage/insurancemanage/EquityController.java
View file @
f9df49c
...
@@ -5,6 +5,10 @@ package cn.com.glsx.dj.site.controller.businessmanage.insurancemanage;
...
@@ -5,6 +5,10 @@ package cn.com.glsx.dj.site.controller.businessmanage.insurancemanage;
import
IceUtilInternal.StringUtil
;
import
IceUtilInternal.StringUtil
;
import
cn.com.glsx.dj.insure.dto.InsureModifyRecordDTO
;
import
cn.com.glsx.dj.insure.dto.InsureModifyRecordDTO
;
import
cn.com.glsx.dj.site.execl.businessmanage.equity.EquityDetailsExportWithCostVo
;
import
cn.com.glsx.dj.site.execl.businessmanage.equity.EquityDetailsExportWithCostVo
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.scrm.equity.dto.service.ChargeBackCheckDTO
;
import
cn.com.glsx.scrm.equity.dto.service.ChargeBackCheckResultDTO
;
import
cn.com.glsx.scrm.equity.remote.ChannelServiceEquityOrderRemote
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -93,6 +97,8 @@ public class EquityController {
...
@@ -93,6 +97,8 @@ public class EquityController {
private
Environment
environment
;
private
Environment
environment
;
@Autowired
@Autowired
private
RedisTemplate
redisTemplate
;
private
RedisTemplate
redisTemplate
;
@Autowired
private
ChannelServiceEquityOrderRemote
channelServiceEquityOrderRemote
;
@PostMapping
(
"/getEquityList"
)
@PostMapping
(
"/getEquityList"
)
@ApiOperation
(
value
=
"查询权益列表"
,
notes
=
"查询权益列表"
)
@ApiOperation
(
value
=
"查询权益列表"
,
notes
=
"查询权益列表"
)
...
@@ -426,4 +432,18 @@ public class EquityController {
...
@@ -426,4 +432,18 @@ public class EquityController {
public
ResultEntity
<
List
<
InsureModifyRecordDTO
>>
queryInsureModifyRecords
(
@NotNull
@RequestParam
(
"insureType"
)
Byte
insureType
,
@NotNull
@RequestParam
(
"insureId"
)
Integer
insureId
)
{
public
ResultEntity
<
List
<
InsureModifyRecordDTO
>>
queryInsureModifyRecords
(
@NotNull
@RequestParam
(
"insureType"
)
Byte
insureType
,
@NotNull
@RequestParam
(
"insureId"
)
Integer
insureId
)
{
return
equityService
.
queryInsureModifyRecords
(
insureType
,
insureId
);
return
equityService
.
queryInsureModifyRecords
(
insureType
,
insureId
);
}
}
@PostMapping
(
"/checkChargeBackAllowed"
)
@ApiOperation
(
value
=
"校验合同是否允许退单"
,
notes
=
"校验合同是否允许退单"
)
@OperationLog
(
"校验合同是否允许退单"
)
public
ResultEntity
<
ChargeBackCheckResultDTO
>
checkChargeBackAllowed
(
@RequestBody
ChargeBackCheckDTO
request
)
{
ChargeBackCheckDTO
dto
=
new
ChargeBackCheckDTO
();
dto
.
setVin
(
request
.
getVin
());
dto
.
setSource
(
request
.
getSource
());
RpcResponse
<
ChargeBackCheckResultDTO
>
rpcResponse
=
channelServiceEquityOrderRemote
.
checkChargeBackAllowed
(
dto
);
if
(
rpcResponse
.
isSuccess
())
{
return
ResultEntity
.
success
(
rpcResponse
.
getResult
());
}
return
ResultEntity
.
error
(
rpcResponse
.
getMessage
());
}
}
}
src/main/webapp/biz/business/controller/otherRightInterests.js
View file @
f9df49c
...
@@ -80,7 +80,22 @@
...
@@ -80,7 +80,22 @@
}
}
}
}
$scope
.
cancelOvertime
=
function
(
obj
)
{
$scope
.
cancelOvertime
=
async
function
(
obj
)
{
// 添加理赔过订单退单拦截
let
result
=
await
rightInterestService
.
checkBackOrder
({
vin
:
obj
.
standNo
,
source
:
1
}).
$promise
if
(
result
.
returnCode
==
'0'
&&
!
result
.
data
.
allowChargeBack
)
{
swal
({
title
:
'提示'
,
type
:
'warning'
,
html
:
true
,
text
:
`
${
result
.
data
.
message
}
`
,
showCancelButton
:
false
,
showConfirmButton
:
true
,
confirmButtonText
:
"确定"
,
})
return
}
swal
({
swal
({
title
:
"服务订单已超过七日,确定退单吗?"
,
title
:
"服务订单已超过七日,确定退单吗?"
,
type
:
"warning"
,
type
:
"warning"
,
...
@@ -471,7 +486,20 @@
...
@@ -471,7 +486,20 @@
// 退单
// 退单
$scope
.
cancel
=
function
(
obj
)
{
$scope
.
cancel
=
async
function
(
obj
)
{
let
result
=
await
rightInterestService
.
checkBackOrder
({
vin
:
obj
.
standNo
,
source
:
1
}).
$promise
if
(
result
.
returnCode
==
'0'
&&
!
result
.
data
.
allowChargeBack
)
{
swal
({
title
:
'提示'
,
type
:
'warning'
,
html
:
true
,
text
:
`
${
result
.
data
.
message
}
`
,
showCancelButton
:
false
,
showConfirmButton
:
true
,
confirmButtonText
:
"确定"
,
})
return
}
if
(
obj
.
equityType
==
'9'
||
obj
.
eqIsGlAcceptance
==
'1'
||
obj
.
eqIsG
){
if
(
obj
.
equityType
==
'9'
||
obj
.
eqIsGlAcceptance
==
'1'
||
obj
.
eqIsG
){
swal
({
swal
({
title
:
"确定退保吗?"
,
title
:
"确定退保吗?"
,
...
...
src/main/webapp/biz/business/services.js
View file @
f9df49c
...
@@ -465,6 +465,12 @@ angular
...
@@ -465,6 +465,12 @@ angular
url
:
"equityManage/getLossFreeValueValid"
,
url
:
"equityManage/getLossFreeValueValid"
,
method
:
"GET"
,
method
:
"GET"
,
},
},
// 校验是否允许退单
checkBackOrder
:
{
url
:
"equityManage/checkChargeBackAllowed"
,
method
:
"POST"
,
headers
:
{
"Content-type"
:
"application/json"
}
}
});
});
},
},
])
])
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment