Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
22606c93
提交
22606c93
authored
2月 04, 2024
作者:
huyufan
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/v10.7_borrowing_and_repayment_20240118'…
Merge remote-tracking branch 'origin/v10.7_borrowing_and_repayment_20240118' into v10.7_borrowing_and_repayment_20240118
上级
a8ebe7cd
55d807ce
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
27 行增加
和
26 行删除
+27
-26
CarrierOwnerLoanAccountVO.java
...ormance/vo/pc/loan/carrier/CarrierOwnerLoanAccountVO.java
+1
-1
OwnerLoanRecordVO.java
...clx/performance/vo/pc/loan/carrier/OwnerLoanRecordVO.java
+2
-2
OwnerPaymentVO.java
...om/clx/performance/vo/pc/loan/carrier/OwnerPaymentVO.java
+1
-1
OwnerRepaymentVO.java
.../clx/performance/vo/pc/loan/carrier/OwnerRepaymentVO.java
+1
-1
CarrierOwnerLoanAccountController.java
...er/pc/loan/carrier/CarrierOwnerLoanAccountController.java
+3
-3
OwnerLoanAccountController.java
.../controller/pc/loan/owner/OwnerLoanAccountController.java
+0
-1
OwnerLoanAccountDaoImpl.java
...lx/performance/dao/impl/loan/OwnerLoanAccountDaoImpl.java
+3
-3
OwnerLoanAccountDao.java
...ava/com/clx/performance/dao/loan/OwnerLoanAccountDao.java
+2
-2
OwnerLoanAccountMapper.java
...m/clx/performance/mapper/loan/OwnerLoanAccountMapper.java
+2
-2
OwnerPayment.java
...ain/java/com/clx/performance/model/loan/OwnerPayment.java
+1
-1
OwnerLoanAccountServiceImpl.java
...rmance/service/impl/loan/OwnerLoanAccountServiceImpl.java
+2
-3
OwnerLoanRecordServiceImpl.java
...ormance/service/impl/loan/OwnerLoanRecordServiceImpl.java
+3
-1
OwnerRepaymentServiceImpl.java
...formance/service/impl/loan/OwnerRepaymentServiceImpl.java
+2
-1
OwnerLoanAccountService.java
...clx/performance/service/loan/OwnerLoanAccountService.java
+2
-2
OwnerLoanAccountSqlProvider.java
...ormance/sqlProvider/loan/OwnerLoanAccountSqlProvider.java
+2
-2
没有找到文件。
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OwnerLoanAccountVO.java
→
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/
Carrier
OwnerLoanAccountVO.java
浏览文件 @
22606c93
...
@@ -23,7 +23,7 @@ import java.math.BigDecimal;
...
@@ -23,7 +23,7 @@ import java.math.BigDecimal;
@Setter
@Setter
@ToString
@ToString
@NoArgsConstructor
@NoArgsConstructor
public
class
OwnerLoanAccountVO
{
public
class
Carrier
OwnerLoanAccountVO
{
@ApiModelProperty
(
value
=
"货主编码"
,
example
=
"10000000"
)
@ApiModelProperty
(
value
=
"货主编码"
,
example
=
"10000000"
)
private
Long
ownerUserNo
;
private
Long
ownerUserNo
;
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OwnerLoanRecordVO.java
浏览文件 @
22606c93
...
@@ -35,7 +35,7 @@ public class OwnerLoanRecordVO {
...
@@ -35,7 +35,7 @@ public class OwnerLoanRecordVO {
@ApiModelProperty
(
"交易流水号(第三方)"
)
@ApiModelProperty
(
"交易流水号(第三方)"
)
private
Lo
ng
runningWaterOpenNo
;
private
Stri
ng
runningWaterOpenNo
;
@ApiModelProperty
(
"商户流水号"
)
@ApiModelProperty
(
"商户流水号"
)
private
String
merchantRunningWaterNo
;
private
String
merchantRunningWaterNo
;
...
@@ -45,7 +45,7 @@ public class OwnerLoanRecordVO {
...
@@ -45,7 +45,7 @@ public class OwnerLoanRecordVO {
@ApiModelProperty
(
"借款单号"
)
@ApiModelProperty
(
"借款单号"
)
private
Lo
ng
loanNo
;
private
Stri
ng
loanNo
;
@ApiModelProperty
(
"借款类型 1:虚拟货币 2:资金"
)
@ApiModelProperty
(
"借款类型 1:虚拟货币 2:资金"
)
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OwnerPaymentVO.java
浏览文件 @
22606c93
...
@@ -34,7 +34,7 @@ public class OwnerPaymentVO{
...
@@ -34,7 +34,7 @@ public class OwnerPaymentVO{
@ApiModelProperty
(
"交易流水号(第三方)"
)
@ApiModelProperty
(
"交易流水号(第三方)"
)
private
Lo
ng
runningWaterOpenNo
;
private
Stri
ng
runningWaterOpenNo
;
@ApiModelProperty
(
"付款单号"
)
@ApiModelProperty
(
"付款单号"
)
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OwnerRepaymentVO.java
浏览文件 @
22606c93
...
@@ -36,7 +36,7 @@ public class OwnerRepaymentVO {
...
@@ -36,7 +36,7 @@ public class OwnerRepaymentVO {
@ApiModelProperty
(
"交易流水号(第三方)"
)
@ApiModelProperty
(
"交易流水号(第三方)"
)
private
Lo
ng
runningWaterOpenNo
;
private
Stri
ng
runningWaterOpenNo
;
@ApiModelProperty
(
"商户流水号"
)
@ApiModelProperty
(
"商户流水号"
)
private
String
merchantRunningWaterNo
;
private
String
merchantRunningWaterNo
;
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/carrier/CarrierOwnerLoanAccountController.java
浏览文件 @
22606c93
...
@@ -3,7 +3,7 @@ package com.clx.performance.controller.pc.loan.carrier;
...
@@ -3,7 +3,7 @@ package com.clx.performance.controller.pc.loan.carrier;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
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
;
...
@@ -31,8 +31,8 @@ public class CarrierOwnerLoanAccountController {
...
@@ -31,8 +31,8 @@ public class CarrierOwnerLoanAccountController {
@ApiOperation
(
value
=
"分页搜索货主借款账户列表"
,
notes
=
"<br>By:艾庆国"
)
@ApiOperation
(
value
=
"分页搜索货主借款账户列表"
,
notes
=
"<br>By:艾庆国"
)
@PostMapping
(
"/pageOwnerLoanAccount"
)
@PostMapping
(
"/pageOwnerLoanAccount"
)
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
Result
<
PageData
<
OwnerLoanAccountVO
>>
pageOwnerLoanAccount
(
@RequestBody
@Validated
PageOwnerLoanAccountParam
param
)
{
public
Result
<
PageData
<
Carrier
OwnerLoanAccountVO
>>
pageOwnerLoanAccount
(
@RequestBody
@Validated
PageOwnerLoanAccountParam
param
)
{
IPage
<
OwnerLoanAccountVO
>
page
=
ownerLoanAccountService
.
pageOwnerLoanAccount
(
param
);
IPage
<
Carrier
OwnerLoanAccountVO
>
page
=
ownerLoanAccountService
.
pageOwnerLoanAccount
(
param
);
return
Result
.
page
(
page
.
getRecords
(),
page
.
getTotal
(),
page
.
getPages
());
return
Result
.
page
(
page
.
getRecords
(),
page
.
getTotal
(),
page
.
getPages
());
}
}
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/owner/OwnerLoanAccountController.java
浏览文件 @
22606c93
...
@@ -4,7 +4,6 @@ import com.clx.performance.param.pc.loan.owner.OwnerLoanRecordParam;
...
@@ -4,7 +4,6 @@ import com.clx.performance.param.pc.loan.owner.OwnerLoanRecordParam;
import
com.clx.performance.service.loan.OwnerLoanAccountApproveService
;
import
com.clx.performance.service.loan.OwnerLoanAccountApproveService
;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.service.loan.OwnerLoanRecordService
;
import
com.clx.performance.service.loan.OwnerLoanRecordService
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerAccountVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerAccountVO
;
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
;
...
...
performance-web/src/main/java/com/clx/performance/dao/impl/loan/OwnerLoanAccountDaoImpl.java
浏览文件 @
22606c93
...
@@ -6,7 +6,7 @@ import com.clx.performance.dao.loan.OwnerLoanAccountDao;
...
@@ -6,7 +6,7 @@ import com.clx.performance.dao.loan.OwnerLoanAccountDao;
import
com.clx.performance.mapper.loan.OwnerLoanAccountMapper
;
import
com.clx.performance.mapper.loan.OwnerLoanAccountMapper
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
import
com.msl.common.dao.impl.BaseDaoImpl
;
import
com.msl.common.dao.impl.BaseDaoImpl
;
import
com.msl.common.utils.DateUtils
;
import
com.msl.common.utils.DateUtils
;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
...
@@ -32,8 +32,8 @@ public class OwnerLoanAccountDaoImpl extends BaseDaoImpl<OwnerLoanAccountMapper,
...
@@ -32,8 +32,8 @@ public class OwnerLoanAccountDaoImpl extends BaseDaoImpl<OwnerLoanAccountMapper,
}
}
@Override
@Override
public
IPage
<
OwnerLoanAccountVO
>
pageByParam
(
PageOwnerLoanAccountParam
param
)
{
public
IPage
<
Carrier
OwnerLoanAccountVO
>
pageByParam
(
PageOwnerLoanAccountParam
param
)
{
Page
<
OwnerLoanAccountVO
>
page
=
Page
.
of
(
param
.
getPage
(),
param
.
getPageSize
());
Page
<
Carrier
OwnerLoanAccountVO
>
page
=
Page
.
of
(
param
.
getPage
(),
param
.
getPageSize
());
return
baseMapper
.
pageByParam
(
page
,
param
);
return
baseMapper
.
pageByParam
(
page
,
param
);
}
}
...
...
performance-web/src/main/java/com/clx/performance/dao/loan/OwnerLoanAccountDao.java
浏览文件 @
22606c93
...
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.clx.performance.mapper.loan.OwnerLoanAccountMapper
;
import
com.clx.performance.mapper.loan.OwnerLoanAccountMapper
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
import
com.msl.common.dao.BaseDao
;
import
com.msl.common.dao.BaseDao
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
...
@@ -18,6 +18,6 @@ public interface OwnerLoanAccountDao extends BaseDao<OwnerLoanAccountMapper, Own
...
@@ -18,6 +18,6 @@ public interface OwnerLoanAccountDao extends BaseDao<OwnerLoanAccountMapper, Own
Integer
updateAccountCAS
(
OwnerLoanAccount
account
,
LocalDateTime
now
,
boolean
flag
);
Integer
updateAccountCAS
(
OwnerLoanAccount
account
,
LocalDateTime
now
,
boolean
flag
);
IPage
<
OwnerLoanAccountVO
>
pageByParam
(
PageOwnerLoanAccountParam
param
);
IPage
<
Carrier
OwnerLoanAccountVO
>
pageByParam
(
PageOwnerLoanAccountParam
param
);
}
}
performance-web/src/main/java/com/clx/performance/mapper/loan/OwnerLoanAccountMapper.java
浏览文件 @
22606c93
...
@@ -6,7 +6,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -6,7 +6,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.sqlProvider.loan.OwnerLoanAccountSqlProvider
;
import
com.clx.performance.sqlProvider.loan.OwnerLoanAccountSqlProvider
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.SelectProvider
;
import
org.apache.ibatis.annotations.SelectProvider
;
import
org.apache.ibatis.annotations.Update
;
import
org.apache.ibatis.annotations.Update
;
...
@@ -38,6 +38,6 @@ public interface OwnerLoanAccountMapper extends BaseMapper<OwnerLoanAccount> {
...
@@ -38,6 +38,6 @@ public interface OwnerLoanAccountMapper extends BaseMapper<OwnerLoanAccount> {
* @see OwnerLoanAccountSqlProvider#pageByParam(Page, PageOwnerLoanAccountParam)
* @see OwnerLoanAccountSqlProvider#pageByParam(Page, PageOwnerLoanAccountParam)
*/
*/
@SelectProvider
(
type
=
OwnerLoanAccountSqlProvider
.
class
,
method
=
"pageByParam"
)
@SelectProvider
(
type
=
OwnerLoanAccountSqlProvider
.
class
,
method
=
"pageByParam"
)
IPage
<
OwnerLoanAccountVO
>
pageByParam
(
@Param
(
"page"
)
Page
<
OwnerLoanAccountVO
>
page
,
@Param
(
"param"
)
PageOwnerLoanAccountParam
param
);
IPage
<
CarrierOwnerLoanAccountVO
>
pageByParam
(
@Param
(
"page"
)
Page
<
Carrier
OwnerLoanAccountVO
>
page
,
@Param
(
"param"
)
PageOwnerLoanAccountParam
param
);
}
}
performance-web/src/main/java/com/clx/performance/model/loan/OwnerPayment.java
浏览文件 @
22606c93
...
@@ -42,7 +42,7 @@ public class OwnerPayment implements HasKey<Integer> {
...
@@ -42,7 +42,7 @@ public class OwnerPayment implements HasKey<Integer> {
@TableField
(
"running_water_open_no"
)
@TableField
(
"running_water_open_no"
)
@ApiModelProperty
(
"交易流水号(第三方)"
)
@ApiModelProperty
(
"交易流水号(第三方)"
)
private
Lo
ng
runningWaterOpenNo
;
private
Stri
ng
runningWaterOpenNo
;
@TableField
(
"payment_no"
)
@TableField
(
"payment_no"
)
@ApiModelProperty
(
"付款单号"
)
@ApiModelProperty
(
"付款单号"
)
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerLoanAccountServiceImpl.java
浏览文件 @
22606c93
...
@@ -2,12 +2,11 @@ package com.clx.performance.service.impl.loan;
...
@@ -2,12 +2,11 @@ package com.clx.performance.service.impl.loan;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.clx.performance.dao.loan.OwnerLoanAccountDao
;
import
com.clx.performance.dao.loan.OwnerLoanAccountDao
;
import
com.clx.performance.enums.PerformanceResultEnum
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.model.loan.OwnerLoanAccount
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.struct.loan.OwnerLoanAccountStruct
;
import
com.clx.performance.struct.loan.OwnerLoanAccountStruct
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerAccountVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerAccountVO
;
import
com.msl.common.base.Optional
;
import
com.msl.common.base.Optional
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.convertor.aspect.UnitCovert
;
...
@@ -55,7 +54,7 @@ public class OwnerLoanAccountServiceImpl implements OwnerLoanAccountService {
...
@@ -55,7 +54,7 @@ public class OwnerLoanAccountServiceImpl implements OwnerLoanAccountService {
@Override
@Override
@UnitCovert
(
param
=
false
)
@UnitCovert
(
param
=
false
)
public
IPage
<
OwnerLoanAccountVO
>
pageOwnerLoanAccount
(
PageOwnerLoanAccountParam
param
)
{
public
IPage
<
Carrier
OwnerLoanAccountVO
>
pageOwnerLoanAccount
(
PageOwnerLoanAccountParam
param
)
{
return
ownerLoanAccountDao
.
pageByParam
(
param
);
return
ownerLoanAccountDao
.
pageByParam
(
param
);
}
}
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerLoanRecordServiceImpl.java
浏览文件 @
22606c93
...
@@ -2,6 +2,7 @@ package com.clx.performance.service.impl.loan;
...
@@ -2,6 +2,7 @@ package com.clx.performance.service.impl.loan;
import
cn.hutool.json.JSONUtil
;
import
cn.hutool.json.JSONUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.TypeReference
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.clx.performance.component.IdGenerateSnowFlake
;
import
com.clx.performance.component.IdGenerateSnowFlake
;
...
@@ -49,6 +50,7 @@ import com.msl.user.data.UserSessionData;
...
@@ -49,6 +50,7 @@ import com.msl.user.data.UserSessionData;
import
com.msl.user.utils.TokenUtil
;
import
com.msl.user.utils.TokenUtil
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.poi.ss.formula.functions.T
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
...
@@ -307,7 +309,7 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
...
@@ -307,7 +309,7 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
OwnerLoanRecordVO
ownerLoanRecordVO
=
ownerLoanRecordStruct
.
convert
(
ownerLoanRecord
);
OwnerLoanRecordVO
ownerLoanRecordVO
=
ownerLoanRecordStruct
.
convert
(
ownerLoanRecord
);
//货主借款: 收款方鑫祥和 付款方为诚联信 借款方为货主
//货主借款: 收款方鑫祥和 付款方为诚联信 借款方为货主
Map
<
String
,
String
>
map
=
JSON
.
parseObject
(
JSON
Util
.
parse
(
ownerLoanRecordVO
).
toString
(),
Map
.
class
);
Map
<
String
,
String
>
map
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
ownerLoanRecordVO
),
new
TypeReference
<
Map
<
String
,
String
>>(){}
);
// 创建合同
// 创建合同
GenerateContractParam
feignParam
=
new
GenerateContractParam
();
GenerateContractParam
feignParam
=
new
GenerateContractParam
();
if
(
Objects
.
equals
(
OwnerRePaymentEnum
.
Channel
.
ORDER
.
getCode
(),
param
.
getPayWay
())){
if
(
Objects
.
equals
(
OwnerRePaymentEnum
.
Channel
.
ORDER
.
getCode
(),
param
.
getPayWay
())){
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerRepaymentServiceImpl.java
浏览文件 @
22606c93
...
@@ -2,6 +2,7 @@ package com.clx.performance.service.impl.loan;
...
@@ -2,6 +2,7 @@ package com.clx.performance.service.impl.loan;
import
cn.hutool.json.JSONUtil
;
import
cn.hutool.json.JSONUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.TypeReference
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.clx.performance.config.loan.ClxPayeeConfig
;
import
com.clx.performance.config.loan.ClxPayeeConfig
;
...
@@ -102,7 +103,7 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
...
@@ -102,7 +103,7 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
param
.
getId
()).
orElseThrow
(
OwnerRepayment
ownerRepayment
=
ownerRepaymentDao
.
getEntityByKey
(
param
.
getId
()).
orElseThrow
(
PerformanceResultEnum
.
DATA_NOT_FIND
);
PerformanceResultEnum
.
DATA_NOT_FIND
);
OwnerRepaymentVO
ownerRepaymentVO
=
ownerRepaymentStruct
.
convert
(
ownerRepayment
);
OwnerRepaymentVO
ownerRepaymentVO
=
ownerRepaymentStruct
.
convert
(
ownerRepayment
);
Map
<
String
,
String
>
map
=
JSON
.
parseObject
(
JSON
Util
.
parse
(
ownerRepaymentVO
).
toString
(),
Map
.
class
);
Map
<
String
,
String
>
map
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
ownerRepaymentVO
),
new
TypeReference
<
Map
<
String
,
String
>>(){}
);
// 创建合同
// 创建合同
GenerateContractParam
feignParam
=
new
GenerateContractParam
();
GenerateContractParam
feignParam
=
new
GenerateContractParam
();
if
(
Objects
.
equals
(
OwnerRePaymentEnum
.
Channel
.
ORDER
.
getCode
(),
param
.
getPayWay
())){
if
(
Objects
.
equals
(
OwnerRePaymentEnum
.
Channel
.
ORDER
.
getCode
(),
param
.
getPayWay
())){
...
...
performance-web/src/main/java/com/clx/performance/service/loan/OwnerLoanAccountService.java
浏览文件 @
22606c93
...
@@ -2,7 +2,7 @@ package com.clx.performance.service.loan;
...
@@ -2,7 +2,7 @@ package com.clx.performance.service.loan;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerAccountVO
;
import
com.clx.performance.vo.pc.loan.owner.OwnerAccountVO
;
/**
/**
...
@@ -14,7 +14,7 @@ public interface OwnerLoanAccountService {
...
@@ -14,7 +14,7 @@ public interface OwnerLoanAccountService {
void
openOwnerLoanAccount
(
Long
ownerUserNo
,
String
ownerUserName
,
String
mobile
);
void
openOwnerLoanAccount
(
Long
ownerUserNo
,
String
ownerUserName
,
String
mobile
);
IPage
<
OwnerLoanAccountVO
>
pageOwnerLoanAccount
(
PageOwnerLoanAccountParam
param
);
IPage
<
Carrier
OwnerLoanAccountVO
>
pageOwnerLoanAccount
(
PageOwnerLoanAccountParam
param
);
OwnerAccountVO
getOwnerLoanAccount
();
OwnerAccountVO
getOwnerLoanAccount
();
}
}
performance-web/src/main/java/com/clx/performance/sqlProvider/loan/OwnerLoanAccountSqlProvider.java
浏览文件 @
22606c93
...
@@ -3,7 +3,7 @@ package com.clx.performance.sqlProvider.loan;
...
@@ -3,7 +3,7 @@ package com.clx.performance.sqlProvider.loan;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.clx.performance.vo.pc.loan.carrier.
Carrier
OwnerLoanAccountVO
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.jdbc.SQL
;
import
org.apache.ibatis.jdbc.SQL
;
...
@@ -28,7 +28,7 @@ public class OwnerLoanAccountSqlProvider {
...
@@ -28,7 +28,7 @@ public class OwnerLoanAccountSqlProvider {
return
sql
;
return
sql
;
}
}
public
String
pageByParam
(
@Param
(
"page"
)
Page
<
OwnerLoanAccountVO
>
page
,
@Param
(
"param"
)
PageOwnerLoanAccountParam
param
)
{
public
String
pageByParam
(
@Param
(
"page"
)
Page
<
Carrier
OwnerLoanAccountVO
>
page
,
@Param
(
"param"
)
PageOwnerLoanAccountParam
param
)
{
return
new
SQL
(){{
return
new
SQL
(){{
SELECT
(
" id, owner_user_no as ownerUserNo, owner_user_name as ownerUserName, mobile, "
+
SELECT
(
" id, owner_user_no as ownerUserNo, owner_user_name as ownerUserName, mobile, "
+
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论