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
4b4cb98c
Commit
4b4cb98c
authored
Apr 22, 2022
by
1391696987
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手工录入数据补录列表、查看详情
parent
680b61d5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
52 additions
and
24 deletions
+52
-24
performance/Performance.Api/Controllers/EmployeeController.cs
+11
-9
performance/Performance.Api/wwwroot/Performance.Api.xml
+5
-3
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+11
-1
performance/Performance.DtoModels/AutoMapper/AutoMapperConfigs.cs
+1
-0
performance/Performance.DtoModels/PerExcel/PerSheetHeader.cs
+6
-2
performance/Performance.DtoModels/Response/GatherResponse.cs
+9
-4
performance/Performance.EntityModels/Entity/ex_result_gather.cs
+9
-5
performance/Performance.Services/EmployeeService.cs
+0
-0
No files found.
performance/Performance.Api/Controllers/EmployeeController.cs
View file @
4b4cb98c
...
@@ -858,12 +858,12 @@ public ApiResponse GetDeptComparisonTotal([FromRoute] int allotId)
...
@@ -858,12 +858,12 @@ public ApiResponse GetDeptComparisonTotal([FromRoute] int allotId)
/// <returns></returns>
/// <returns></returns>
[
Route
(
"getgatherdrop/{allotId}"
)]
[
Route
(
"getgatherdrop/{allotId}"
)]
[
HttpPost
]
[
HttpPost
]
public
ApiResponse
GetGatherDrop
([
FromRoute
]
int
allotId
)
public
ApiResponse
GetGatherDrop
([
FromRoute
]
int
allotId
,
int
userId
)
{
{
if
(
allotId
<=
0
)
if
(
allotId
<=
0
)
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"allotid无效"
);
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"allotid无效"
);
var
relust
=
employeeService
.
GetGatherDrop
(
allotId
);
var
relust
=
employeeService
.
GetGatherDrop
(
allotId
,
userId
);
return
new
ApiResponse
(
ResponseType
.
OK
,
relust
);
return
new
ApiResponse
(
ResponseType
.
OK
,
relust
);
}
}
...
@@ -914,16 +914,17 @@ public ApiResponse SaveGatherHands([FromRoute] int allotId, [FromBody] SaveGathe
...
@@ -914,16 +914,17 @@ public ApiResponse SaveGatherHands([FromRoute] int allotId, [FromBody] SaveGathe
/// <param name="allotId"></param>
/// <param name="allotId"></param>
/// <param name="department">科室</param>
/// <param name="department">科室</param>
/// <param name="source">来源</param>
/// <param name="source">来源</param>
/// <param name="category">费用类型</param>
/// <param name="request">分页</param>
/// <param name="request">分页</param>
/// <returns></returns>
/// <returns></returns>
[
Route
(
"getgather/{allotId},{
department},{sourc
e}"
)]
[
Route
(
"getgather/{allotId},{
source},{category},{createTim
e}"
)]
[
HttpPost
]
[
HttpPost
]
public
ApiResponse
GetGather
([
FromRoute
]
int
allotId
,
string
department
,
string
source
,
[
FromBody
]
PersonParamsRequest
request
)
public
ApiResponse
GetGather
([
FromRoute
]
int
allotId
,
string
department
,
string
source
,
string
category
,
[
FromBody
]
PersonParamsRequest
request
)
{
{
if
(
allotId
<=
0
||
string
.
IsNullOrEmpty
(
department
)
||
string
.
IsNullOrEmpty
(
source
)
)
if
(
allotId
<=
0
||
string
.
IsNullOrEmpty
(
source
)
||
string
.
IsNullOrEmpty
(
category
)
||
string
.
IsNullOrEmpty
(
department
)
)
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"请检查allotId
,department,source
是否正确"
);
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"请检查allotId
,source,category,department
是否正确"
);
var
result
=
employeeService
.
GetGather
(
allotId
,
department
,
source
,
request
);
var
result
=
employeeService
.
GetGather
(
allotId
,
department
,
source
,
category
,
request
);
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
...
@@ -933,16 +934,17 @@ public ApiResponse GetGather([FromRoute] int allotId, string department, string
...
@@ -933,16 +934,17 @@ public ApiResponse GetGather([FromRoute] int allotId, string department, string
/// 手工录入列表 - 汇总
/// 手工录入列表 - 汇总
/// </summary>
/// </summary>
/// <param name="allotId"></param>
/// <param name="allotId"></param>
/// <param name="userId"></param>
/// <param name="request">分页</param>
/// <param name="request">分页</param>
/// <returns></returns>
/// <returns></returns>
[
Route
(
"getgathertotal/{allotId}"
)]
[
Route
(
"getgathertotal/{allotId}"
)]
[
HttpPost
]
[
HttpPost
]
public
ApiResponse
GetGatherTotal
([
FromRoute
]
int
allotId
,
[
FromBody
]
PersonParamsRequest
request
)
public
ApiResponse
GetGatherTotal
([
FromRoute
]
int
allotId
,
int
userId
,
[
FromBody
]
PersonParamsRequest
request
)
{
{
if
(
allotId
<=
0
)
if
(
allotId
<=
0
)
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"allotid无效"
);
return
new
ApiResponse
(
ResponseType
.
Fail
,
"参数错误"
,
"allotid无效"
);
var
result
=
employeeService
.
GetGatherTotal
(
allotId
,
request
);
var
result
=
employeeService
.
GetGatherTotal
(
allotId
,
userId
,
request
);
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
}
}
...
...
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
4b4cb98c
...
@@ -1356,7 +1356,7 @@
...
@@ -1356,7 +1356,7 @@
<param
name=
"allotId"
></param>
<param
name=
"allotId"
></param>
<returns></returns>
<returns></returns>
</member>
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetGatherDrop(System.Int32)"
>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetGatherDrop(System.Int32
,System.Int32
)"
>
<summary>
<summary>
手工录入 - 下拉列表
手工录入 - 下拉列表
</summary>
</summary>
...
@@ -1379,21 +1379,23 @@
...
@@ -1379,21 +1379,23 @@
<param
name=
"request"
></param>
<param
name=
"request"
></param>
<returns></returns>
<returns></returns>
</member>
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetGather(System.Int32,System.String,System.String,Performance.DtoModels.PersonParamsRequest)"
>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetGather(System.Int32,System.String,System.String,
System.String,
Performance.DtoModels.PersonParamsRequest)"
>
<summary>
<summary>
手工录入列表 - 明细
手工录入列表 - 明细
</summary>
</summary>
<param
name=
"allotId"
></param>
<param
name=
"allotId"
></param>
<param
name=
"department"
>
科室
</param>
<param
name=
"department"
>
科室
</param>
<param
name=
"source"
>
来源
</param>
<param
name=
"source"
>
来源
</param>
<param
name=
"category"
>
费用类型
</param>
<param
name=
"request"
>
分页
</param>
<param
name=
"request"
>
分页
</param>
<returns></returns>
<returns></returns>
</member>
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetGatherTotal(System.Int32,Performance.DtoModels.PersonParamsRequest)"
>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetGatherTotal(System.Int32,
System.Int32,
Performance.DtoModels.PersonParamsRequest)"
>
<summary>
<summary>
手工录入列表 - 汇总
手工录入列表 - 汇总
</summary>
</summary>
<param
name=
"allotId"
></param>
<param
name=
"allotId"
></param>
<param
name=
"userId"
></param>
<param
name=
"request"
>
分页
</param>
<param
name=
"request"
>
分页
</param>
<returns></returns>
<returns></returns>
</member>
</member>
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
4b4cb98c
...
@@ -3629,9 +3629,19 @@
...
@@ -3629,9 +3629,19 @@
创建时间
创建时间
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.AuditTime"
>
<summary>
审核时间
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.States"
>
<summary>
审核状态 0未审核 1 未通过 2 通过 3审核中
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.Remark"
>
<member
name=
"P:Performance.EntityModels.ex_result_gather.Remark"
>
<summary>
<summary>
备注
失败理由
</summary>
</summary>
</member>
</member>
<member
name=
"T:Performance.EntityModels.ex_script"
>
<member
name=
"T:Performance.EntityModels.ex_script"
>
...
...
performance/Performance.DtoModels/AutoMapper/AutoMapperConfigs.cs
View file @
4b4cb98c
...
@@ -78,6 +78,7 @@ public AutoMapperConfigs()
...
@@ -78,6 +78,7 @@ public AutoMapperConfigs()
CreateMap
<
PerDataEmployee
,
im_employee
>();
CreateMap
<
PerDataEmployee
,
im_employee
>();
CreateMap
<
im_employee
,
PerDataEmployee
>();
CreateMap
<
im_employee
,
PerDataEmployee
>();
CreateMap
<
res_baiscnorm
,
ComputerAvgRequest
>().
ReverseMap
();
CreateMap
<
res_baiscnorm
,
ComputerAvgRequest
>().
ReverseMap
();
CreateMap
<
ex_result_gather
,
GatherTotalRequest
>();
//CreateMap<PerDataAccountBaisc, PerDataAccount>()
//CreateMap<PerDataAccountBaisc, PerDataAccount>()
// .ForMember(dest => dest.AccountingUnit, opt => opt.MapFrom(src => src.AccountingUnit))
// .ForMember(dest => dest.AccountingUnit, opt => opt.MapFrom(src => src.AccountingUnit))
...
...
performance/Performance.DtoModels/PerExcel/PerSheetHeader.cs
View file @
4b4cb98c
...
@@ -104,9 +104,13 @@ public class ColumnHeadsConfig
...
@@ -104,9 +104,13 @@ public class ColumnHeadsConfig
public
static
List
<
Heads
>
GatherTotal
{
get
;
}
=
new
List
<
Heads
>
public
static
List
<
Heads
>
GatherTotal
{
get
;
}
=
new
List
<
Heads
>
{
{
new
Heads
{
Column
=
"
科室
"
,
Name
=
nameof
(
GatherTotalRequest
.
Department
)},
new
Heads
{
Column
=
"
核算组别
"
,
Name
=
nameof
(
GatherTotalRequest
.
Department
)},
new
Heads
{
Column
=
"来源"
,
Name
=
nameof
(
GatherTotalRequest
.
Source
)},
new
Heads
{
Column
=
"来源"
,
Name
=
nameof
(
GatherTotalRequest
.
Source
)},
new
Heads
{
Column
=
"费用"
,
Name
=
nameof
(
GatherTotalRequest
.
Fee
)}
new
Heads
{
Column
=
"核算项目"
,
Name
=
nameof
(
GatherTotalRequest
.
Category
)},
new
Heads
{
Column
=
"提交日期"
,
Name
=
nameof
(
GatherTotalRequest
.
CreateTime
)},
new
Heads
{
Column
=
"审核日期"
,
Name
=
nameof
(
GatherTotalRequest
.
AuditTime
)},
new
Heads
{
Column
=
"审核状态"
,
Name
=
nameof
(
GatherTotalRequest
.
States
)},
new
Heads
{
Column
=
"失败理由"
,
Name
=
nameof
(
GatherTotalRequest
.
Remark
)},
};
};
}
}
...
...
performance/Performance.DtoModels/Response/GatherResponse.cs
View file @
4b4cb98c
using
Performance.DtoModels.Request
;
using
Performance.DtoModels.Request
;
using
Performance.EntityModels
;
using
Performance.EntityModels
;
using
Performance.Infrastructure.Models
;
using
Performance.Infrastructure.Models
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
namespace
Performance.DtoModels
namespace
Performance.DtoModels
...
@@ -8,7 +9,7 @@ namespace Performance.DtoModels
...
@@ -8,7 +9,7 @@ namespace Performance.DtoModels
public
class
GatherResponse
public
class
GatherResponse
{
{
public
List
<
Heads
>
Heads
{
get
;
set
;
}
public
List
<
Heads
>
Heads
{
get
;
set
;
}
public
List
<
GatherTotalRequest
>
Datas
{
get
;
set
;
}
public
List
<
Dictionary
<
string
,
object
>
>
Datas
{
get
;
set
;
}
public
int
CurrentPage
{
get
;
set
;
}
public
int
CurrentPage
{
get
;
set
;
}
public
int
TotalPages
{
get
;
set
;
}
public
int
TotalPages
{
get
;
set
;
}
public
int
PageSize
{
get
;
set
;
}
public
int
PageSize
{
get
;
set
;
}
...
@@ -41,18 +42,22 @@ public class GatherRequest
...
@@ -41,18 +42,22 @@ public class GatherRequest
public
class
GatherTotalRequest
public
class
GatherTotalRequest
{
{
public
int
ID
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
public
string
Source
{
get
;
set
;
}
public
string
Source
{
get
;
set
;
}
public
decimal
Fee
{
get
;
set
;
}
public
string
Category
{
get
;
set
;
}
public
string
CreateTime
{
get
;
set
;
}
public
string
AuditTime
{
get
;
set
;
}
public
string
States
{
get
;
set
;
}
public
string
Remark
{
get
;
set
;
}
}
}
public
class
GatherInfoRequest
public
class
GatherInfoRequest
{
{
public
string
Source
{
get
;
set
;
}
public
string
Source
{
get
;
set
;
}
public
string
CreateTime
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
public
string
DoctorName
{
get
;
set
;
}
public
string
DoctorName
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
public
List
<
GatherInfoFee
>
Detail
{
get
;
set
;
}
public
GatherInfoFee
Detail
{
get
;
set
;
}
}
}
public
class
GatherInfoFee
public
class
GatherInfoFee
...
...
performance/Performance.EntityModels/Entity/ex_result_gather.cs
View file @
4b4cb98c
...
@@ -43,12 +43,16 @@ public class ex_result_gather
...
@@ -43,12 +43,16 @@ public class ex_result_gather
/// </summary>
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 备注
/// 审核时间
/// </summary>
public
DateTime
?
AuditTime
{
get
;
set
;
}
/// <summary>
/// 审核状态 0未审核 1 未通过 2 通过 3审核中
/// </summary>
public
int
States
{
get
;
set
;
}
/// <summary>
/// 失败理由
/// </summary>
/// </summary>
public
string
Remark
{
get
;
set
;
}
public
string
Remark
{
get
;
set
;
}
// /// <summary>
// /// 1 未通过 2 通过
// /// </summary>
// public int States { get; set; }
}
}
}
}
performance/Performance.Services/EmployeeService.cs
View file @
4b4cb98c
This diff is collapsed.
Click to expand it.
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