Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
3670ee0e
Commit
3670ee0e
authored
Dec 04, 2024
by
wyc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考核类型添加备注字段
parent
d0d91b94
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletions
+27
-1
performance/Performance.EntityModels/Entity/per_attendance_type.cs
+8
-0
performance/Performance.EntityModels/Other/view_attendance.cs
+8
-0
performance/Performance.Services/AttendanceService.cs
+8
-0
performance/Performance.Services/CopyService.cs
+3
-1
No files found.
performance/Performance.EntityModels/Entity/per_attendance_type.cs
View file @
3670ee0e
...
...
@@ -32,5 +32,13 @@ public class per_attendance_type
/// 备注03
/// </summary>
public
string
RemarksThree
{
get
;
set
;
}
/// <summary>
/// 备注04
/// </summary>
public
string
RemarksFour
{
get
;
set
;
}
/// <summary>
/// 备注05
/// </summary>
public
string
RemarksFive
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Other/view_attendance.cs
View file @
3670ee0e
...
...
@@ -97,5 +97,13 @@ public class AttendanceType
/// 备注03
/// </summary>
public
string
RemarksThree
{
get
;
set
;
}
/// <summary>
/// 备注04
/// </summary>
public
string
RemarksFour
{
get
;
set
;
}
/// <summary>
/// 备注05
/// </summary>
public
string
RemarksFive
{
get
;
set
;
}
}
}
performance/Performance.Services/AttendanceService.cs
View file @
3670ee0e
...
...
@@ -515,6 +515,8 @@ public ApiResponse AttendanceClearAll(int allotId)
(
nameof
(
per_attendance_type
.
RemarksOne
),
"备注01"
,
t
=>
t
.
RemarksOne
),
(
nameof
(
per_attendance_type
.
RemarksTwo
),
"备注02"
,
t
=>
t
.
RemarksTwo
),
(
nameof
(
per_attendance_type
.
RemarksThree
),
"备注03"
,
t
=>
t
.
RemarksThree
),
(
nameof
(
per_attendance_type
.
RemarksFour
),
"备注04"
,
t
=>
t
.
RemarksFour
),
(
nameof
(
per_attendance_type
.
RemarksFive
),
"备注05"
,
t
=>
t
.
RemarksFive
),
};
#
endregion
...
...
@@ -554,6 +556,8 @@ public ApiResponse<AttendanceType> InsertAttendanceType(int allotId, AttendanceT
per_Attendance_Type
.
RemarksOne
=
attendanceType
.
RemarksOne
;
per_Attendance_Type
.
RemarksTwo
=
attendanceType
.
RemarksTwo
;
per_Attendance_Type
.
RemarksThree
=
attendanceType
.
RemarksThree
;
per_Attendance_Type
.
RemarksFour
=
attendanceType
.
RemarksFour
;
per_Attendance_Type
.
RemarksFive
=
attendanceType
.
RemarksFive
;
if
(
perfoPperAttendanceTypeRepository
.
Update
(
per_Attendance_Type
))
return
new
ApiResponse
<
AttendanceType
>(
ResponseType
.
OK
,
"修改成功"
);
...
...
@@ -571,6 +575,8 @@ public ApiResponse<AttendanceType> InsertAttendanceType(int allotId, AttendanceT
RemarksOne
=
attendanceType
.
RemarksOne
,
RemarksTwo
=
attendanceType
.
RemarksTwo
,
RemarksThree
=
attendanceType
.
RemarksThree
,
RemarksFour
=
attendanceType
.
RemarksFour
,
RemarksFive
=
attendanceType
.
RemarksFive
,
};
if
(
perfoPperAttendanceTypeRepository
.
Add
(
per_Attendance_Type
))
return
new
ApiResponse
<
AttendanceType
>(
ResponseType
.
OK
,
"添加成功"
);
...
...
@@ -629,6 +635,8 @@ public HandsonTableBase GetAttendanceTypeHandsonTable(int allotId)
t
.
RemarksOne
,
t
.
RemarksTwo
,
t
.
RemarksThree
,
t
.
RemarksFour
,
t
.
RemarksFive
,
});
if
(!
convertDate
.
Any
())
return
handson
;
...
...
performance/Performance.Services/CopyService.cs
View file @
3670ee0e
...
...
@@ -356,7 +356,9 @@ public void Copy_AttendanceType(per_allot allot, int prevAllotId)
IsDefault
=
IsDefault
?
0
:
prevAttType
.
IsDefault
,
RemarksOne
=
prevAttType
.
RemarksOne
,
RemarksTwo
=
prevAttType
.
RemarksTwo
,
RemarksThree
=
prevAttType
.
RemarksThree
RemarksThree
=
prevAttType
.
RemarksThree
,
RemarksFour
=
prevAttType
.
RemarksFour
,
RemarksFive
=
prevAttType
.
RemarksFive
};
perAttendanceTypeList
.
Add
(
newAttType
);
...
...
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