Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
f8f09655
提交
f8f09655
authored
2月 23, 2024
作者:
huyufan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
货主还款更改请求方式
上级
fce5ea0f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
7 行增加
和
12 行删除
+7
-12
OwnerLoanAccountController.java
.../controller/pc/loan/owner/OwnerLoanAccountController.java
+3
-6
OwnerLoanRecordServiceImpl.java
...ormance/service/impl/loan/OwnerLoanRecordServiceImpl.java
+0
-1
OwnerRepaymentServiceImpl.java
...formance/service/impl/loan/OwnerRepaymentServiceImpl.java
+3
-4
OwnerRepaymentService.java
...m/clx/performance/service/loan/OwnerRepaymentService.java
+1
-1
没有找到文件。
performance-web/src/main/java/com/clx/performance/controller/pc/loan/owner/OwnerLoanAccountController.java
浏览文件 @
f8f09655
...
@@ -42,7 +42,6 @@ public class OwnerLoanAccountController {
...
@@ -42,7 +42,6 @@ public class OwnerLoanAccountController {
return
Result
.
ok
();
return
Result
.
ok
();
}
}
@ApiOperation
(
value
=
"货主借款申请"
,
notes
=
"<br>By:胡宇帆"
)
@ApiOperation
(
value
=
"货主借款申请"
,
notes
=
"<br>By:胡宇帆"
)
@PostMapping
(
"/ownerLoanRecordSubmit"
)
@PostMapping
(
"/ownerLoanRecordSubmit"
)
@UnitCovert
(
result
=
false
)
@UnitCovert
(
result
=
false
)
...
@@ -51,8 +50,6 @@ public class OwnerLoanAccountController {
...
@@ -51,8 +50,6 @@ public class OwnerLoanAccountController {
return
Result
.
ok
();
return
Result
.
ok
();
}
}
@ApiOperation
(
value
=
"货主借款账户信息"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"货主借款账户信息"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getOwnerLoanAccount"
)
@GetMapping
(
"/getOwnerLoanAccount"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
...
@@ -62,7 +59,7 @@ public class OwnerLoanAccountController {
...
@@ -62,7 +59,7 @@ public class OwnerLoanAccountController {
}
}
@ApiOperation
(
value
=
"货主还款"
,
notes
=
"<br>By:胡宇帆"
)
@ApiOperation
(
value
=
"货主还款"
,
notes
=
"<br>By:胡宇帆"
)
@
Ge
tMapping
(
"/ownerRepayment"
)
@
Pos
tMapping
(
"/ownerRepayment"
)
public
Result
<
OwnerAccountVO
>
ownerRepayment
(
@RequestBody
OwnerRepaymentParam
param
)
{
public
Result
<
OwnerAccountVO
>
ownerRepayment
(
@RequestBody
OwnerRepaymentParam
param
)
{
ownerLoanAccountService
.
ownerRepayment
(
param
);
ownerLoanAccountService
.
ownerRepayment
(
param
);
return
Result
.
ok
();
return
Result
.
ok
();
...
@@ -70,8 +67,8 @@ public class OwnerLoanAccountController {
...
@@ -70,8 +67,8 @@ public class OwnerLoanAccountController {
@ApiOperation
(
value
=
"取消支付(还款)"
,
notes
=
"<br>By:胡宇帆"
)
@ApiOperation
(
value
=
"取消支付(还款)"
,
notes
=
"<br>By:胡宇帆"
)
@GetMapping
(
"/ownerRepaymentCancelPay"
)
@GetMapping
(
"/ownerRepaymentCancelPay"
)
public
Result
<
Object
>
owner
LoanRecord
CancelPay
(
@RequestParam
(
value
=
"repaymentNo"
)
@NotBlank
String
repaymentNo
)
{
public
Result
<
Object
>
owner
Repayment
CancelPay
(
@RequestParam
(
value
=
"repaymentNo"
)
@NotBlank
String
repaymentNo
)
{
ownerRepaymentService
.
owner
LoanRecord
CancelPay
(
repaymentNo
);
ownerRepaymentService
.
owner
Repayment
CancelPay
(
repaymentNo
);
return
Result
.
ok
();
return
Result
.
ok
();
}
}
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerLoanRecordServiceImpl.java
浏览文件 @
f8f09655
...
@@ -513,7 +513,6 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
...
@@ -513,7 +513,6 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
ownerLoanRecord
.
getLoanBalance
().
intValue
(),
borrower
.
getOpenBankId
(),
borrower
.
getBankCardNo
(),
borrower
.
getName
());
ownerLoanRecord
.
getLoanBalance
().
intValue
(),
borrower
.
getOpenBankId
(),
borrower
.
getBankCardNo
(),
borrower
.
getName
());
ownerLoanRecord
.
setRunningWaterOpenNo
(
orderPayResultVO
.
getTransSeqNo
());
ownerLoanRecord
.
setRunningWaterOpenNo
(
orderPayResultVO
.
getTransSeqNo
());
ownerLoanRecord
.
setMerchantRunningWaterNo
(
orderPayResultVO
.
getMerSeqNo
());
ownerLoanRecord
.
setMerchantRunningWaterNo
(
orderPayResultVO
.
getMerSeqNo
());
ownerLoanRecord
.
setRemittanceIdentificationCode
(
null
);
ownerLoanRecord
.
setStatus
(
OwnerLoanRecordEnum
.
Status
.
PAYING
.
getCode
());
ownerLoanRecord
.
setStatus
(
OwnerLoanRecordEnum
.
Status
.
PAYING
.
getCode
());
ownerLoanRecord
.
setLoanResidueBalance
(
ownerLoanRecord
.
getLoanBalance
());
ownerLoanRecord
.
setLoanResidueBalance
(
ownerLoanRecord
.
getLoanBalance
());
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerRepaymentServiceImpl.java
浏览文件 @
f8f09655
...
@@ -223,12 +223,11 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
...
@@ -223,12 +223,11 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
owner
LoanRecord
CancelPay
(
String
repaymentNo
)
{
public
void
owner
Repayment
CancelPay
(
String
repaymentNo
)
{
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getOneByField
(
OwnerRepayment:
:
getRepaymentNo
,
repaymentNo
)
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getOneByField
(
OwnerRepayment:
:
getRepaymentNo
,
repaymentNo
)
.
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
.
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
if
(
ownerRepayment
.
getStatus
().
equals
(
OwnerRePaymentEnum
.
Status
.
PAY_SUCCESS
.
getCode
()))
if
(!
ownerRepayment
.
getStatus
().
equals
(
OwnerRePaymentEnum
.
Status
.
PAYING
.
getCode
()))
{
{
log
.
info
(
"还款记录状态异常,不是付款中,不能取消"
);
log
.
info
(
"还款记录状态异常,不能取消"
);
throw
new
ServiceSystemException
(
PerformanceResultEnum
.
OWNER_LOAN_RECORD_CANCEL_STATUS_ERROR
);
throw
new
ServiceSystemException
(
PerformanceResultEnum
.
OWNER_LOAN_RECORD_CANCEL_STATUS_ERROR
);
}
}
BankTrade
bankTrade
=
bankTradeDao
.
selectByRelationNo
(
repaymentNo
).
get
();
BankTrade
bankTrade
=
bankTradeDao
.
selectByRelationNo
(
repaymentNo
).
get
();
...
...
performance-web/src/main/java/com/clx/performance/service/loan/OwnerRepaymentService.java
浏览文件 @
f8f09655
...
@@ -33,7 +33,7 @@ public interface OwnerRepaymentService {
...
@@ -33,7 +33,7 @@ public interface OwnerRepaymentService {
String
sendPaymentSms
(
String
mobile
,
Long
repaymentNo
);
String
sendPaymentSms
(
String
mobile
,
Long
repaymentNo
);
String
sendOrderPaySms
(
String
mobile
,
String
payee
,
String
payeeAccount
);
String
sendOrderPaySms
(
String
mobile
,
String
payee
,
String
payeeAccount
);
void
owner
LoanRecord
CancelPay
(
String
repaymentNo
);
void
owner
Repayment
CancelPay
(
String
repaymentNo
);
void
ownerRepaymentRetryPay
(
String
repaymentNo
);
void
ownerRepaymentRetryPay
(
String
repaymentNo
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论