Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
baihang-report
Commits
99be23c7
Commit
99be23c7
authored
Jan 12, 2022
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
映射出错
parent
919f020f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
17 deletions
+25
-17
LoanInfoDbMapper.java
.../cn/quantgroup/report/mapper/master/LoanInfoDbMapper.java
+2
-0
LoanInfoDbMapper.xml
...s/cn/quantgroup/report/mapper/master/LoanInfoDbMapper.xml
+23
-17
No files found.
src/main/java/cn/quantgroup/report/mapper/master/LoanInfoDbMapper.java
View file @
99be23c7
...
...
@@ -24,4 +24,6 @@ public interface LoanInfoDbMapper {
void
batchSaveLoanInfoRecordLog
(
List
<
LoanInfoZhuDai
>
list
);
List
<
LoanInfoZhuDai
>
findByLoanId
(
String
loanId
);
}
src/main/resources/cn/quantgroup/report/mapper/master/LoanInfoDbMapper.xml
View file @
99be23c7
...
...
@@ -4,26 +4,26 @@
<resultMap
id=
"LoanInfoResultMap"
type=
"cn.quantgroup.report.domain.baihang.LoanInfoZhuDai"
>
<result
column=
"record
Id"
jdbcType=
"VARCHAR"
property=
"record_i
d"
/>
<result
column=
"req
ID"
jdbcType=
"VARCHAR"
property=
"req_id
"
/>
<result
column=
"op
Code"
jdbcType=
"VARCHAR"
property=
"op_
Code"
/>
<result
column=
"upload
Ts"
jdbcType=
"VARCHAR"
property=
"upload_t
s"
/>
<result
column=
"record
_id"
jdbcType=
"VARCHAR"
property=
"recordI
d"
/>
<result
column=
"req
_id"
jdbcType=
"VARCHAR"
property=
"reqID
"
/>
<result
column=
"op
_Code"
jdbcType=
"VARCHAR"
property=
"op
Code"
/>
<result
column=
"upload
_ts"
jdbcType=
"VARCHAR"
property=
"uploadT
s"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"pid"
jdbcType=
"VARCHAR"
property=
"pid"
/>
<result
column=
"mobile"
jdbcType=
"VARCHAR"
property=
"mobile"
/>
<result
column=
"loan
Id"
jdbcType=
"VARCHAR"
property=
"loan_i
d"
/>
<result
column=
"guarantee
Type"
jdbcType=
"INTEGER"
property=
"guarantee_t
ype"
/>
<result
column=
"loan
Purpose"
jdbcType=
"INTEGER"
property=
"loan_p
urpose"
/>
<result
column=
"apply
Date"
jdbcType=
"VARCHAR"
property=
"apply_d
ate"
/>
<result
column=
"account
OpenDate"
jdbcType=
"VARCHAR"
property=
"account_open_d
ate"
/>
<result
column=
"issue
Date"
jdbcType=
"VARCHAR"
property=
"issue_d
ate"
/>
<result
column=
"due
Date"
jdbcType=
"VARCHAR"
property=
"due_d
ate"
/>
<result
column=
"loan
Amount"
jdbcType=
"DECIMAL"
property=
"loan_a
mount"
/>
<result
column=
"total
Term"
jdbcType=
"INTEGER"
property=
"total_t
erm"
/>
<result
column=
"target
RepayDateType"
jdbcType=
"INTEGER"
property=
"target_repay_date_t
ype"
/>
<result
column=
"term
Period"
jdbcType=
"INTEGER"
property=
"term_p
eriod"
/>
<result
column=
"first
RepaymentDate"
jdbcType=
"VARCHAR"
property=
"first_repayment_d
ate"
/>
<result
column=
"grace
Period"
jdbcType=
"INTEGER"
property=
"grace_p
eriod"
/>
<result
column=
"loan
_id"
jdbcType=
"VARCHAR"
property=
"loanI
d"
/>
<result
column=
"guarantee
_type"
jdbcType=
"INTEGER"
property=
"guaranteeT
ype"
/>
<result
column=
"loan
_purpose"
jdbcType=
"INTEGER"
property=
"loanP
urpose"
/>
<result
column=
"apply
_date"
jdbcType=
"VARCHAR"
property=
"applyD
ate"
/>
<result
column=
"account
_open_date"
jdbcType=
"VARCHAR"
property=
"accountOpenD
ate"
/>
<result
column=
"issue
_date"
jdbcType=
"VARCHAR"
property=
"issueD
ate"
/>
<result
column=
"due
_date"
jdbcType=
"VARCHAR"
property=
"dueD
ate"
/>
<result
column=
"loan
_amount"
jdbcType=
"DECIMAL"
property=
"loanA
mount"
/>
<result
column=
"total
_term"
jdbcType=
"INTEGER"
property=
"totalT
erm"
/>
<result
column=
"target
_repay_date_type"
jdbcType=
"INTEGER"
property=
"targetRepayDateT
ype"
/>
<result
column=
"term
_period"
jdbcType=
"INTEGER"
property=
"termP
eriod"
/>
<result
column=
"first
_repayment_date"
jdbcType=
"VARCHAR"
property=
"firstRepaymentD
ate"
/>
<result
column=
"grace
_period"
jdbcType=
"INTEGER"
property=
"graceP
eriod"
/>
</resultMap>
<select
id=
"saveLoanInfoRecordLog"
parameterType=
"cn.quantgroup.report.domain.baihang.LoanInfoZhuDai"
>
...
...
@@ -59,4 +59,10 @@
</foreach>
</insert>
<select
id=
"findByLoanId"
parameterType=
"java.lang.String"
resultMap=
"LoanInfoResultMap"
>
select *
from loan_info_zhudai
where loan_id = #{loanId,jdbcType=VARCHAR}
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment