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
0fd43ef2
Commit
0fd43ef2
authored
Aug 29, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature_20220222_huayi' into feature_20220222_huayi
parents
b1ce664f
c8ebc424
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 @
0fd43ef2
...
@@ -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