Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
FTT_Board
Project
Project
Details
Activity
Releases
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
Administrator
FTT_Board
Commits
c57b3af1
Commit
c57b3af1
authored
May 15, 2020
by
朱天博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.车间看板
parent
512d54cd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
9 deletions
+20
-9
.gitignore
.gitignore
+6
-0
FactoryBoardController.cs
...d/FTT.Board.Api/Controllers/API/FactoryBoardController.cs
+9
-9
FactoryBoard.cs
FTT.Board/FTT.Board.Api/Models/FactoryBoard.cs
+5
-0
No files found.
.gitignore
View file @
c57b3af1
...
@@ -15,3 +15,9 @@
...
@@ -15,3 +15,9 @@
/FTT.Board.VueUI/board
/FTT.Board.VueUI/board
/Product
/Product
/MTM-zby
/MTM-zby
/FTT.Board/.vs/FTT.Board/v16/Server/sqlite3/storage.ide-wal
/FTT.Board/.vs/FTT.Board/v16/Server/sqlite3/storage.ide-shm
/FTT.Board/.vs/FTT.Board/v16/Server/sqlite3/storage.ide
/FTT.Board/.vs/FTT.Board/v16/Server/sqlite3/db.lock
/FTT.Board/.vs/FTT.Board/v16/.suo
/FTT.Board/.vs/FTT.Board/config/applicationhost.config
FTT.Board/FTT.Board.Api/Controllers/API/FactoryBoardController.cs
View file @
c57b3af1
...
@@ -17,7 +17,7 @@ namespace FTT.Board.Controllers.API
...
@@ -17,7 +17,7 @@ namespace FTT.Board.Controllers.API
public
ModuleModel
ModuleName
=>
ModuleModel
.
MES
;
public
ModuleModel
ModuleName
=>
ModuleModel
.
MES
;
public
FactoryBoardZCResponse
GetZC
(
int
FactoryWorkShopTeamID
)
public
string
GetZC
(
int
FactoryWorkShopTeamID
)
{
{
FactoryBoardZCResponse
model
=
new
FactoryBoardZCResponse
();
FactoryBoardZCResponse
model
=
new
FactoryBoardZCResponse
();
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
...
@@ -32,10 +32,10 @@ namespace FTT.Board.Controllers.API
...
@@ -32,10 +32,10 @@ namespace FTT.Board.Controllers.API
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
return
model
;
return
model
.
ToString
()
;
}
}
public
FactoryBoardCXResponse
GetCX
(
int
FactoryWorkShopTeamID
)
public
string
GetCX
(
int
FactoryWorkShopTeamID
)
{
{
FactoryBoardCXResponse
model
=
new
FactoryBoardCXResponse
();
FactoryBoardCXResponse
model
=
new
FactoryBoardCXResponse
();
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
...
@@ -49,10 +49,10 @@ namespace FTT.Board.Controllers.API
...
@@ -49,10 +49,10 @@ namespace FTT.Board.Controllers.API
model
.
MonthStar
=
Table2Model
.
ToModel
<
MonthStar
>(
dataSet
.
Tables
[
3
]);
model
.
MonthStar
=
Table2Model
.
ToModel
<
MonthStar
>(
dataSet
.
Tables
[
3
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
return
model
;
return
model
.
ToString
()
;
}
}
public
FactoryBoardZCResponse
PostZC
(
FactoryBoardRepuest
value
)
public
string
PostZC
(
FactoryBoardRepuest
value
)
{
{
FactoryBoardZCResponse
model
=
new
FactoryBoardZCResponse
();
FactoryBoardZCResponse
model
=
new
FactoryBoardZCResponse
();
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
...
@@ -68,10 +68,10 @@ namespace FTT.Board.Controllers.API
...
@@ -68,10 +68,10 @@ namespace FTT.Board.Controllers.API
model
.
MonthStar
=
Table2Model
.
ToModel
<
MonthStar
>(
dataSet
.
Tables
[
3
]);
model
.
MonthStar
=
Table2Model
.
ToModel
<
MonthStar
>(
dataSet
.
Tables
[
3
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
return
model
;
return
model
.
ToString
()
;
}
}
public
FactoryBoardCXResponse
PostCX
(
FactoryBoardRepuest
value
)
public
string
PostCX
(
FactoryBoardRepuest
value
)
{
{
FactoryBoardCXResponse
model
=
new
FactoryBoardCXResponse
();
FactoryBoardCXResponse
model
=
new
FactoryBoardCXResponse
();
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
DataSet
dataSet
=
Dbo
.
Create
(
ModuleName
).
GetDataSet
(
"[SP_MES_FactoryWageBoardZC]"
,
new
...
@@ -87,7 +87,7 @@ namespace FTT.Board.Controllers.API
...
@@ -87,7 +87,7 @@ namespace FTT.Board.Controllers.API
model
.
MonthStar
=
Table2Model
.
ToModel
<
MonthStar
>(
dataSet
.
Tables
[
3
]);
model
.
MonthStar
=
Table2Model
.
ToModel
<
MonthStar
>(
dataSet
.
Tables
[
3
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
MonthStarIEPercent
=
Table2Model
.
ToModelList
<
MonthStarIEPercent
>(
dataSet
.
Tables
[
4
]);
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
model
.
DayYield
=
(
int
)
dataSet
.
Tables
[
5
].
Rows
[
0
][
0
];
return
model
;
return
model
.
ToString
()
;
}
}
}
}
}
}
\ No newline at end of file
FTT.Board/FTT.Board.Api/Models/FactoryBoard.cs
View file @
c57b3af1
...
@@ -125,6 +125,11 @@ namespace FTT.Board.Models
...
@@ -125,6 +125,11 @@ namespace FTT.Board.Models
/// </summary>
/// </summary>
public
class
UserWageRanking
public
class
UserWageRanking
{
{
/// <summary>
/// 排名
/// </summary>
public
int
Ranking
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 员工姓名
/// 员工姓名
/// </summary>
/// </summary>
...
...
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