Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
587a5fc1
提交
587a5fc1
authored
2月 01, 2024
作者:
aiqingguo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
承运借款流程-借款账户
上级
5ef33676
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
36 行增加
和
17 行删除
+36
-17
OwnerLoanAccountVO.java
...lx/performance/vo/pc/loan/carrier/OwnerLoanAccountVO.java
+0
-1
OwnerRepaymentVO.java
.../clx/performance/vo/pc/loan/carrier/OwnerRepaymentVO.java
+5
-1
CarrierOwnerLoanAccountController.java
...er/pc/loan/carrier/CarrierOwnerLoanAccountController.java
+2
-0
CarrierOwnerLoanAccountWaterRecordController.java
...carrier/CarrierOwnerLoanAccountWaterRecordController.java
+3
-1
CarrierOwnerLoanRecordController.java
...ler/pc/loan/carrier/CarrierOwnerLoanRecordController.java
+1
-0
CarrierOwnerRepaymentController.java
...ller/pc/loan/carrier/CarrierOwnerRepaymentController.java
+1
-0
OwnerLoanAccountServiceImpl.java
...rmance/service/impl/loan/OwnerLoanAccountServiceImpl.java
+2
-0
BorrowerConfigSqlProvider.java
...mance/sqlProvider/borrower/BorrowerConfigSqlProvider.java
+1
-1
BorrowerSqlProvider.java
...performance/sqlProvider/borrower/BorrowerSqlProvider.java
+1
-1
OwnerLoanAccountRunningWaterRecordSqlProvider.java
...rrower/OwnerLoanAccountRunningWaterRecordSqlProvider.java
+2
-1
OwnerLoanAccountSqlProvider.java
...nce/sqlProvider/borrower/OwnerLoanAccountSqlProvider.java
+1
-1
OwnerLoanRecordSqlProvider.java
...ance/sqlProvider/borrower/OwnerLoanRecordSqlProvider.java
+9
-6
OwnerRepaymentSqlProvider.java
...mance/sqlProvider/borrower/OwnerRepaymentSqlProvider.java
+8
-4
没有找到文件。
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OwnerLoanAccountVO.java
浏览文件 @
587a5fc1
...
...
@@ -34,7 +34,6 @@ public class OwnerLoanAccountVO {
@ApiModelProperty
(
value
=
"默认 3:借款账户"
,
example
=
"3"
)
private
Integer
accountType
;
@ApiModelProperty
(
value
=
"账户余额 (元) "
,
example
=
"1.23"
)
private
BigDecimal
amount
;
public
BigDecimal
getAmount
()
{
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/loan/carrier/OwnerRepaymentVO.java
浏览文件 @
587a5fc1
...
...
@@ -73,7 +73,11 @@ public class OwnerRepaymentVO {
@ApiModelProperty
(
"收款账户"
)
private
String
payeeAccount
;
@ApiModelProperty
(
"货物名称"
)
private
String
goodsName
;
@ApiModelProperty
(
"借款单号"
)
private
Long
loanNo
;
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/carrier/CarrierOwnerLoanAccountController.java
浏览文件 @
587a5fc1
...
...
@@ -5,6 +5,7 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.msl.common.base.PageData
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.result.Result
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -29,6 +30,7 @@ public class CarrierOwnerLoanAccountController {
@ApiOperation
(
value
=
"分页搜索货主借款账户列表"
,
notes
=
"<br>By:艾庆国"
)
@PostMapping
(
"/pageOwnerLoanAccount"
)
@UnitCovert
(
param
=
false
)
public
Result
<
PageData
<
OwnerLoanAccountVO
>>
pageOwnerLoanAccount
(
@RequestBody
@Validated
PageOwnerLoanAccountParam
param
)
{
IPage
<
OwnerLoanAccountVO
>
page
=
ownerLoanAccountService
.
pageOwnerLoanAccount
(
param
);
return
Result
.
page
(
page
.
getRecords
(),
page
.
getTotal
(),
page
.
getPages
());
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/carrier/CarrierOwnerLoanAccountWaterRecordController.java
浏览文件 @
587a5fc1
...
...
@@ -5,6 +5,7 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountWaterRecord
import
com.clx.performance.service.loan.OwnerLoanAccountRunningWaterRecordService
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountRunningWaterRecordVO
;
import
com.msl.common.base.PageData
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.common.result.Result
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -20,13 +21,14 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping
(
value
=
"/pc/carrier/ownerLoanAccountWaterRecord"
)
@Validated
@Api
(
tags
=
"承运端-借款账户"
)
@Api
(
tags
=
"承运端-借款账户
流水
"
)
public
class
CarrierOwnerLoanAccountWaterRecordController
{
@Autowired
private
OwnerLoanAccountRunningWaterRecordService
ownerLoanAccountRunningWaterRecordService
;
@ApiOperation
(
value
=
"分页搜索货主借款账户流水列表"
,
notes
=
"<br>By:艾庆国"
)
@PostMapping
(
"/pageOwnerLoanAccountWaterOfOwner"
)
@UnitCovert
(
param
=
false
)
public
Result
<
PageData
<
OwnerLoanAccountRunningWaterRecordVO
>>
pageOwnerLoanAccountWaterOfOwner
(
@RequestBody
@Validated
PageOwnerLoanAccountWaterRecordOfOwnerParam
param
)
{
IPage
<
OwnerLoanAccountRunningWaterRecordVO
>
page
=
ownerLoanAccountRunningWaterRecordService
.
pageOwnerLoanAccountWaterOfOwner
(
param
);
return
Result
.
page
(
page
.
getRecords
(),
page
.
getTotal
(),
page
.
getPages
());
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/carrier/CarrierOwnerLoanRecordController.java
浏览文件 @
587a5fc1
...
...
@@ -47,6 +47,7 @@ public class CarrierOwnerLoanRecordController {
@ApiOperation
(
value
=
"分页搜索货主借款列表"
,
notes
=
"<br>By:艾庆国"
)
@PostMapping
(
"/pageOwnerLoanRecordOfOwner"
)
@UnitCovert
(
param
=
false
)
public
Result
<
PageData
<
OwnerLoanRecordVO
>>
pageOwnerLoanRecordOfOwner
(
@RequestBody
@Validated
PageOwnerLoanRecordOfOwner
param
)
{
IPage
<
OwnerLoanRecordVO
>
page
=
ownerLoanRecordService
.
pageOwnerLoanRecordOfOwner
(
param
);
return
Result
.
page
(
page
.
getRecords
(),
page
.
getTotal
(),
page
.
getPages
());
...
...
performance-web/src/main/java/com/clx/performance/controller/pc/loan/carrier/CarrierOwnerRepaymentController.java
浏览文件 @
587a5fc1
...
...
@@ -40,6 +40,7 @@ public class CarrierOwnerRepaymentController {
@ApiOperation
(
value
=
"分页搜索货主还款列表"
,
notes
=
"<br>By:艾庆国"
)
@PostMapping
(
"/pageOwnerRepaymentOfOwner"
)
@UnitCovert
(
param
=
false
)
public
Result
<
PageData
<
OwnerRepaymentVO
>>
pageOwnerRepaymentOfOwner
(
@RequestBody
@Validated
PageOwnerRepaymentOfOwner
param
)
{
IPage
<
OwnerRepaymentVO
>
page
=
ownerRepaymentService
.
pageOwnerRepaymentOfOwner
(
param
);
return
Result
.
page
(
page
.
getRecords
(),
page
.
getTotal
(),
page
.
getPages
());
...
...
performance-web/src/main/java/com/clx/performance/service/impl/loan/OwnerLoanAccountServiceImpl.java
浏览文件 @
587a5fc1
...
...
@@ -8,6 +8,7 @@ import com.clx.performance.param.pc.loan.carrier.PageOwnerLoanAccountParam;
import
com.clx.performance.service.loan.OwnerLoanAccountService
;
import
com.clx.performance.struct.loan.OwnerLoanAccountStruct
;
import
com.clx.performance.vo.pc.loan.carrier.OwnerLoanAccountVO
;
import
com.msl.common.convertor.aspect.UnitCovert
;
import
com.msl.user.data.UserSessionData
;
import
com.msl.user.utils.TokenUtil
;
import
lombok.AllArgsConstructor
;
...
...
@@ -46,6 +47,7 @@ public class OwnerLoanAccountServiceImpl implements OwnerLoanAccountService {
}
@Override
@UnitCovert
(
param
=
false
)
public
IPage
<
OwnerLoanAccountVO
>
pageOwnerLoanAccount
(
PageOwnerLoanAccountParam
param
)
{
return
ownerLoanAccountDao
.
pageByParam
(
param
);
}
...
...
performance-web/src/main/java/com/clx/performance/sqlProvider/borrower/BorrowerConfigSqlProvider.java
浏览文件 @
587a5fc1
...
...
@@ -25,7 +25,7 @@ public class BorrowerConfigSqlProvider {
FROM
(
"borrower_config"
);
WHERE
(
"delete_status = 0"
);
if
(
StringUtils
.
isNotBlank
(
param
.
getBorrowerName
()))
{
WHERE
(
"borrower_name
=
like CONCAT(#{param.borrowerName},'%')"
);}
if
(
StringUtils
.
isNotBlank
(
param
.
getBorrowerName
()))
{
WHERE
(
"borrower_name like CONCAT(#{param.borrowerName},'%')"
);}
if
(
Objects
.
nonNull
(
param
.
getStatus
()))
{
WHERE
(
"status = #{param.status}"
);}
ORDER_BY
(
"create_time desc"
);
...
...
performance-web/src/main/java/com/clx/performance/sqlProvider/borrower/BorrowerSqlProvider.java
浏览文件 @
587a5fc1
...
...
@@ -24,7 +24,7 @@ public class BorrowerSqlProvider {
FROM
(
"borrower"
);
WHERE
(
"delete_status = 0"
);
if
(
StringUtils
.
isNotBlank
(
param
.
getName
()))
{
WHERE
(
"name
=
like CONCAT(#{param.name},'%')"
);}
if
(
StringUtils
.
isNotBlank
(
param
.
getName
()))
{
WHERE
(
"name like CONCAT(#{param.name},'%')"
);}
ORDER_BY
(
"create_time desc"
);
}}.
toString
();
...
...
performance-web/src/main/java/com/clx/performance/sqlProvider/borrower/OwnerLoanAccountRunningWaterRecordSqlProvider.java
浏览文件 @
587a5fc1
...
...
@@ -16,7 +16,8 @@ public class OwnerLoanAccountRunningWaterRecordSqlProvider {
SELECT
(
" id, owner_user_no as ownerUserNo, owner_user_name as ownerUserName, mobile, "
+
" running_water_no as runningWaterNo, loan_no as loanNo, child_no as childNo, "
+
" running_water_type as runningWaterType, alteration_balance as alterationBalance, account_balance as accountBalance, "
+
" running_water_type as runningWaterType, "
+
" alteration_balance as alterationBalance, account_balance as accountBalance, "
+
" create_by as createBy, "
+
" date_format(create_time, '%Y-%m-%d %H:%i:%s') as createTime, "
+
" date_format(modified_time, '%Y-%m-%d %H:%i:%s') as modifiedTime "
...
...
performance-web/src/main/java/com/clx/performance/sqlProvider/borrower/OwnerLoanAccountSqlProvider.java
浏览文件 @
587a5fc1
...
...
@@ -25,7 +25,7 @@ public class OwnerLoanAccountSqlProvider {
FROM
(
"owner_loan_account"
);
if
(
Objects
.
nonNull
(
param
.
getOwnerUserNo
()))
{
WHERE
(
"owner_user_no = #{param.ownerUserNo}"
);}
if
(
StringUtils
.
isNotBlank
(
param
.
getOwnerUserName
()))
{
WHERE
(
"owner_user_name
=
like CONCAT(#{param.ownerUserName},'%')"
);}
if
(
StringUtils
.
isNotBlank
(
param
.
getOwnerUserName
()))
{
WHERE
(
"owner_user_name like CONCAT(#{param.ownerUserName},'%')"
);}
if
(
StringUtils
.
isNotBlank
(
param
.
getMobile
()))
{
WHERE
(
"mobile = #{param.mobile}"
);}
ORDER_BY
(
"create_time desc"
);
...
...
performance-web/src/main/java/com/clx/performance/sqlProvider/borrower/OwnerLoanRecordSqlProvider.java
浏览文件 @
587a5fc1
...
...
@@ -16,13 +16,16 @@ public class OwnerLoanRecordSqlProvider {
SELECT
(
" id, owner_user_no as ownerUserNo, owner_user_name as ownerUserName, mobile, "
+
" running_water_open_no as runningWaterOpenNo, "
+
" loan_no as loanNo, loan_type as loanType, loan_balance as loanBalance, borrower, borrower_account as borrowerAccount, "
+
" lending_party as lendingParty, lending_party_account as lendingPartyAccount, payee, payee_account as payeeAccount, "
+
" status, date_format(approve_time, '%Y-%m-%d %H:%i:%s') as approveTime, approve_by as approveBy, "
+
" merchant_running_water_no as merchantRunningWaterNo, "
+
" loan_no as loanNo, loan_type as loanType, loan_balance as loanBalance, "
+
" borrower, borrower_account as borrowerAccount, "
+
" lending_party as lendingParty, lending_party_account as lendingPartyAccount, "
+
" payee, payee_account as payeeAccount, "
+
" status, "
+
" date_format(approve_time, '%Y-%m-%d %H:%i:%s') as approveTime, approve_by as approveBy, "
+
" reject_reason as rejectReason, date_format(loan_repayment_time, '%Y-%m-%d %H:%i:%s') as loanRepaymentTime, "
+
" create_by as createBy, "
+
"date_format(create_time, '%Y-%m-%d %H:%i:%s') as createTime, "
+
"date_format(modified_time, '%Y-%m-%d %H:%i:%s') as modifiedTime "
" create_by as createBy, date_format(create_time, '%Y-%m-%d %H:%i:%s') as createTime, "
+
" date_format(modified_time, '%Y-%m-%d %H:%i:%s') as modifiedTime "
);
FROM
(
"owner_loan_record"
);
...
...
performance-web/src/main/java/com/clx/performance/sqlProvider/borrower/OwnerRepaymentSqlProvider.java
浏览文件 @
587a5fc1
...
...
@@ -15,12 +15,16 @@ public class OwnerRepaymentSqlProvider {
return
new
SQL
(){{
SELECT
(
" id, owner_user_no as ownerUserNo, owner_user_name as ownerUserName, mobile, "
+
" running_water_open_no as runningWaterOpenNo, repayment_no as repaymentNo, "
+
" repayment_balance as repaymentBalance, payment, payment_account as paymentAccount, "
+
" running_water_open_no as runningWaterOpenNo, "
+
" merchant_running_water_no as merchantRunningWaterNo, repayment_no as repaymentNo, repayment_balance as repaymentBalance, "
+
" payment, payment_account as paymentAccount, "
+
" date_format(payment_application_form_time, '%Y-%m-%d %H:%i:%s') as paymentApplicationFormTime, "
+
" remittance_identification_code as remittanceIdentificationCode, "
+
" goods_name as goodsName, "
+
" payee, payee_account as payeeAccount, loan_no as loanNo, status, pay_channel as payChannel, "
+
" be_overdue as beOverdue, date_format(loan_repayment_time, '%Y-%m-%d %H:%i:%s') as loanRepaymentTime, "
+
" date_format(operate_time, '%Y-%m-%d %H:%i:%s') as operateTime, operate_by as operateBy,
create_by as createBy,
"
+
" date_format(create_time, '%Y-%m-%d %H:%i:%s') as createTime, "
+
" date_format(operate_time, '%Y-%m-%d %H:%i:%s') as operateTime, operate_by as operateBy, "
+
"
create_by as createBy,
date_format(create_time, '%Y-%m-%d %H:%i:%s') as createTime, "
+
" date_format(modified_time, '%Y-%m-%d %H:%i:%s') as modifiedTime "
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论