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
5160e0cc
Commit
5160e0cc
authored
Jun 15, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除划拨记录
parent
8d666ae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
performance/Performance.Services/CostTransfer/CostTransferService.cs
+23
-2
No files found.
performance/Performance.Services/CostTransfer/CostTransferService.cs
View file @
5160e0cc
...
@@ -172,9 +172,21 @@ public void UpdateApplicat(CostTransferUpdateRequest request)
...
@@ -172,9 +172,21 @@ public void UpdateApplicat(CostTransferUpdateRequest request)
/// <summary>
/// <summary>
/// 删除划拨申请记录
/// 删除划拨申请记录
/// </summary>
/// </summary>
public
void
DeleteApplicat
()
public
void
DeleteApplicat
(
int
transferId
)
{
{
var
transfer
=
costtransferRepository
.
GetEntity
(
t
=>
t
.
Id
==
transferId
);
if
(
transfer
==
null
)
throw
new
PerformanceException
(
"划拨申请记录不存在"
);
var
result
=
costtransferRepository
.
Update
(
transfer
);
if
(!
result
)
throw
new
PerformanceException
(
"删除划拨申请记录失败"
);
var
items
=
costtransferitemRepository
.
GetEntities
(
t
=>
t
.
TransferId
==
transferId
);
if
(
items
!=
null
&&
items
.
Any
())
{
costtransferitemRepository
.
RemoveRange
(
items
.
ToArray
());
}
}
}
/// <summary>
/// <summary>
...
@@ -188,8 +200,17 @@ public void CostTransferAudit()
...
@@ -188,8 +200,17 @@ public void CostTransferAudit()
/// <summary>
/// <summary>
/// 下发驳回
/// 下发驳回
/// </summary>
/// </summary>
public
bool
RejectedApplicat
()
/// <param name="allotId"></param>
/// <param name="transferId"></param>
/// <param name="issue"></param>
/// <returns></returns>
public
bool
RejectedApplicat
(
int
allotId
,
int
transferId
=
0
,
bool
issue
=
false
)
{
{
if
(
issue
)
{
}
return
false
;
return
false
;
}
}
...
...
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