Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangkb
indicators
Commits
65006aa2
Commit
65006aa2
authored
Feb 26, 2021
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增数据项申请删除功能
parent
6adaece1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
IndicatorsDefAuditCtrl.java
...bile/indicators/api/hytobacco/IndicatorsDefAuditCtrl.java
+7
-0
IndicatorsDefAuditService.java
...dicators/service/hytobacco/IndicatorsDefAuditService.java
+5
-0
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/IndicatorsDefAuditCtrl.java
View file @
65006aa2
...
@@ -66,9 +66,16 @@ public class IndicatorsDefAuditCtrl {
...
@@ -66,9 +66,16 @@ public class IndicatorsDefAuditCtrl {
public
String
getAuditCount
(
@RequestParam
Integer
status
){
public
String
getAuditCount
(
@RequestParam
Integer
status
){
return
indicatorsDefAuditService
.
getAuditCount
(
status
);
return
indicatorsDefAuditService
.
getAuditCount
(
status
);
}
}
@ApiOperation
(
value
=
"通过id删除"
)
@GetMapping
(
"/delete"
)
public
Result
delete
(
@RequestParam
String
indId
){
return
indicatorsDefAuditService
.
deleteById
(
indId
);
}
@ApiOperation
(
value
=
"获取审核意见"
)
@ApiOperation
(
value
=
"获取审核意见"
)
@GetMapping
(
"/findAuditRecord"
)
@GetMapping
(
"/findAuditRecord"
)
public
List
<
BaseIndDefRecord
>
findAuditRecord
(
@RequestParam
String
indId
){
public
List
<
BaseIndDefRecord
>
findAuditRecord
(
@RequestParam
String
indId
){
return
indicatorsDefAuditService
.
findAuditRecord
(
indId
);
return
indicatorsDefAuditService
.
findAuditRecord
(
indId
);
}
}
}
}
src/main/java/com/keymobile/indicators/service/hytobacco/IndicatorsDefAuditService.java
View file @
65006aa2
...
@@ -147,4 +147,9 @@ public class IndicatorsDefAuditService {
...
@@ -147,4 +147,9 @@ public class IndicatorsDefAuditService {
baseIndDefRecord
.
setIndId
(
indId
);
baseIndDefRecord
.
setIndId
(
indId
);
return
baseIndDefRecordMapper
.
select
(
baseIndDefRecord
);
return
baseIndDefRecordMapper
.
select
(
baseIndDefRecord
);
}
}
public
Result
deleteById
(
String
indId
)
{
indicatorsDefAuditMapper
.
deleteByPrimaryKey
(
indId
);
return
Result
.
genOkResult
();
}
}
}
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