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
7db0ab8d
Commit
7db0ab8d
authored
Jan 20, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
c970c015
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
LocationController.cs
Server/Apis/Siger.ApiWMS/Controllers/LocationController.cs
+8
-8
ResponseLocationList.cs
...iddlelayer.WmsRepository/Response/ResponseLocationList.cs
+14
-5
No files found.
Server/Apis/Siger.ApiWMS/Controllers/LocationController.cs
View file @
7db0ab8d
...
...
@@ -424,10 +424,10 @@ namespace Siger.ApiWMS.Controllers
var
locatype
=
locationType
.
FirstOrDefault
(
q
=>
q
.
id
==
item
.
typeid
);
tmp
.
field
.
Add
(
new
FiledName
{
id
=
item
.
id
,
name
=
item
.
realname
,
type
id
=
item
.
typeid
,
type
name
=
locatype
?.
name
??
""
location
id
=
item
.
id
,
val
=
item
.
realname
,
id
=
item
.
typeid
,
name
=
locatype
?.
name
??
""
});
while
(
pid
!=
0
)
{
...
...
@@ -442,10 +442,10 @@ namespace Siger.ApiWMS.Controllers
locatype
=
locationType
.
FirstOrDefault
(
q
=>
q
.
id
==
entity
.
typeid
);
tmp
.
field
.
Add
(
new
FiledName
{
id
=
entity
.
id
,
name
=
entity
.
realname
,
type
id
=
entity
.
typeid
,
type
name
=
locatype
?.
name
??
""
location
id
=
entity
.
id
,
val
=
entity
.
realname
,
id
=
entity
.
typeid
,
name
=
locatype
?.
name
??
""
});
pid
=
entity
.
parentid
;
...
...
Server/Infrastructure/Repositories/Siger.Middlelayer.WmsRepository/Response/ResponseLocationList.cs
View file @
7db0ab8d
...
...
@@ -18,12 +18,21 @@ namespace Siger.Middlelayer.WmsRepository.Response
public
class
FiledName
{
/// <summary>
/// 储位自增ID
/// </summary>
public
int
locationid
{
get
;
set
;
}
/// <summary>
/// 储位名称
/// </summary>
public
string
val
{
get
;
set
;
}
/// <summary>
/// 类别ID
/// </summary>
public
int
id
{
get
;
set
;
}
/// <summary>
/// 类别名称
/// </summary>
public
string
name
{
get
;
set
;
}
public
int
typeid
{
get
;
set
;
}
public
string
typename
{
get
;
set
;
}
}
}
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