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
ad574182
Commit
ad574182
authored
Feb 08, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
6cde37df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
DcAutoSalesForecastStageConfigMapper.xml
...bailuntec/mapper/DcAutoSalesForecastStageConfigMapper.xml
+7
-7
No files found.
data-common/src/main/java/com/bailuntec/mapper/DcAutoSalesForecastStageConfigMapper.xml
View file @
ad574182
...
...
@@ -26,19 +26,19 @@
and (t5.first_order_days_max = 0 or t5.first_order_days_max
>
= #{firstOrderDays})
</if>
<if
test=
"avgOrderCount30!=null "
>
and t5.orders_avg_max = 0 or (t5.orders_avg_sampling_days = 30
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_sampling_days = 30)
and (t5.orders_avg_max = 0 or t5.orders_avg_max
>
= #{avgOrderCount30}))
</if>
<if
test=
"avgOrderCount14!=null "
>
and t5.orders_avg_max = 0 or (t5.orders_avg_sampling_days = 14
and (t5.orders_avg_min = 0 or t5.orders_avg_min
<
= #{avgOrderCount14})
and (t5.orders_avg_max = 0 or t5.orders_avg_max
>
= #{avgOrderCount14})
and (t5.orders_avg_max = 0 or t5.orders_avg_sampling_days = 14)
and (t5.orders_avg_max = 0 or t5.orders_avg_max
>
= #{avgOrderCount14}))
</if>
<if
test=
"avgOrderCount7!=null "
>
and
(t5.orders_avg_min = 0 or t5.orders_avg_min
<
= #{avgOrderCount7})
and (t5.orders_avg_max = 0 or t5.orders_avg_max
&g
t;
= #{avgOrderCount7})
and (t5.orders_avg_max = 0 or t5.orders_avg_sampling_days = 7
)
and
t5.orders_avg_max = 0 or (t5.orders_avg_sampling_days = 7
and (t5.orders_avg_min = 0 or t5.orders_avg_min
&l
t;
= #{avgOrderCount7})
and (t5.orders_avg_max = 0 or t5.orders_avg_max
>
= #{avgOrderCount7})
)
</if>
LEFT JOIN dc_auto_sales_forecast_stage_config t7 on t7.config_id = t5.id
and (IF(t5.screen_type = 1,
...
...
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