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
ce440186
Commit
ce440186
authored
Apr 16, 2020
by
张祺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分析指标根据指标id获取的方法
parent
706bf4cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
IndAcsDefCtrl.java
...va/com/keymobile/indicators/api/cmbkpi/IndAcsDefCtrl.java
+1
-1
IndAcsDefService.java
...keymobile/indicators/service/cmbkpi/IndAcsDefService.java
+1
-1
No files found.
src/main/java/com/keymobile/indicators/api/cmbkpi/IndAcsDefCtrl.java
View file @
ce440186
...
...
@@ -37,7 +37,7 @@ public class IndAcsDefCtrl {
@ApiOperation
(
value
=
"根据指标id(编码)获取分析指标"
,
notes
=
"根据指标id(编码)获取分析指标"
)
@PostMapping
(
value
=
"/getById"
)
public
IndAcsDef
getById
(
@RequestParam
(
"id"
)
Integer
id
){
public
IndAcsDef
getById
(
@RequestParam
(
"id"
)
String
id
){
return
indAcsDefService
.
getById
(
id
);
}
}
src/main/java/com/keymobile/indicators/service/cmbkpi/IndAcsDefService.java
View file @
ce440186
...
...
@@ -17,7 +17,7 @@ public class IndAcsDefService {
return
indAcsDefMapper
.
getAll
();
}
public
IndAcsDef
getById
(
Integer
id
)
{
public
IndAcsDef
getById
(
String
id
)
{
IndAcsDef
def
=
new
IndAcsDef
();
def
.
setIndId
(
id
);
return
indAcsDefMapper
.
selectOne
(
def
);
...
...
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