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
170a7fba
Commit
170a7fba
authored
Aug 24, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调拨在途 入库大于发货 取0
parent
15936fda
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
DcBaseCostFirst.java
...ain/java/com/bailuntec/domain/entity/DcBaseCostFirst.java
+2
-0
DcMidTransitMapper.xml
...src/main/java/com/bailuntec/mapper/DcMidTransitMapper.xml
+1
-1
CalculateCostFirstJob.java
...rc/main/java/com/bailuntec/job/CalculateCostFirstJob.java
+0
-0
No files found.
data-common/src/main/java/com/bailuntec/domain/entity/DcBaseCostFirst.java
View file @
170a7fba
...
@@ -163,6 +163,8 @@ public class DcBaseCostFirst {
...
@@ -163,6 +163,8 @@ public class DcBaseCostFirst {
private
Optional
<
DcBaseSku
>
dcBaseSku
;
private
Optional
<
DcBaseSku
>
dcBaseSku
;
private
BigDecimal
skuWeightRatio
;
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_cost_first
* This method corresponds to the database table dc_base_cost_first
...
...
data-common/src/main/java/com/bailuntec/mapper/DcMidTransitMapper.xml
View file @
170a7fba
...
@@ -680,7 +680,7 @@
...
@@ -680,7 +680,7 @@
SELECT t1.targetwareno as warehouse_code,
SELECT t1.targetwareno as warehouse_code,
t2.sku as bailun_sku,
t2.sku as bailun_sku,
t1.transporttype as transport_type,
t1.transporttype as transport_type,
t2.deliverycount - t2.storagecount
as `count`,
if(t2.deliverycount - t2.storagecount
<
0 ,0,t2.deliverycount - t2.storagecount)
as `count`,
0 as countplan
0 as countplan
FROM dc_base_transfer_info t1
FROM dc_base_transfer_info t1
LEFT JOIN dc_base_transfer_info_skus t2 on t1.dataid = t2.dataid
LEFT JOIN dc_base_transfer_info_skus t2 on t1.dataid = t2.dataid
...
...
data-mid/mid-calculate-cost-first/src/main/java/com/bailuntec/job/CalculateCostFirstJob.java
View file @
170a7fba
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