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
44068f8e
Commit
44068f8e
authored
Mar 17, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fa11d014
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
db_config.cs
AutoTurnOver.DB/db_config.cs
+1
-1
ConfigServices.cs
AutoTurnOver.Services/ConfigServices.cs
+10
-1
No files found.
AutoTurnOver.DB/db_config.cs
View file @
44068f8e
...
...
@@ -668,7 +668,7 @@ GROUP BY t1.bailun_sku,t3.hq_type
// 如果是永久停止,则清理历史采购建议
if
(
time_type
==
2
)
{
_connection
.
Execute
(
" update dc_auto_purchase_advise_detailed set `status`=-1 where bailun_sku_warehouse_code
s
in @bailun_sku_warehouse_codes "
,
new
_connection
.
Execute
(
" update dc_auto_purchase_advise_detailed set `status`=-1 where bailun_sku_warehouse_code in @bailun_sku_warehouse_codes "
,
new
{
bailun_sku_warehouse_codes
=
datas
.
Select
(
s
=>
$"
{
s
.
bailun_sku
}{
s
.
warehouse_code
}
"
).
ToList
()
});
...
...
AutoTurnOver.Services/ConfigServices.cs
View file @
44068f8e
...
...
@@ -418,7 +418,16 @@ namespace AutoTurnOver.Services
public
string
BatchMonitorStatus
(
string
ids
,
int
monitor_status
,
int
time_type
,
UserData
user
)
{
return
DB
.
db_config
.
BatchMonitorStatus
(
ids
,
monitor_status
,
time_type
,
user
);
try
{
return
DB
.
db_config
.
BatchMonitorStatus
(
ids
,
monitor_status
,
time_type
,
user
);
}
catch
(
Exception
ex
)
{
throw
;
}
}
public
string
BatchReturnGoodsStatus
(
string
ids
,
int
monitor_status
,
UserData
user
)
{
...
...
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