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
fcb91605
Commit
fcb91605
authored
May 20, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加抽取起始时间,及验证
parent
4c293338
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
performance/Performance.Api/Controllers/TemplateController.cs
+2
-1
performance/Performance.Api/wwwroot/Performance.Api.xml
+9
-3
performance/Performance.EntityModels/Entity/per_allot.cs
+5
-0
No files found.
performance/Performance.Api/Controllers/TemplateController.cs
View file @
fcb91605
...
...
@@ -221,9 +221,10 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody] ExtractRequest
//检验科室、费用类型是否需要补充
allot
.
IsExtracting
=
allot
.
IsExtracting
??
0
;
if
(
allot
.
IsExtracting
==
1
)
if
(
allot
.
IsExtracting
==
1
&&
allot
.
ExtractTime
.
HasValue
&&
DateTime
.
Now
.
AddHours
(-
3
)
<
allot
.
ExtractTime
)
return
new
ApiResponse
(
ResponseType
.
OK
,
"正在提取数据,请稍等!"
,
new
{
IsExtracting
=
true
});
allot
.
IsExtracting
=
1
;
allot
.
ExtractTime
=
DateTime
.
Now
;
allotService
.
Update
(
allot
);
string
email
=
claim
.
GetUserClaim
(
JwtClaimTypes
.
Mail
);
...
...
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
fcb91605
...
...
@@ -607,12 +607,11 @@
<param
name=
"request"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ConfigController.GetAccountingList(
System.Int32,System.Int32
)"
>
<member
name=
"M:Performance.Api.Controllers.ConfigController.GetAccountingList(
Performance.DtoModels.AccoungingRequest
)"
>
<summary>
获取cof_accounting列表
</summary>
<param
name=
"allotId"
></param>
<param
name=
"type"
>
1 返回accounting列表 2 返回核算单元类型 3 返回核算单元
</param>
<param
name=
"request"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ConfigController.AccountingInsert(Performance.EntityModels.cof_accounting)"
>
...
...
@@ -636,6 +635,13 @@
<param
name=
"accountingId"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ConfigController.AccountingVerify(System.Int32)"
>
<summary>
核算单元及组别数据验证
</summary>
<param
name=
"allotId"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ConfigController.WorkHeader(Performance.DtoModels.WorkItemRequest)"
>
<summary>
获取工作量绩效列头
...
...
performance/Performance.EntityModels/Entity/per_allot.cs
View file @
fcb91605
...
...
@@ -82,6 +82,11 @@ public class per_allot
public
Nullable
<
int
>
IsExtracting
{
get
;
set
;
}
/// <summary>
/// 数据抽取起始时间
/// </summary>
public
Nullable
<
DateTime
>
ExtractTime
{
get
;
set
;
}
/// <summary>
/// 1、人事科提交重新生成 2、生成成功 3、原始数据修改
/// </summary>
public
int
Generate
{
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