Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
81c9d39f
提交
81c9d39f
authored
2月 04, 2024
作者:
liuhaiquan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改VO的类名
上级
74738262
显示空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
60 行增加
和
71 行删除
+60
-71
CarrierCashierInfoVO.java
.../performance/vo/pc/loan/carrier/CarrierCashierInfoVO.java
+1
-1
CarrierTransferPaymentDetailVO.java
...ce/vo/pc/loan/carrier/CarrierTransferPaymentDetailVO.java
+1
-2
OwnerOrderPaymentDetailVO.java
...ormance/vo/pc/loan/carrier/OwnerOrderPaymentDetailVO.java
+1
-2
OwnerCashierInfoVO.java
.../clx/performance/vo/pc/loan/owner/OwnerCashierInfoVO.java
+1
-1
OwnerOrderPaymentDetailVO.java
...rformance/vo/pc/loan/owner/OwnerOrderPaymentDetailVO.java
+1
-2
OwnerTransferPaymentDetailVO.java
...rmance/vo/pc/loan/owner/OwnerTransferPaymentDetailVO.java
+1
-1
CarrierOwnerLoanRecordController.java
...ler/pc/loan/carrier/CarrierOwnerLoanRecordController.java
+9
-9
OwnerLoanRecordController.java
...e/controller/pc/loan/owner/OwnerLoanRecordController.java
+0
-7
OwnerRepaymentController.java
...ce/controller/pc/loan/owner/OwnerRepaymentController.java
+9
-9
OwnerLoanRecordServiceImpl.java
...ormance/service/impl/loan/OwnerLoanRecordServiceImpl.java
+7
-8
OwnerRepaymentServiceImpl.java
...formance/service/impl/loan/OwnerRepaymentServiceImpl.java
+9
-9
OwnerLoanRecordService.java
.../clx/performance/service/loan/OwnerLoanRecordService.java
+6
-6
OwnerRepaymentService.java
...m/clx/performance/service/loan/OwnerRepaymentService.java
+6
-6
OwnerLoanRecordStruct.java
...om/clx/performance/struct/loan/OwnerLoanRecordStruct.java
+4
-4
OwnerRepaymentStruct.java
...com/clx/performance/struct/loan/OwnerRepaymentStruct.java
+4
-4
没有找到文件。
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/CashierInfoVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/Ca
rrierCa
shierInfoVO.java
浏览文件 @
81c9d39f
...
@@ -20,7 +20,7 @@ import java.util.List;
...
@@ -20,7 +20,7 @@ import java.util.List;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
@Builder
@Builder
public
class
CashierInfoVO
{
public
class
Ca
rrierCa
shierInfoVO
{
@ApiModelProperty
(
"借款单号"
)
@ApiModelProperty
(
"借款单号"
)
private
Long
loanNo
;
private
Long
loanNo
;
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/TransferPaymentDetailVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/
Carrier
TransferPaymentDetailVO.java
浏览文件 @
81c9d39f
package
com
.
clx
.
performance
.
vo
.
pc
.
loan
.
carrier
;
package
com
.
clx
.
performance
.
vo
.
pc
.
loan
.
carrier
;
import
com.clx.performance.enums.loan.OwnerLoanRecordEnum
;
import
com.clx.performance.enums.loan.OwnerLoanRecordEnum
;
import
com.clx.performance.enums.loan.OwnerRePaymentEnum
;
import
com.msl.common.convertor.type.MoneyOutConvert
;
import
com.msl.common.convertor.type.MoneyOutConvert
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.*
;
...
@@ -21,7 +20,7 @@ import java.math.BigDecimal;
...
@@ -21,7 +20,7 @@ import java.math.BigDecimal;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
@Builder
@Builder
public
class
TransferPaymentDetailVO
{
public
class
Carrier
TransferPaymentDetailVO
{
@ApiModelProperty
(
"收款户名"
)
@ApiModelProperty
(
"收款户名"
)
private
String
payee
;
private
String
payee
;
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OrderPaymentDetailVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/O
wnerO
rderPaymentDetailVO.java
浏览文件 @
81c9d39f
package
com
.
clx
.
performance
.
vo
.
pc
.
loan
.
carrier
;
package
com
.
clx
.
performance
.
vo
.
pc
.
loan
.
carrier
;
import
com.clx.performance.enums.loan.OwnerLoanRecordEnum
;
import
com.clx.performance.enums.loan.OwnerLoanRecordEnum
;
import
com.clx.performance.enums.loan.OwnerRePaymentEnum
;
import
com.msl.common.convertor.type.MoneyOutConvert
;
import
com.msl.common.convertor.type.MoneyOutConvert
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.*
;
...
@@ -21,7 +20,7 @@ import java.math.BigDecimal;
...
@@ -21,7 +20,7 @@ import java.math.BigDecimal;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
@Builder
@Builder
public
class
OrderPaymentDetailVO
{
public
class
O
wnerO
rderPaymentDetailVO
{
@ApiModelProperty
(
"借款单号"
)
@ApiModelProperty
(
"借款单号"
)
private
Long
loanNo
;
private
Long
loanNo
;
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/owner/CashierInfoVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/owner/
Owner
CashierInfoVO.java
浏览文件 @
81c9d39f
...
@@ -20,7 +20,7 @@ import java.util.List;
...
@@ -20,7 +20,7 @@ import java.util.List;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
@Builder
@Builder
public
class
CashierInfoVO
{
public
class
Owner
CashierInfoVO
{
@ApiModelProperty
(
"还款单号"
)
@ApiModelProperty
(
"还款单号"
)
private
Long
repaymentNo
;
private
Long
repaymentNo
;
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/owner/OrderPaymentDetailVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/owner/O
wnerO
rderPaymentDetailVO.java
浏览文件 @
81c9d39f
...
@@ -6,7 +6,6 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -6,7 +6,6 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.*
;
import
lombok.*
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
/**
/**
* @ClassName OrderPaymentDetailVO
* @ClassName OrderPaymentDetailVO
...
@@ -21,7 +20,7 @@ import java.time.LocalDateTime;
...
@@ -21,7 +20,7 @@ import java.time.LocalDateTime;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
@Builder
@Builder
public
class
OrderPaymentDetailVO
{
public
class
O
wnerO
rderPaymentDetailVO
{
@ApiModelProperty
(
"还款单号"
)
@ApiModelProperty
(
"还款单号"
)
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/owner/TransferPaymentDetailVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/owner/
Owner
TransferPaymentDetailVO.java
浏览文件 @
81c9d39f
...
@@ -20,7 +20,7 @@ import java.math.BigDecimal;
...
@@ -20,7 +20,7 @@ import java.math.BigDecimal;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
@Builder
@Builder
public
class
TransferPaymentDetailVO
{
public
class
Owner
TransferPaymentDetailVO
{
@ApiModelProperty
(
"收款户名"
)
@ApiModelProperty
(
"收款户名"
)
private
String
payee
;
private
String
payee
;
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/carrier/CarrierOwnerLoanRecordController.java
浏览文件 @
81c9d39f
...
@@ -6,10 +6,10 @@ import com.clx.performance.param.pc.loan.carrier.PageCarrierOwnerLoanRecordParam
...
@@ -6,10 +6,10 @@ import com.clx.performance.param.pc.loan.carrier.PageCarrierOwnerLoanRecordParam
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanRecordOfOwner
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanRecordOfOwner
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.service.loan.OwnerLoanRecordService
;
import
com.clx.performance.service.loan.OwnerLoanRecordService
;
import
com.clx.performance.vo.pc.loan.carrier.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.Ca
rrierCa
shierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.O
wnerO
rderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
TransferPaymentDetailVO
;
import
com.msl.common.base.PageData
;
import
com.msl.common.base.PageData
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.result.Result
;
import
com.msl.common.result.Result
;
...
@@ -60,8 +60,8 @@ public class CarrierOwnerLoanRecordController {
...
@@ -60,8 +60,8 @@ public class CarrierOwnerLoanRecordController {
@ApiOperation
(
value
=
"收银台信息"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"收银台信息"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getCashierInfo"
)
@GetMapping
(
"/getCashierInfo"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
CashierInfoVO
>
getCashierInfo
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
public
Result
<
Ca
rrierCa
shierInfoVO
>
getCashierInfo
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
CashierInfoVO
vo
=
ownerLoanRecordService
.
getCashierInfo
(
id
);
Ca
rrierCa
shierInfoVO
vo
=
ownerLoanRecordService
.
getCashierInfo
(
id
);
return
Result
.
ok
(
vo
);
return
Result
.
ok
(
vo
);
}
}
...
@@ -69,16 +69,16 @@ public class CarrierOwnerLoanRecordController {
...
@@ -69,16 +69,16 @@ public class CarrierOwnerLoanRecordController {
@ApiOperation
(
value
=
"订单支付详情"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"订单支付详情"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getOrderPaymentDetail"
)
@GetMapping
(
"/getOrderPaymentDetail"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
OrderPaymentDetailVO
>
getOrderPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
public
Result
<
O
wnerO
rderPaymentDetailVO
>
getOrderPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
OrderPaymentDetailVO
vo
=
ownerLoanRecordService
.
getOrderPaymentDetail
(
id
);
O
wnerO
rderPaymentDetailVO
vo
=
ownerLoanRecordService
.
getOrderPaymentDetail
(
id
);
return
Result
.
ok
(
vo
);
return
Result
.
ok
(
vo
);
}
}
@ApiOperation
(
value
=
"转账支付详情"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"转账支付详情"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getTransferPaymentDetail"
)
@GetMapping
(
"/getTransferPaymentDetail"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
TransferPaymentDetailVO
>
getTransferPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
public
Result
<
Carrier
TransferPaymentDetailVO
>
getTransferPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
TransferPaymentDetailVO
vo
=
ownerLoanRecordService
.
getTransferPaymentDetail
(
id
);
Carrier
TransferPaymentDetailVO
vo
=
ownerLoanRecordService
.
getTransferPaymentDetail
(
id
);
return
Result
.
ok
(
vo
);
return
Result
.
ok
(
vo
);
}
}
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/owner/OwnerLoanRecordController.java
浏览文件 @
81c9d39f
...
@@ -2,13 +2,9 @@ package com.clx.performance.controller.pc.loan.owner;
...
@@ -2,13 +2,9 @@ package com.clx.performance.controller.pc.loan.owner;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanRecordOfOwner
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanRecordOfOwner
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.service.loan.OwnerLoanRecordService
;
import
com.clx.performance.service.loan.OwnerLoanRecordService
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerLoanRecordDetail
;
import
com.clx.performance.vo.pc.loan.owner.OwnerLoanRecordDetail
;
import
com.clx.performance.vo.pc.loan.carrier.TransferPaymentDetailVO
;
import
com.msl.common.base.PageData
;
import
com.msl.common.base.PageData
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.result.Result
;
import
com.msl.common.result.Result
;
...
@@ -18,12 +14,9 @@ import io.swagger.annotations.Api;
...
@@ -18,12 +14,9 @@ import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.validation.constraints.NotNull
;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
value
=
"/pc/owner/loanRecord"
)
@RequestMapping
(
value
=
"/pc/owner/loanRecord"
)
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/owner/OwnerRepaymentController.java
浏览文件 @
81c9d39f
...
@@ -5,9 +5,9 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerRepaymentOfOwner;
...
@@ -5,9 +5,9 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerRepaymentOfOwner;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.service.loan.OwnerRepaymentService
;
import
com.clx.performance.service.loan.OwnerRepaymentService
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.owner.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.O
wnerO
rderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
TransferPaymentDetailVO
;
import
com.msl.common.base.PageData
;
import
com.msl.common.base.PageData
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.result.Result
;
import
com.msl.common.result.Result
;
...
@@ -48,8 +48,8 @@ public class OwnerRepaymentController {
...
@@ -48,8 +48,8 @@ public class OwnerRepaymentController {
@ApiOperation
(
value
=
"收银台信息"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"收银台信息"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getCashierInfo"
)
@GetMapping
(
"/getCashierInfo"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
CashierInfoVO
>
getCashierInfo
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
public
Result
<
Owner
CashierInfoVO
>
getCashierInfo
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
CashierInfoVO
vo
=
ownerRepaymentService
.
getCashierInfo
(
id
);
Owner
CashierInfoVO
vo
=
ownerRepaymentService
.
getCashierInfo
(
id
);
return
Result
.
ok
(
vo
);
return
Result
.
ok
(
vo
);
}
}
...
@@ -57,16 +57,16 @@ public class OwnerRepaymentController {
...
@@ -57,16 +57,16 @@ public class OwnerRepaymentController {
@ApiOperation
(
value
=
"订单支付详情"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"订单支付详情"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getOrderPaymentDetail"
)
@GetMapping
(
"/getOrderPaymentDetail"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
OrderPaymentDetailVO
>
getOrderPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
public
Result
<
O
wnerO
rderPaymentDetailVO
>
getOrderPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
OrderPaymentDetailVO
vo
=
ownerRepaymentService
.
getOrderPaymentDetail
(
id
);
O
wnerO
rderPaymentDetailVO
vo
=
ownerRepaymentService
.
getOrderPaymentDetail
(
id
);
return
Result
.
ok
(
vo
);
return
Result
.
ok
(
vo
);
}
}
@ApiOperation
(
value
=
"转账支付详情"
,
notes
=
"<br>By:刘海泉"
)
@ApiOperation
(
value
=
"转账支付详情"
,
notes
=
"<br>By:刘海泉"
)
@GetMapping
(
"/getTransferPaymentDetail"
)
@GetMapping
(
"/getTransferPaymentDetail"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
TransferPaymentDetailVO
>
getTransferPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
public
Result
<
Owner
TransferPaymentDetailVO
>
getTransferPaymentDetail
(
@Param
(
"id"
)
@NotNull
(
message
=
"id不能为空"
)
Integer
id
)
{
TransferPaymentDetailVO
vo
=
ownerRepaymentService
.
getTransferPaymentDetail
(
id
);
Owner
TransferPaymentDetailVO
vo
=
ownerRepaymentService
.
getTransferPaymentDetail
(
id
);
return
Result
.
ok
(
vo
);
return
Result
.
ok
(
vo
);
}
}
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerLoanRecordServiceImpl.java
浏览文件 @
81c9d39f
...
@@ -33,7 +33,7 @@ import com.clx.performance.struct.loan.OwnerLoanRecordStruct;
...
@@ -33,7 +33,7 @@ import com.clx.performance.struct.loan.OwnerLoanRecordStruct;
import
com.clx.performance.vo.pc.loan.carrier.*
;
import
com.clx.performance.vo.pc.loan.carrier.*
;
import
com.clx.performance.vo.pc.loan.owner.BorrowerSelectVO
;
import
com.clx.performance.vo.pc.loan.owner.BorrowerSelectVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerLoanRecordDetail
;
import
com.clx.performance.vo.pc.loan.owner.OwnerLoanRecordDetail
;
import
com.clx.performance.vo.pc.loan.carrier.TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.nbbank.NbBankOrderPayResultVO
;
import
com.clx.performance.vo.pc.nbbank.NbBankOrderPayResultVO
;
import
com.clx.user.feign.OwnerFeign
;
import
com.clx.user.feign.OwnerFeign
;
import
com.clx.user.vo.feign.OwnerInfoFeignVO
;
import
com.clx.user.vo.feign.OwnerInfoFeignVO
;
...
@@ -52,7 +52,6 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -52,7 +52,6 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -269,20 +268,20 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
...
@@ -269,20 +268,20 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
@Override
@Override
public
CashierInfoVO
getCashierInfo
(
Integer
id
)
{
public
Ca
rrierCa
shierInfoVO
getCashierInfo
(
Integer
id
)
{
OwnerLoanRecord
ownerLoanRecord
=
ownerLoanRecordDao
.
getEntityByKey
(
id
).
orElseThrow
(
OwnerLoanRecord
ownerLoanRecord
=
ownerLoanRecordDao
.
getEntityByKey
(
id
).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
CashierInfoVO
vo
=
ownerLoanRecordStruct
.
convertCashierInfo
(
ownerLoanRecord
);
Ca
rrierCa
shierInfoVO
vo
=
ownerLoanRecordStruct
.
convertCashierInfo
(
ownerLoanRecord
);
//TODO 设置支付方式和付款账户 ,宇帆提供
//TODO 设置支付方式和付款账户 ,宇帆提供
return
vo
;
return
vo
;
}
}
@Override
@Override
public
OrderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
)
{
public
O
wnerO
rderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
)
{
OwnerLoanRecord
ownerLoanRecord
=
ownerLoanRecordDao
.
getEntityByKey
(
id
).
orElseThrow
(
OwnerLoanRecord
ownerLoanRecord
=
ownerLoanRecordDao
.
getEntityByKey
(
id
).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
OrderPaymentDetailVO
vo
=
ownerLoanRecordStruct
.
convertOrderPaymentDetail
(
ownerLoanRecord
);
O
wnerO
rderPaymentDetailVO
vo
=
ownerLoanRecordStruct
.
convertOrderPaymentDetail
(
ownerLoanRecord
);
//计算倒计时时间,下单时间 + 30天 为截止时间
//计算倒计时时间,下单时间 + 30天 为截止时间
LocalDateTime
endTime
=
ownerLoanRecord
.
getCreateTime
().
plusDays
(
30
);
LocalDateTime
endTime
=
ownerLoanRecord
.
getCreateTime
().
plusDays
(
30
);
vo
.
setFinalPaymentTime
(
DateUtils
.
formatDateTime
(
endTime
).
get
());
vo
.
setFinalPaymentTime
(
DateUtils
.
formatDateTime
(
endTime
).
get
());
...
@@ -290,11 +289,11 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
...
@@ -290,11 +289,11 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
}
}
@Override
@Override
public
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
)
{
public
Carrier
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
)
{
OwnerLoanRecord
ownerLoanRecord
=
ownerLoanRecordDao
.
getEntityByKey
(
id
).
orElseThrow
(
OwnerLoanRecord
ownerLoanRecord
=
ownerLoanRecordDao
.
getEntityByKey
(
id
).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
ClxPayeeConfig
.
PayeeConfig
payeeMap
=
ClxPayeeConfig
.
getPayeeMap
(
ClxPayeeConfig
.
XXH_ID
);
ClxPayeeConfig
.
PayeeConfig
payeeMap
=
ClxPayeeConfig
.
getPayeeMap
(
ClxPayeeConfig
.
XXH_ID
);
return
TransferPaymentDetailVO
.
builder
().
payee
(
payeeMap
.
getName
())
return
Carrier
TransferPaymentDetailVO
.
builder
().
payee
(
payeeMap
.
getName
())
.
payeeAccount
(
payeeMap
.
getAccount
()).
payeeBank
(
payeeMap
.
getBank
()).
payeeBankNo
(
payeeMap
.
getBankNo
())
.
payeeAccount
(
payeeMap
.
getAccount
()).
payeeBank
(
payeeMap
.
getBank
()).
payeeBankNo
(
payeeMap
.
getBankNo
())
.
loanBalance
(
ownerLoanRecord
.
getLoanBalance
())
.
loanBalance
(
ownerLoanRecord
.
getLoanBalance
())
.
remittanceIdentificationCode
(
ownerLoanRecord
.
getRemittanceIdentificationCode
())
.
remittanceIdentificationCode
(
ownerLoanRecord
.
getRemittanceIdentificationCode
())
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerRepaymentServiceImpl.java
浏览文件 @
81c9d39f
...
@@ -16,9 +16,9 @@ import com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
...
@@ -16,9 +16,9 @@ import com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
import
com.clx.performance.service.loan.OwnerRepaymentService
;
import
com.clx.performance.service.loan.OwnerRepaymentService
;
import
com.clx.performance.struct.loan.OwnerRepaymentStruct
;
import
com.clx.performance.struct.loan.OwnerRepaymentStruct
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.owner.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.O
wnerO
rderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
TransferPaymentDetailVO
;
import
com.msl.common.result.Result
;
import
com.msl.common.result.Result
;
import
com.msl.common.utils.DateUtils
;
import
com.msl.common.utils.DateUtils
;
import
com.msl.document.api.feign.ContractEvidenceFeign
;
import
com.msl.document.api.feign.ContractEvidenceFeign
;
...
@@ -66,19 +66,19 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
...
@@ -66,19 +66,19 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
}
}
@Override
@Override
public
CashierInfoVO
getCashierInfo
(
Integer
id
)
{
public
Owner
CashierInfoVO
getCashierInfo
(
Integer
id
)
{
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
id
).
orElseThrow
(
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
id
).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
CashierInfoVO
vo
=
ownerRepaymentStruct
.
convertCashierInfo
(
ownerRepayment
);
Owner
CashierInfoVO
vo
=
ownerRepaymentStruct
.
convertCashierInfo
(
ownerRepayment
);
//TODO 设置支付方式和付款账户 ,宇帆提供
//TODO 设置支付方式和付款账户 ,宇帆提供
return
vo
;
return
vo
;
}
}
@Override
@Override
public
OrderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
)
{
public
O
wnerO
rderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
)
{
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
id
).
orElseThrow
(
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
id
).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
OrderPaymentDetailVO
vo
=
ownerRepaymentStruct
.
convertOrderPaymentDetail
(
ownerRepayment
);
O
wnerO
rderPaymentDetailVO
vo
=
ownerRepaymentStruct
.
convertOrderPaymentDetail
(
ownerRepayment
);
//计算倒计时时间,下单时间 + 30天 为截止时间
//计算倒计时时间,下单时间 + 30天 为截止时间
LocalDateTime
endTime
=
ownerRepayment
.
getCreateTime
().
plusDays
(
30
);
LocalDateTime
endTime
=
ownerRepayment
.
getCreateTime
().
plusDays
(
30
);
vo
.
setFinalPaymentTime
(
DateUtils
.
formatDateTime
(
endTime
).
get
());
vo
.
setFinalPaymentTime
(
DateUtils
.
formatDateTime
(
endTime
).
get
());
...
@@ -86,11 +86,11 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
...
@@ -86,11 +86,11 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
}
}
@Override
@Override
public
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
)
{
public
Owner
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
)
{
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
id
).
orElseThrow
(
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
id
).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
ClxPayeeConfig
.
PayeeConfig
payeeMap
=
ClxPayeeConfig
.
getPayeeMap
(
ClxPayeeConfig
.
XXH_ID
);
ClxPayeeConfig
.
PayeeConfig
payeeMap
=
ClxPayeeConfig
.
getPayeeMap
(
ClxPayeeConfig
.
XXH_ID
);
return
TransferPaymentDetailVO
.
builder
().
payee
(
payeeMap
.
getName
())
return
Owner
TransferPaymentDetailVO
.
builder
().
payee
(
payeeMap
.
getName
())
.
payeeAccount
(
payeeMap
.
getAccount
()).
payeeBank
(
payeeMap
.
getBank
()).
payeeBankNo
(
payeeMap
.
getBankNo
())
.
payeeAccount
(
payeeMap
.
getAccount
()).
payeeBank
(
payeeMap
.
getBank
()).
payeeBankNo
(
payeeMap
.
getBankNo
())
.
repaymentBalance
(
ownerRepayment
.
getRepaymentBalance
())
.
repaymentBalance
(
ownerRepayment
.
getRepaymentBalance
())
.
remittanceIdentificationCode
(
ownerRepayment
.
getRemittanceIdentificationCode
())
.
remittanceIdentificationCode
(
ownerRepayment
.
getRemittanceIdentificationCode
())
...
...
performance-web/src/main/java/com/clx/performance/service/loan/OwnerLoanRecordService.java
浏览文件 @
81c9d39f
...
@@ -7,10 +7,10 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerLoanRecordOfOwner;
...
@@ -7,10 +7,10 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerLoanRecordOfOwner;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.param.pc.loan.owner.OwnerLoanRecordParam
;
import
com.clx.performance.param.pc.loan.owner.OwnerLoanRecordParam
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.Ca
rrierCa
shierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.O
wnerO
rderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerLoanRecordDetail
;
import
com.clx.performance.vo.pc.loan.owner.OwnerLoanRecordDetail
;
import
com.clx.performance.vo.pc.loan.carrier.TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
TransferPaymentDetailVO
;
/**
/**
* @author kavin
* @author kavin
...
@@ -28,11 +28,11 @@ public interface OwnerLoanRecordService {
...
@@ -28,11 +28,11 @@ public interface OwnerLoanRecordService {
OwnerLoanRecordDetail
getOwnerLoanRecordDetail
();
OwnerLoanRecordDetail
getOwnerLoanRecordDetail
();
CashierInfoVO
getCashierInfo
(
Integer
id
);
Ca
rrierCa
shierInfoVO
getCashierInfo
(
Integer
id
);
OrderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
);
O
wnerO
rderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
);
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
);
Carrier
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
);
String
savePaymentApplicationForm
(
ExportPaymentApplicationFormParam
param
);
String
savePaymentApplicationForm
(
ExportPaymentApplicationFormParam
param
);
}
}
performance-web/src/main/java/com/clx/performance/service/loan/OwnerRepaymentService.java
浏览文件 @
81c9d39f
...
@@ -5,9 +5,9 @@ import com.clx.performance.param.pc.loan.carrier.PageCarrierOwnerRepaymentParam;
...
@@ -5,9 +5,9 @@ import com.clx.performance.param.pc.loan.carrier.PageCarrierOwnerRepaymentParam;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerRepaymentOfOwner
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerRepaymentOfOwner
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.param.pc.loan.owner.ExportPaymentApplicationFormParam
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.owner.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.O
wnerO
rderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.TransferPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
TransferPaymentDetailVO
;
/**
/**
* @author kavin
* @author kavin
...
@@ -20,11 +20,11 @@ public interface OwnerRepaymentService {
...
@@ -20,11 +20,11 @@ public interface OwnerRepaymentService {
IPage
<
OwnerRepaymentVO
>
pageOwnerRepaymentOfOwner
(
PageOwnerRepaymentOfOwner
param
);
IPage
<
OwnerRepaymentVO
>
pageOwnerRepaymentOfOwner
(
PageOwnerRepaymentOfOwner
param
);
CashierInfoVO
getCashierInfo
(
Integer
id
);
Owner
CashierInfoVO
getCashierInfo
(
Integer
id
);
OrderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
);
O
wnerO
rderPaymentDetailVO
getOrderPaymentDetail
(
Integer
id
);
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
);
Owner
TransferPaymentDetailVO
getTransferPaymentDetail
(
Integer
id
);
String
savePaymentApplicationForm
(
ExportPaymentApplicationFormParam
param
);
String
savePaymentApplicationForm
(
ExportPaymentApplicationFormParam
param
);
}
}
performance-web/src/main/java/com/clx/performance/struct/loan/OwnerLoanRecordStruct.java
浏览文件 @
81c9d39f
package
com
.
clx
.
performance
.
struct
.
loan
;
package
com
.
clx
.
performance
.
struct
.
loan
;
import
com.clx.performance.model.loan.OwnerLoanRecord
;
import
com.clx.performance.model.loan.OwnerLoanRecord
;
import
com.clx.performance.vo.pc.loan.carrier.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.Ca
rrierCa
shierInfoVO
;
import
com.clx.performance.vo.pc.loan.carrier.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.O
wnerO
rderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanRecordVO
;
import
com.msl.common.utils.DateStructUtil
;
import
com.msl.common.utils.DateStructUtil
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.Mapper
;
...
@@ -16,9 +16,9 @@ public interface OwnerLoanRecordStruct {
...
@@ -16,9 +16,9 @@ public interface OwnerLoanRecordStruct {
List
<
OwnerLoanRecordVO
>
convertList
(
List
<
OwnerLoanRecord
>
list
);
List
<
OwnerLoanRecordVO
>
convertList
(
List
<
OwnerLoanRecord
>
list
);
CashierInfoVO
convertCashierInfo
(
OwnerLoanRecord
ownerLoanRecord
);
Ca
rrierCa
shierInfoVO
convertCashierInfo
(
OwnerLoanRecord
ownerLoanRecord
);
OrderPaymentDetailVO
convertOrderPaymentDetail
(
OwnerLoanRecord
ownerLoanRecord
);
O
wnerO
rderPaymentDetailVO
convertOrderPaymentDetail
(
OwnerLoanRecord
ownerLoanRecord
);
OwnerLoanRecordVO
convert
(
OwnerLoanRecord
ownerLoanRecord
);
OwnerLoanRecordVO
convert
(
OwnerLoanRecord
ownerLoanRecord
);
}
}
performance-web/src/main/java/com/clx/performance/struct/loan/OwnerRepaymentStruct.java
浏览文件 @
81c9d39f
...
@@ -2,8 +2,8 @@ package com.clx.performance.struct.loan;
...
@@ -2,8 +2,8 @@ package com.clx.performance.struct.loan;
import
com.clx.performance.model.loan.OwnerRepayment
;
import
com.clx.performance.model.loan.OwnerRepayment
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerRepaymentVO
;
import
com.clx.performance.vo.pc.loan.owner.CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.
Owner
CashierInfoVO
;
import
com.clx.performance.vo.pc.loan.owner.OrderPaymentDetailVO
;
import
com.clx.performance.vo.pc.loan.owner.O
wnerO
rderPaymentDetailVO
;
import
com.msl.common.utils.DateStructUtil
;
import
com.msl.common.utils.DateStructUtil
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.Mapper
;
...
@@ -18,7 +18,7 @@ public interface OwnerRepaymentStruct {
...
@@ -18,7 +18,7 @@ public interface OwnerRepaymentStruct {
List
<
OwnerRepaymentVO
>
convertList
(
List
<
OwnerRepayment
>
list
);
List
<
OwnerRepaymentVO
>
convertList
(
List
<
OwnerRepayment
>
list
);
CashierInfoVO
convertCashierInfo
(
OwnerRepayment
ownerRepayment
);
Owner
CashierInfoVO
convertCashierInfo
(
OwnerRepayment
ownerRepayment
);
OrderPaymentDetailVO
convertOrderPaymentDetail
(
OwnerRepayment
ownerRepayment
);
O
wnerO
rderPaymentDetailVO
convertOrderPaymentDetail
(
OwnerRepayment
ownerRepayment
);
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论