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
12db1c98
Commit
12db1c98
authored
Jan 22, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
82ace874
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
LocationController.cs
Server/Apis/Siger.ApiWMS/Controllers/LocationController.cs
+2
-1
No files found.
Server/Apis/Siger.ApiWMS/Controllers/LocationController.cs
View file @
12db1c98
...
@@ -981,7 +981,7 @@ namespace Siger.ApiWMS.Controllers
...
@@ -981,7 +981,7 @@ namespace Siger.ApiWMS.Controllers
update_time
=
DateTime
.
Now
,
update_time
=
DateTime
.
Now
,
projectid
=
ProjectId
,
projectid
=
ProjectId
,
status
=
req
.
status
==
(
int
)
RowState
.
Valid
?
(
int
)
RowState
.
Valid
:
(
int
)
RowState
.
Invalid
,
status
=
req
.
status
==
(
int
)
RowState
.
Valid
?
(
int
)
RowState
.
Valid
:
(
int
)
RowState
.
Invalid
,
locationid
=
req
.
storeID
.
ToInt
()
locationid
=
Location
.
id
==
locationTypeId
?
req
.
storeID
.
ToInt
()
:
0
};
};
parentid
=
InsertLocation
(
tmp
,
waveHouse
.
name
);
parentid
=
InsertLocation
(
tmp
,
waveHouse
.
name
);
if
(
parentid
>
0
)
if
(
parentid
>
0
)
...
@@ -1107,6 +1107,7 @@ namespace Siger.ApiWMS.Controllers
...
@@ -1107,6 +1107,7 @@ namespace Siger.ApiWMS.Controllers
tmp
.
realname
=
Location
.
val
;
tmp
.
realname
=
Location
.
val
;
if
(
tmp
.
parentid
==
0
)
if
(
tmp
.
parentid
==
0
)
{
{
tmp
.
locationid
=
Location
.
id
==
locationTypeId
?
req
.
storeID
.
ToInt
()
:
0
;
tmp
.
name
=
$"
{
waveHouse
.
name
}
->
{
tmp
.
realname
}
"
;
tmp
.
name
=
$"
{
waveHouse
.
name
}
->
{
tmp
.
realname
}
"
;
}
}
location
.
Update
(
tmp
);
location
.
Update
(
tmp
);
...
...
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