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
01de2b23
Commit
01de2b23
authored
Jan 26, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
24c5b8ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
FixtureToolsAssemblyController.cs
...iger.ApiACC/Controllers/FixtureToolsAssemblyController.cs
+3
-0
FixtureTools.cs
.../Siger.Middlelayer.Utility/ImportEntities/FixtureTools.cs
+6
-0
AutomationFixtureToolsAssemblyRepository.cs
.../Repositories/AutomationFixtureToolsAssemblyRepository.cs
+2
-1
FixtureToolsCategory.cs
...iddlelayer.AccRepository/Response/FixtureToolsCategory.cs
+1
-0
No files found.
Server/Apis/Siger.ApiACC/Controllers/FixtureToolsAssemblyController.cs
View file @
01de2b23
...
...
@@ -101,6 +101,7 @@ namespace Siger.ApiACC.Controllers
ParentPartNumber
=
item
.
partnumber
,
ParentFixtureTool
=
item
.
name
,
ParentSpecfication
=
item
.
specfication
,
ParentCode
=
item
.
code
,
Category
=
""
,
FixtureTool
=
""
,
PartNumber
=
""
,
...
...
@@ -120,10 +121,12 @@ namespace Siger.ApiACC.Controllers
ParentPartNumber
=
son
.
parentpartnumber
,
ParentFixtureTool
=
son
.
parentname
,
ParentSpecfication
=
son
.
parentspecfication
,
ParentCode
=
item
.
parentcode
,
Category
=
son
.
category
,
FixtureTool
=
son
.
name
,
PartNumber
=
son
.
partnumber
,
Specfication
=
son
.
specfication
,
Code
=
son
.
code
,
Status
=
son
.
status
==
(
int
)
RowState
.
Valid
?
"可用"
:
"停用"
,
Remark
=
son
.
remark
,
Updator
=
son
.
updator
,
...
...
Server/Common/Siger.Middlelayer.Utility/ImportEntities/FixtureTools.cs
View file @
01de2b23
...
...
@@ -148,6 +148,9 @@ namespace Siger.Middlelayer.Utility.ImportEntities
[
ExcelColumn
(
"父工装规格"
)]
public
string
ParentSpecfication
{
get
;
set
;
}
[
ExcelColumn
(
"父工装编号"
)]
public
string
ParentCode
{
get
;
set
;
}
[
ExcelColumn
(
"子工装类型"
)]
public
string
Category
{
get
;
set
;
}
...
...
@@ -160,6 +163,9 @@ namespace Siger.Middlelayer.Utility.ImportEntities
[
ExcelColumn
(
"子工装规格"
)]
public
string
Specfication
{
get
;
set
;
}
[
ExcelColumn
(
"子工装编号"
)]
public
string
Code
{
get
;
set
;
}
[
ExcelColumn
(
"状态"
)]
public
string
Status
{
get
;
set
;
}
...
...
Server/Infrastructure/Repositories/Siger.Middlelayer.AccRepository/Repositories/AutomationFixtureToolsAssemblyRepository.cs
View file @
01de2b23
...
...
@@ -61,7 +61,8 @@ namespace Siger.Middlelayer.AccRepository.Repositories
parentcategoryid
=
c1
==
null
?
0
:
c1
.
id
,
parentcategory
=
c1
.
name
??
""
,
parentpartnumber
=
t1
.
partnumber
??
""
,
parentspecfication
=
t1
.
specification
??
""
parentspecfication
=
t1
.
specification
??
""
,
parentcode
=
t1
.
code
??
""
};
Expression
<
Func
<
ResponseAumationFixtureToolsAssembly
,
bool
>>
categoryExpression
=
f
=>
true
;
if
(
category
>
0
)
...
...
Server/Infrastructure/Repositories/Siger.Middlelayer.AccRepository/Response/FixtureToolsCategory.cs
View file @
01de2b23
...
...
@@ -152,5 +152,6 @@ namespace Siger.Middlelayer.AccRepository.Response
public
string
parentcategory
{
get
;
set
;
}
public
string
parentpartnumber
{
get
;
set
;
}
public
string
parentspecfication
{
get
;
set
;
}
public
string
parentcode
{
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