Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
c8ebc424
Commit
c8ebc424
authored
Aug 25, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除草稿
parent
bfcc235e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
+10
-0
No files found.
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
View file @
c8ebc424
...
@@ -4,6 +4,7 @@ package cn.timer.api.controller.spmk;
...
@@ -4,6 +4,7 @@ package cn.timer.api.controller.spmk;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.*
;
import
java.util.*
;
import
cn.timer.api.bean.crm.CrmClientContacts
;
import
cn.timer.api.bean.spmk.*
;
import
cn.timer.api.bean.spmk.*
;
import
cn.timer.api.bean.zzgl.ZzglAuth
;
import
cn.timer.api.bean.zzgl.ZzglAuth
;
import
cn.timer.api.dao.spmk.*
;
import
cn.timer.api.dao.spmk.*
;
...
@@ -1317,4 +1318,13 @@ public class SpmkController {
...
@@ -1317,4 +1318,13 @@ public class SpmkController {
List
<
SpmkApproveDrafts
>
listAs
=
pageAs
.
getRecords
();
List
<
SpmkApproveDrafts
>
listAs
=
pageAs
.
getRecords
();
return
ResultUtil
.
data
(
pageAs
,
listAs
);
return
ResultUtil
.
data
(
pageAs
,
listAs
);
}
}
@PostMapping
(
value
=
"/del_drafts"
)
@ApiOperation
(
value
=
"删除草稿"
,
httpMethod
=
"POST"
,
notes
=
"删除草稿"
)
@Log
(
title
=
"审批-删除草稿"
,
businessType
=
BusinessType
.
OTHER
)
public
Result
<
Object
>
myDrafts
(
@CurrentUser
UserBean
userBean
,
@RequestBody
SpmkApproveDrafts
spmkApproveDrafts
)
{
SpmkApproveDrafts
drafts
=
SpmkApproveDrafts
.
builder
().
id
(
spmkApproveDrafts
.
getId
()).
build
().
selectById
();
SpmkApproveDetailDrafts
.
builder
().
build
().
delete
(
new
QueryWrapper
<
SpmkApproveDetailDrafts
>().
lambda
().
eq
(
SpmkApproveDetailDrafts:
:
getApproveSummaryId
,
drafts
.
getId
()));
drafts
.
deleteById
();
return
ResultUtil
.
data
(
"删除成功"
);
}
}
}
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