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
d8bbd0d5
Commit
d8bbd0d5
authored
Jan 20, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
3b0bf493
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
DcAutoSalesForecastStageConfigMapper.xml
...bailuntec/mapper/DcAutoSalesForecastStageConfigMapper.xml
+3
-3
AutoTurnoverTest.java
...ow/show-auto-turnover/src/test/java/AutoTurnoverTest.java
+2
-2
No files found.
data-common/src/main/java/com/bailuntec/mapper/DcAutoSalesForecastStageConfigMapper.xml
View file @
d8bbd0d5
...
@@ -21,11 +21,11 @@
...
@@ -21,11 +21,11 @@
and (find_in_set(t2.product_type,t5.category) or length(trim(t5.category)) = 0)
and (find_in_set(t2.product_type,t5.category) or length(trim(t5.category)) = 0)
and (t6.area_id = t5.warehouse_area_id or length(trim(t5.warehouse_area_id)) = 0)
and (t6.area_id = t5.warehouse_area_id or length(trim(t5.warehouse_area_id)) = 0)
and t5.is_delete = 0
and t5.is_delete = 0
<if
test=
"firstOrderDays!=null and firstOrderDays!=0
"
>
<if
test=
"firstOrderDays!=null
"
>
and (t5.first_order_days_min = 0 or t5.first_order_days_min
<
= #{firstOrderDays})
and (t5.first_order_days_min = 0 or t5.first_order_days_min
<
= #{firstOrderDays})
and (t5.first_order_days_max = 0 or t5.first_order_days_max
>
= #{firstOrderDays})
and (t5.first_order_days_max = 0 or t5.first_order_days_max
>
= #{firstOrderDays})
</if>
</if>
<if
test=
"avgOrderCount30!=null
and avgOrderCount30!=0
"
>
<if
test=
"avgOrderCount30!=null "
>
and (t5.orders_avg_min = 0 or t5.orders_avg_min
<
= #{avgOrderCount30})
and (t5.orders_avg_min = 0 or t5.orders_avg_min
<
= #{avgOrderCount30})
and (t5.orders_avg_max = 0 or t5.orders_avg_max
>
= #{avgOrderCount30})
and (t5.orders_avg_max = 0 or t5.orders_avg_max
>
= #{avgOrderCount30})
</if>
</if>
...
...
data-show/show-auto-turnover/src/test/java/AutoTurnoverTest.java
View file @
d8bbd0d5
...
@@ -262,8 +262,8 @@ public class AutoTurnoverTest {
...
@@ -262,8 +262,8 @@ public class AutoTurnoverTest {
public
void
testXX2
()
{
public
void
testXX2
()
{
DcBaseStock
dcBaseStock
=
SessionUtil
.
getSession
().
getMapper
(
DcBaseStockMapper
.
class
)
DcBaseStock
dcBaseStock
=
SessionUtil
.
getSession
().
getMapper
(
DcBaseStockMapper
.
class
)
.
selectOneByExample
(
DcBaseStockExample
.
newAndCreateCriteria
()
.
selectOneByExample
(
DcBaseStockExample
.
newAndCreateCriteria
()
.
andBailunSkuEqualTo
(
"9
482765
01"
)
.
andBailunSkuEqualTo
(
"9
514673
01"
)
.
andWarehouseCodeEqualTo
(
"G
B4PXBL
"
)
.
andWarehouseCodeEqualTo
(
"G
ZBLWH
"
)
.
example
());
.
example
());
try
{
try
{
AutoTurnoverJob
autoTurnoverJob
=
new
AutoTurnoverJob
();
AutoTurnoverJob
autoTurnoverJob
=
new
AutoTurnoverJob
();
...
...
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