Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
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
jiawei.su
Laisi_AutoMES2
Commits
bb93ee5d
Commit
bb93ee5d
authored
Jan 20, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some update
parent
4835419a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
LocationController.cs
Server/Apis/Siger.ApiWMS/Controllers/LocationController.cs
+1
-1
No files found.
Server/Apis/Siger.ApiWMS/Controllers/LocationController.cs
View file @
bb93ee5d
...
@@ -897,7 +897,7 @@ namespace Siger.ApiWMS.Controllers
...
@@ -897,7 +897,7 @@ namespace Siger.ApiWMS.Controllers
[
HttpPost
]
[
HttpPost
]
public
IActionResult
AddLocation
([
FromBody
]
RequestAddLocationModel
req
)
public
IActionResult
AddLocation
([
FromBody
]
RequestAddLocationModel
req
)
{
{
if
(
req
.
storeID
.
ToInt
()
<=
0
||
req
.
locations
==
null
||
!
req
.
locations
.
Any
()
||
req
.
warehouseid
<=
0
)
if
(
req
.
storeID
.
ToInt
()
<=
0
||
req
.
locations
==
null
||
!
req
.
locations
.
Any
()
||
req
.
warehouseid
<=
0
)
{
{
throw
new
BadRequestException
(
RequestEnum
.
ParameterError
);
throw
new
BadRequestException
(
RequestEnum
.
ParameterError
);
...
...
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