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
a3c9d405
Commit
a3c9d405
authored
Mar 09, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7173c908
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
dc_auto_turnover.cs
AutoTurnOver.DB/dc_auto_turnover.cs
+0
-0
dc_auto_purchase_advise.cs
AutoTurnOver.Models/dc_auto_purchase_advise.cs
+4
-2
SkuAutoTurnServices.cs
AutoTurnOver.Services/SkuAutoTurnServices.cs
+4
-0
SkuAutoTurnController.cs
AutoTurnOver/Controllers/SkuAutoTurnController.cs
+19
-0
No files found.
AutoTurnOver.DB/dc_auto_turnover.cs
View file @
a3c9d405
This diff is collapsed.
Click to expand it.
AutoTurnOver.Models/dc_auto_purchase_advise.cs
View file @
a3c9d405
...
...
@@ -304,14 +304,16 @@ namespace AutoTurnOver.Models
其他
=
0
,
备安全库存
=
1
,
补缺货
=
2
,
下首单
=
3
下首单
=
3
,
补海运
=
5
}
public
enum
purchase_advise_type_enum
{
预计缺货
=
1
,
实际缺货
=
2
,
补货
=
3
,
下首单
=
4
下首单
=
4
,
补海运
=
5
}
public
class
dc_auto_purchase_advise_detailed_buy_dto
:
dc_auto_purchase_advise_detailed
...
...
AutoTurnOver.Services/SkuAutoTurnServices.cs
View file @
a3c9d405
...
...
@@ -693,6 +693,10 @@ namespace AutoTurnOver.Services
{
return
DB
.
dc_auto_turnover
.
ProfitAnalysis
(
search_data
,
ref
total
);
}
public
void
BatchPushPurchaseAdvise
(
string
ids
,
UserData
user
)
{
DB
.
dc_auto_turnover
.
BatchPushPurchaseAdvise
(
ids
,
user
);
}
public
string
ProfitAnalysisExport
(
dc_base_stock_search_dto
search_data
)
...
...
AutoTurnOver/Controllers/SkuAutoTurnController.cs
View file @
a3c9d405
...
...
@@ -623,5 +623,23 @@ namespace AutoTurnOver.Controllers
}
[
HttpGet
]
[
BrowseLog
(
"Bailun_aims"
,
"触发【百伦自动周转系统】->【自动下单管理】->【利润最大化分析】->【推送采购建议】操作"
,
3
)]
public
JsonResult
BatchPushPurchaseAdvise
(
string
ids
)
{
try
{
var
user
=
AutoUtility
.
GetUser
();
if
(
user
==
null
)
return
null
;
new
Services
.
SkuAutoTurnServices
().
BatchPushPurchaseAdvise
(
ids
,
user
);
return
new
JsonResult
(
""
);
}
catch
(
Exception
ex
)
{
return
new
JsonResult
(
ex
.
Message
);
}
}
}
}
\ No newline at end of file
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