Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
fc7d7baa
Commit
fc7d7baa
authored
Aug 03, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增供应链类型字段
parent
64b8c162
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
dc_auto_forecast_fluctuation.cs
AutoTurnOver.DB/dc_auto_forecast_fluctuation.cs
+1
-1
ExceptionReminderController.cs
AutoTurnOver/Controllers/ExceptionReminderController.cs
+5
-3
No files found.
AutoTurnOver.DB/dc_auto_forecast_fluctuation.cs
View file @
fc7d7baa
...
...
@@ -69,7 +69,7 @@ where 1 = 1
}
if
(!
string
.
IsNullOrWhiteSpace
(
data
.
character
))
{
sql
+=
" and t
1.bailun_sku=@bailun_sku
"
;
sql
+=
" and t
6.bailun_sku_warehouse_code in ( select bailun_sku_warehouse_code from dc_base_data_character where `character`=@character )
"
;
parameters
.
Add
(
"character"
,
data
.
character
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
data
.
warehouse_code
))
...
...
AutoTurnOver/Controllers/ExceptionReminderController.cs
View file @
fc7d7baa
...
...
@@ -44,7 +44,7 @@ namespace AutoTurnOver.Controllers
});
}
public
FileResult
Export
(
int
limit
,
int
offset
,
string
order
,
string
sort
,
string
sku
,
string
warehousecode
,
string
warehousetype
,
int
?
warehousearea
,
public
FileResult
Export
(
int
limit
,
int
offset
,
string
order
,
string
sort
,
string
sku
,
string
character
,
string
warehousecode
,
string
warehousetype
,
int
?
warehousearea
,
bool
?
has_overdue
=
null
,
bool
?
has_confirm
=
null
,
bool
?
has_solve
=
null
,
int
?
err_type
=
null
)
{
var
m
=
new
dc_auto_forecast_fluctuation_search_dto
...
...
@@ -56,7 +56,8 @@ namespace AutoTurnOver.Controllers
has_solve
=
has_solve
,
warehousetype
=
warehousetype
,
warehousearea
=
warehousearea
,
err_type
=
err_type
err_type
=
err_type
,
character
=
character
};
var
total
=
0
;
...
...
@@ -67,7 +68,7 @@ namespace AutoTurnOver.Controllers
string
[]
cols
=
new
string
[]
{
"Sku"
,
"中文名称"
,
"仓库编码"
,
"仓库名称"
,
"最近3日日均"
,
"最近7日日均"
,
"最近14日日均"
,
"最近30日日均"
,
"异常类型"
,
"开始时间"
,
"总缺货数"
,
"在途数量"
,
"采购员"
,
"预计到货"
,
"bi 采购单号"
,
"供应商"
,
"逾期状态"
,
"结束时间"
,
"是否确认"
,
"确认人"
,
"预计解决时间"
,
"处理方案"
,
"是否解决"
,
"监控状态"
,
"实时库存"
,
"moq"
"处理方案"
,
"是否解决"
,
"监控状态"
,
"实时库存"
,
"moq"
,
"供应链类型"
};
foreach
(
var
item
in
cols
)
{
...
...
@@ -107,6 +108,7 @@ namespace AutoTurnOver.Controllers
row
[
"监控状态"
]
=
itemData
.
monitor_status
==
1
?
"停止监控"
:
"正常监控"
;
row
[
"实时库存"
]
=
itemData
.
usable_stock
;
row
[
"moq"
]
=
itemData
.
moq
;
row
[
"供应链类型"
]
=
itemData
.
character
;
table
.
Rows
.
Add
(
row
);
}
...
...
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