Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TakeStock
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
pengjinyang
TakeStock
Commits
b16f074a
Commit
b16f074a
authored
Jul 09, 2019
by
pengjinyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
8e944f54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TakeStockService.cs
Service/TakeStock/TakeStockService.cs
+2
-2
No files found.
Service/TakeStock/TakeStockService.cs
View file @
b16f074a
...
@@ -146,7 +146,7 @@ namespace Service.TakeStock
...
@@ -146,7 +146,7 @@ namespace Service.TakeStock
logTask
=
AddOrUpdateLog
(
id
,
TSOrderState
.
异常
,
"冻结库存失败,WMS返回消息:"
+
JObject
.
Parse
(
responseContent
)[
"message"
],
responseContent
);
logTask
=
AddOrUpdateLog
(
id
,
TSOrderState
.
异常
,
"冻结库存失败,WMS返回消息:"
+
JObject
.
Parse
(
responseContent
)[
"message"
],
responseContent
);
}
}
int
row
=
await
orderRepository
.
UpdateAsync
(
order
,
"State"
,
"LastModificationTime"
);
int
row
=
await
orderRepository
.
UpdateAsync
(
order
,
"State"
,
"
BeforeQuantity"
,
"
LastModificationTime"
);
if
(!(
row
>
0
&&
await
logTask
))
if
(!(
row
>
0
&&
await
logTask
))
isSuccess
=
false
;
isSuccess
=
false
;
}
}
...
@@ -278,7 +278,7 @@ namespace Service.TakeStock
...
@@ -278,7 +278,7 @@ namespace Service.TakeStock
order
.
State
=
TSOrderState
.
异常
;
order
.
State
=
TSOrderState
.
异常
;
logTask
=
AddOrUpdateLog
(
id
,
TSOrderState
.
异常
,
"盘点失败,WMS返回消息:"
+
JObject
.
Parse
(
responseContent
)[
"message"
],
responseContent
);
logTask
=
AddOrUpdateLog
(
id
,
TSOrderState
.
异常
,
"盘点失败,WMS返回消息:"
+
JObject
.
Parse
(
responseContent
)[
"message"
],
responseContent
);
}
}
int
row
=
await
orderRepository
.
UpdateAsync
(
order
,
"State"
,
"LastModificationTime"
);
int
row
=
await
orderRepository
.
UpdateAsync
(
order
,
"State"
,
"
AfterQuantity"
,
"
LastModificationTime"
);
if
(!(
row
>
0
&&
await
logTask
))
if
(!(
row
>
0
&&
await
logTask
))
isSuccess
=
false
;
isSuccess
=
false
;
}
}
...
...
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