Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
bltdc
dc-java
Commits
c3d00df7
Commit
c3d00df7
authored
Jul 22, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决采购单明细保存出错的问题
parent
91ea6e88
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
PurchaseDetailDTO.java
...main/java/com/bailuntec/domain/dto/PurchaseDetailDTO.java
+1
-1
DcBasePurchaseDetailsMapper.xml
...java/com/bailuntec/mapper/DcBasePurchaseDetailsMapper.xml
+5
-5
No files found.
data-base/base-sync-purchase-details/src/main/java/com/bailuntec/domain/dto/PurchaseDetailDTO.java
View file @
c3d00df7
...
...
@@ -381,7 +381,7 @@ public class PurchaseDetailDTO {
private
Integer
amountExpress
;
@JSONField
(
name
=
"createusername"
)
private
String
create
U
sername
;
private
String
create
u
sername
;
}
data-common/src/main/java/com/bailuntec/mapper/DcBasePurchaseDetailsMapper.xml
View file @
c3d00df7
...
...
@@ -55,7 +55,7 @@
<result
column=
"amount_buy"
jdbcType=
"DECIMAL"
property=
"amountBuy"
/>
<result
column=
"amount_payed"
jdbcType=
"DECIMAL"
property=
"amountPayed"
/>
<result
column=
"amount_express"
jdbcType=
"DECIMAL"
property=
"amountExpress"
/>
<result
column=
"createusername"
jdbcType=
"VARCHAR"
property=
"create
U
sername"
/>
<result
column=
"createusername"
jdbcType=
"VARCHAR"
property=
"create
u
sername"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
...
...
@@ -388,7 +388,7 @@
<if
test=
"amountExpress != null"
>
amount_express,
</if>
<if
test=
"create
U
sername != null"
>
<if
test=
"create
u
sername != null"
>
createusername
</if>
</trim>
...
...
@@ -540,7 +540,7 @@
<if
test=
"amountExpress != null"
>
#{amountExpress,jdbcType=DECIMAL},
</if>
<if
test=
"create
U
sername != null"
>
<if
test=
"create
u
sername != null"
>
#{createUsername,jdbcType=VARCHAR},
</if>
</trim>
...
...
@@ -712,8 +712,8 @@
<if
test=
"record.arrivalStatus != null"
>
amount_express = #{record.amountExpress,jdbcType=DECIMAL},
</if>
<if
test=
"record.create
U
sername != null"
>
createusername = #{record.create
U
sername,jdbcType=VARCHAR},
<if
test=
"record.create
u
sername != null"
>
createusername = #{record.create
u
sername,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
...
...
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