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
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
122 additions
and
61 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 @@
<dependency>
<groupId>
cn.com.glsx
</groupId>
<artifactId>
rpc-dj-insure-api
</artifactId>
<version>
4.53.0
-SNAPSHOT
</version>
<version>
5.8.1
-SNAPSHOT
</version>
</dependency>
<dependency>
<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;
import
cn.com.glsx.dj.customer.remote.CustomerDeviceFsyncCountRemote
;
import
cn.com.glsx.dj.insure.remote.*
;
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.Configuration
;
...
...
@@ -107,4 +108,10 @@ public class BusinessManageDubboConfig extends DubboConfig{
public
InsureModifyRecordRemote
insureModifyRecordRemote
(){
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;
import
IceUtilInternal.StringUtil
;
import
cn.com.glsx.dj.insure.dto.InsureModifyRecordDTO
;
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.ApiOperation
;
...
...
@@ -93,6 +97,8 @@ public class EquityController {
private
Environment
environment
;
@Autowired
private
RedisTemplate
redisTemplate
;
@Autowired
private
ChannelServiceEquityOrderRemote
channelServiceEquityOrderRemote
;
@PostMapping
(
"/getEquityList"
)
@ApiOperation
(
value
=
"查询权益列表"
,
notes
=
"查询权益列表"
)
...
...
@@ -426,4 +432,18 @@ public class EquityController {
public
ResultEntity
<
List
<
InsureModifyRecordDTO
>>
queryInsureModifyRecords
(
@NotNull
@RequestParam
(
"insureType"
)
Byte
insureType
,
@NotNull
@RequestParam
(
"insureId"
)
Integer
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 @@
}
}
$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
({
title
:
"服务订单已超过七日,确定退单吗?"
,
type
:
"warning"
,
...
...
@@ -471,68 +486,81 @@
// 退单
$scope
.
cancel
=
function
(
obj
)
{
if
(
obj
.
equityType
==
'9'
||
obj
.
eqIsGlAcceptance
==
'1'
||
obj
.
eqIsG
){
swal
(
{
title
:
"确定退保吗?"
,
type
:
"warning"
,
showCancelButton
:
true
,
confirmButtonColor
:
"#DD6B55"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
closeOnConfirm
:
false
},
function
()
{
var
startDate
=
new
Date
(
obj
.
successDate
);
var
endDate
=
new
Date
();
var
diff
=
endDate
.
getTime
()
-
startDate
.
getTime
();
//时间差的毫秒数
//计算出相差天数
var
days
=
Math
.
ceil
(
diff
/
(
24
*
3600
*
1000
));
var
che
=
'1'
;
if
(
days
>
7
)
{
swal
({
type
:
'error'
,
title
:
''
,
html
:
true
,
text
:
'为保障客户权益,请邮件主送:service@didihu.com.cn,提交退单申请 ,邮件标题:门店名称+合同号+退单原因,并备注门店接待姓名+电话'
,
confirmButtonText
:
'确定'
})
}
else
{
cancelOvertimeEquity
(
obj
)
}
}
);
}
else
{
var
pdfParam
=
{
'id'
:
obj
.
id
,
'seqNo'
:
obj
.
seqNo
}
var
config
=
{
'title'
:
'退单预览
'
,
'viewUrl'
:
''
,
'confirmButtonText'
:
'确认退单'
,
'sucMsg'
:
'退单成功'
,
'failMsg'
:
'退单失败'
$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
){
swal
({
title
:
"确定退保吗?"
,
type
:
"warning"
,
showCancelButton
:
true
,
confirmButtonColor
:
"#DD6B55"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
closeOnConfirm
:
false
},
function
()
{
var
startDate
=
new
Date
(
obj
.
successDate
);
var
endDate
=
new
Date
();
var
diff
=
endDate
.
getTime
()
-
startDate
.
getTime
();
//时间差的毫秒数
//计算出相差天数
var
days
=
Math
.
ceil
(
diff
/
(
24
*
3600
*
1000
)
);
var
che
=
'1'
;
if
(
days
>
7
)
{
swal
({
type
:
'error'
,
title
:
''
,
html
:
true
,
text
:
'为保障客户权益,请邮件主送:service@didihu.com.cn,提交退单申请 ,邮件标题:门店名称+合同号+退单原因,并备注门店接待姓名+电话
'
,
confirmButtonText
:
'确定'
})
}
else
{
cancelOvertimeEquity
(
obj
)
}
var
submitParams
=
{
'seqNo'
:
obj
.
seqNo
});
}
else
{
var
pdfParam
=
{
'id'
:
obj
.
id
,
'seqNo'
:
obj
.
seqNo
}
var
config
=
{
'title'
:
'退单预览'
,
'viewUrl'
:
''
,
'confirmButtonText'
:
'确认退单'
,
'sucMsg'
:
'退单成功'
,
'failMsg'
:
'退单失败'
}
var
submitParams
=
{
'seqNo'
:
obj
.
seqNo
}
var
submitService
=
'cancelInsurance'
;
rightInterestService
.
print
(
pdfParam
,
function
(
result
)
{
if
(
!
result
.
data
){
swal
({
type
:
'error'
,
title
:
'退单失败'
,
html
:
true
,
text
:
result
.
message
||
''
,
confirmButtonText
:
"确定"
});
return
;
}
var
submitService
=
'cancelInsurance'
;
rightInterestService
.
print
(
pdfParam
,
function
(
result
)
{
if
(
!
result
.
data
){
swal
({
type
:
'error'
,
title
:
'退单失败'
,
html
:
true
,
text
:
result
.
message
||
''
,
confirmButtonText
:
"确定"
});
return
;
}
config
.
viewUrl
=
result
.
data
;
equityService
.
showViewer
(
pdfParam
,
submitParams
,
submitService
,
config
,
function
()
{
$scope
.
search
();
})
config
.
viewUrl
=
result
.
data
;
equityService
.
showViewer
(
pdfParam
,
submitParams
,
submitService
,
config
,
function
()
{
$scope
.
search
();
})
}
})
}
}
$scope
.
viewUpdateDetail
=
function
(
obj
)
{
...
...
src/main/webapp/biz/business/services.js
View file @
f9df49c
...
...
@@ -465,6 +465,12 @@ angular
url
:
"equityManage/getLossFreeValueValid"
,
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