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
85083d96
Commit
85083d96
authored
Jun 21, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购在途增加在途金额字段, 根据每个采购单单价* 数量汇总而成
parent
67d2e01c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
294 additions
and
2 deletions
+294
-2
DcMidTransit.java
...c/main/java/com/bailuntec/domain/entity/DcMidTransit.java
+51
-1
DcMidTransitExample.java
...ava/com/bailuntec/domain/example/DcMidTransitExample.java
+241
-0
DcMidTransitMapper.java
...rc/main/java/com/bailuntec/mapper/DcMidTransitMapper.java
+2
-1
DcMidTransitMapper.xml
...src/main/java/com/bailuntec/mapper/DcMidTransitMapper.xml
+0
-0
No files found.
data-common/src/main/java/com/bailuntec/domain/entity/DcMidTransit.java
View file @
85083d96
...
@@ -2,6 +2,7 @@ package com.bailuntec.domain.entity;
...
@@ -2,6 +2,7 @@ package com.bailuntec.domain.entity;
import
lombok.Data
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
@Data
@Data
...
@@ -88,6 +89,42 @@ public class DcMidTransit {
...
@@ -88,6 +89,42 @@ public class DcMidTransit {
private
LocalDateTime
gmtOutStockModified
;
private
LocalDateTime
gmtOutStockModified
;
/**
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.quantity_unshipped
*
* @mbg.generated
*/
private
Integer
quantityUnshipped
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.gmt_unshipped_modified
*
* @mbg.generated
*/
private
LocalDateTime
gmtUnshippedModified
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.company_id
*
* @mbg.generated
*/
private
Integer
companyId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.amount_purchase_transit
*
* @mbg.generated
*/
private
BigDecimal
amountPurchaseTransit
;
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_mid_transit
* This method corresponds to the database table dc_mid_transit
*
*
...
@@ -108,6 +145,10 @@ public class DcMidTransit {
...
@@ -108,6 +145,10 @@ public class DcMidTransit {
sb
.
append
(
", gmtTransferModified="
).
append
(
gmtTransferModified
);
sb
.
append
(
", gmtTransferModified="
).
append
(
gmtTransferModified
);
sb
.
append
(
", quantityOutStock="
).
append
(
quantityOutStock
);
sb
.
append
(
", quantityOutStock="
).
append
(
quantityOutStock
);
sb
.
append
(
", gmtOutStockModified="
).
append
(
gmtOutStockModified
);
sb
.
append
(
", gmtOutStockModified="
).
append
(
gmtOutStockModified
);
sb
.
append
(
", quantityUnshipped="
).
append
(
quantityUnshipped
);
sb
.
append
(
", gmtUnshippedModified="
).
append
(
gmtUnshippedModified
);
sb
.
append
(
", companyId="
).
append
(
companyId
);
sb
.
append
(
", amountPurchaseTransit="
).
append
(
amountPurchaseTransit
);
sb
.
append
(
"]"
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
return
sb
.
toString
();
}
}
...
@@ -138,7 +179,11 @@ public class DcMidTransit {
...
@@ -138,7 +179,11 @@ public class DcMidTransit {
&&
(
this
.
getQuantityTransfer
()
==
null
?
other
.
getQuantityTransfer
()
==
null
:
this
.
getQuantityTransfer
().
equals
(
other
.
getQuantityTransfer
()))
&&
(
this
.
getQuantityTransfer
()
==
null
?
other
.
getQuantityTransfer
()
==
null
:
this
.
getQuantityTransfer
().
equals
(
other
.
getQuantityTransfer
()))
&&
(
this
.
getGmtTransferModified
()
==
null
?
other
.
getGmtTransferModified
()
==
null
:
this
.
getGmtTransferModified
().
equals
(
other
.
getGmtTransferModified
()))
&&
(
this
.
getGmtTransferModified
()
==
null
?
other
.
getGmtTransferModified
()
==
null
:
this
.
getGmtTransferModified
().
equals
(
other
.
getGmtTransferModified
()))
&&
(
this
.
getQuantityOutStock
()
==
null
?
other
.
getQuantityOutStock
()
==
null
:
this
.
getQuantityOutStock
().
equals
(
other
.
getQuantityOutStock
()))
&&
(
this
.
getQuantityOutStock
()
==
null
?
other
.
getQuantityOutStock
()
==
null
:
this
.
getQuantityOutStock
().
equals
(
other
.
getQuantityOutStock
()))
&&
(
this
.
getGmtOutStockModified
()
==
null
?
other
.
getGmtOutStockModified
()
==
null
:
this
.
getGmtOutStockModified
().
equals
(
other
.
getGmtOutStockModified
()));
&&
(
this
.
getGmtOutStockModified
()
==
null
?
other
.
getGmtOutStockModified
()
==
null
:
this
.
getGmtOutStockModified
().
equals
(
other
.
getGmtOutStockModified
()))
&&
(
this
.
getQuantityUnshipped
()
==
null
?
other
.
getQuantityUnshipped
()
==
null
:
this
.
getQuantityUnshipped
().
equals
(
other
.
getQuantityUnshipped
()))
&&
(
this
.
getGmtUnshippedModified
()
==
null
?
other
.
getGmtUnshippedModified
()
==
null
:
this
.
getGmtUnshippedModified
().
equals
(
other
.
getGmtUnshippedModified
()))
&&
(
this
.
getCompanyId
()
==
null
?
other
.
getCompanyId
()
==
null
:
this
.
getCompanyId
().
equals
(
other
.
getCompanyId
()))
&&
(
this
.
getAmountPurchaseTransit
()
==
null
?
other
.
getAmountPurchaseTransit
()
==
null
:
this
.
getAmountPurchaseTransit
().
equals
(
other
.
getAmountPurchaseTransit
()));
}
}
/**
/**
...
@@ -160,6 +205,10 @@ public class DcMidTransit {
...
@@ -160,6 +205,10 @@ public class DcMidTransit {
result
=
prime
*
result
+
((
getGmtTransferModified
()
==
null
)
?
0
:
getGmtTransferModified
().
hashCode
());
result
=
prime
*
result
+
((
getGmtTransferModified
()
==
null
)
?
0
:
getGmtTransferModified
().
hashCode
());
result
=
prime
*
result
+
((
getQuantityOutStock
()
==
null
)
?
0
:
getQuantityOutStock
().
hashCode
());
result
=
prime
*
result
+
((
getQuantityOutStock
()
==
null
)
?
0
:
getQuantityOutStock
().
hashCode
());
result
=
prime
*
result
+
((
getGmtOutStockModified
()
==
null
)
?
0
:
getGmtOutStockModified
().
hashCode
());
result
=
prime
*
result
+
((
getGmtOutStockModified
()
==
null
)
?
0
:
getGmtOutStockModified
().
hashCode
());
result
=
prime
*
result
+
((
getQuantityUnshipped
()
==
null
)
?
0
:
getQuantityUnshipped
().
hashCode
());
result
=
prime
*
result
+
((
getGmtUnshippedModified
()
==
null
)
?
0
:
getGmtUnshippedModified
().
hashCode
());
result
=
prime
*
result
+
((
getCompanyId
()
==
null
)
?
0
:
getCompanyId
().
hashCode
());
result
=
prime
*
result
+
((
getAmountPurchaseTransit
()
==
null
)
?
0
:
getAmountPurchaseTransit
().
hashCode
());
return
result
;
return
result
;
}
}
}
}
\ No newline at end of file
data-common/src/main/java/com/bailuntec/domain/example/DcMidTransitExample.java
View file @
85083d96
This diff is collapsed.
Click to expand it.
data-mid/mid-calculate-transit/src/main/java/com/bailuntec/mapper/DcMidTransitMapper.java
View file @
85083d96
...
@@ -144,7 +144,7 @@ public interface DcMidTransitMapper {
...
@@ -144,7 +144,7 @@ public interface DcMidTransitMapper {
LocalDateTime
selectMaxPurchaseModified
();
LocalDateTime
selectMaxPurchaseModified
();
LocalDateTime
selectMaxUnshippedModified
();
LocalDateTime
selectMaxUnshippedModified
();
void
updateOldUnshippedToZero
(
@Param
(
"unshippedModified"
)
LocalDateTime
unshippedModified
);
void
updateOldUnshippedToZero
(
@Param
(
"unshippedModified"
)
LocalDateTime
unshippedModified
);
void
calculateUnshipped
();
void
calculateUnshipped
();
}
}
\ No newline at end of file
data-mid/mid-calculate-transit/src/main/java/com/bailuntec/mapper/DcMidTransitMapper.xml
View file @
85083d96
This diff is collapsed.
Click to expand it.
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