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
huluobin
dc-java
Commits
91ea6e88
Commit
91ea6e88
authored
Jul 22, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购单详情增加创建人字段
parent
3ef7a3c3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
PurchaseDetailDTO.java
...main/java/com/bailuntec/domain/dto/PurchaseDetailDTO.java
+3
-0
DcBasePurchaseDetails.java
...va/com/bailuntec/domain/entity/DcBasePurchaseDetails.java
+1
-0
DcBasePurchaseDetailsMapper.xml
...java/com/bailuntec/mapper/DcBasePurchaseDetailsMapper.xml
+11
-2
No files found.
data-base/base-sync-purchase-details/src/main/java/com/bailuntec/domain/dto/PurchaseDetailDTO.java
View file @
91ea6e88
...
@@ -380,5 +380,8 @@ public class PurchaseDetailDTO {
...
@@ -380,5 +380,8 @@ public class PurchaseDetailDTO {
@JSONField
(
name
=
"expressfee"
)
@JSONField
(
name
=
"expressfee"
)
private
Integer
amountExpress
;
private
Integer
amountExpress
;
@JSONField
(
name
=
"createusername"
)
private
String
createUsername
;
}
}
data-common/src/main/java/com/bailuntec/domain/entity/DcBasePurchaseDetails.java
View file @
91ea6e88
...
@@ -432,6 +432,7 @@ public class DcBasePurchaseDetails {
...
@@ -432,6 +432,7 @@ public class DcBasePurchaseDetails {
private
Integer
amountExpress
;
private
Integer
amountExpress
;
private
String
createusername
;
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBasePurchaseDetailsMapper.xml
View file @
91ea6e88
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<result
column=
"amount_buy"
jdbcType=
"DECIMAL"
property=
"amountBuy"
/>
<result
column=
"amount_buy"
jdbcType=
"DECIMAL"
property=
"amountBuy"
/>
<result
column=
"amount_payed"
jdbcType=
"DECIMAL"
property=
"amountPayed"
/>
<result
column=
"amount_payed"
jdbcType=
"DECIMAL"
property=
"amountPayed"
/>
<result
column=
"amount_express"
jdbcType=
"DECIMAL"
property=
"amountExpress"
/>
<result
column=
"amount_express"
jdbcType=
"DECIMAL"
property=
"amountExpress"
/>
<result
column=
"createusername"
jdbcType=
"VARCHAR"
property=
"createUsername"
/>
</resultMap>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<sql
id=
"Example_Where_Clause"
>
<!--
<!--
...
@@ -385,7 +386,10 @@
...
@@ -385,7 +386,10 @@
amount_payed,
amount_payed,
</if>
</if>
<if
test=
"amountExpress != null"
>
<if
test=
"amountExpress != null"
>
amount_express
amount_express,
</if>
<if
test=
"createUsername != null"
>
createusername
</if>
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
...
@@ -536,6 +540,9 @@
...
@@ -536,6 +540,9 @@
<if
test=
"amountExpress != null"
>
<if
test=
"amountExpress != null"
>
#{amountExpress,jdbcType=DECIMAL},
#{amountExpress,jdbcType=DECIMAL},
</if>
</if>
<if
test=
"createUsername != null"
>
#{createUsername,jdbcType=VARCHAR},
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.bailuntec.domain.example.DcBasePurchaseDetailsExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"com.bailuntec.domain.example.DcBasePurchaseDetailsExample"
resultType=
"java.lang.Long"
>
...
@@ -705,7 +712,9 @@
...
@@ -705,7 +712,9 @@
<if
test=
"record.arrivalStatus != null"
>
<if
test=
"record.arrivalStatus != null"
>
amount_express = #{record.amountExpress,jdbcType=DECIMAL},
amount_express = #{record.amountExpress,jdbcType=DECIMAL},
</if>
</if>
<if
test=
"record.createUsername != null"
>
createusername = #{record.createUsername,jdbcType=VARCHAR},
</if>
</set>
</set>
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
...
...
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