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
ac84e1b6
Commit
ac84e1b6
authored
Jan 22, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some update
parent
b94eaca4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
AutomationLocationController.cs
.../Siger.ApiACC/Controllers/AutomationLocationController.cs
+6
-6
AutomationFixtureToolsProductRepository.cs
...y/Repositories/AutomationFixtureToolsProductRepository.cs
+1
-1
No files found.
Server/Apis/Siger.ApiACC/Controllers/AutomationLocationController.cs
View file @
ac84e1b6
...
@@ -90,9 +90,9 @@ namespace Siger.ApiACC.Controllers
...
@@ -90,9 +90,9 @@ namespace Siger.ApiACC.Controllers
guid
=
Guid
.
NewGuid
().
ToString
(),
guid
=
Guid
.
NewGuid
().
ToString
(),
locationid
=
req
.
locationid
.
ToInt
(),
locationid
=
req
.
locationid
.
ToInt
(),
fixturetools
=
fixturetool
.
guid
,
fixturetools
=
fixturetool
.
guid
,
materialid
=
req
.
materialid
.
ToInt
(),
//
materialid = req.materialid.ToInt(),
processid
=
req
.
processid
.
ToInt
(),
//
processid = req.processid.ToInt(),
materialstate
=
state
,
//
materialstate = state,
attachment
=
req
.
fileurl
,
attachment
=
req
.
fileurl
,
filename
=
req
.
filename
,
filename
=
req
.
filename
,
remark
=
req
.
remark
,
remark
=
req
.
remark
,
...
@@ -156,9 +156,9 @@ namespace Siger.ApiACC.Controllers
...
@@ -156,9 +156,9 @@ namespace Siger.ApiACC.Controllers
}
}
entity
.
locationid
=
req
.
locationid
.
ToInt
();
entity
.
locationid
=
req
.
locationid
.
ToInt
();
entity
.
fixturetools
=
fixturetool
.
guid
;
entity
.
fixturetools
=
fixturetool
.
guid
;
entity
.
materialid
=
req
.
materialid
.
ToInt
();
//
entity.materialid = req.materialid.ToInt();
entity
.
processid
=
req
.
processid
.
ToInt
();
//
entity.processid = req.processid.ToInt();
entity
.
materialstate
=
state
;
//
entity.materialstate = state;
entity
.
attachment
=
req
.
fileurl
;
entity
.
attachment
=
req
.
fileurl
;
entity
.
filename
=
req
.
filename
;
entity
.
filename
=
req
.
filename
;
entity
.
remark
=
req
.
remark
;
entity
.
remark
=
req
.
remark
;
...
...
Server/Infrastructure/Repositories/Siger.Middlelayer.AccRepository/Repositories/AutomationFixtureToolsProductRepository.cs
View file @
ac84e1b6
...
@@ -40,7 +40,7 @@ namespace Siger.Middlelayer.AccRepository.Repositories
...
@@ -40,7 +40,7 @@ namespace Siger.Middlelayer.AccRepository.Repositories
productname
=
p
.
name
,
productname
=
p
.
name
,
remark
=
q
.
remark
,
remark
=
q
.
remark
,
updator
=
u
.
name
??
""
,
updator
=
u
.
name
??
""
,
updatetime
=
q
.
updatetime
.
HasValue
&&
q
.
updatetime
>
DateTime
.
MinValue
?
q
.
updatetime
.
Value
.
ToString
(
ParameterConstant
.
DateTimeFormat
)
:
""
,
updatetime
=
q
.
updatetime
.
HasValue
&&
q
.
updatetime
>
DateTime
.
MinValue
?
q
.
updatetime
.
Value
.
ToString
(
ParameterConstant
.
DateTimeFormat
)
:
""
,
fileurl
=
q
.
attachment
,
fileurl
=
q
.
attachment
,
filename
=
q
.
filename
filename
=
q
.
filename
};
};
...
...
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