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
d917feec
Commit
d917feec
authored
Jun 29, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改获取指标最大id逻辑
parent
bd149411
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
IndicatorsDefCtrl.java
...keymobile/indicators/api/hytobacco/IndicatorsDefCtrl.java
+8
-2
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/IndicatorsDefCtrl.java
View file @
d917feec
...
...
@@ -35,7 +35,10 @@ public class IndicatorsDefCtrl {
@ApiOperation
(
value
=
"获取基础指标最大id"
,
notes
=
"获取基础指标最大id"
)
@PostMapping
(
value
=
"/getBaseIndMaxId"
)
public
String
getBaseIndMaxId
(
@RequestParam
String
code
,
@RequestParam
Integer
length
)
throws
Exception
{
@RequestParam
(
required
=
false
)
Integer
length
)
throws
Exception
{
if
(
length
==
null
)
{
length
=
code
.
length
()+
7
;
}
return
baseIndDefService
.
getBaseIndMaxIndId
(
code
,
length
);
}
...
...
@@ -70,7 +73,10 @@ public class IndicatorsDefCtrl {
@ApiOperation
(
value
=
"获取考核指标最大id"
,
notes
=
"获取考核指标最大id"
)
@PostMapping
(
value
=
"/getDriveIndMaxId"
)
public
String
getDriveIndMaxId
(
@RequestParam
String
code
,
@RequestParam
Integer
length
)
throws
Exception
{
@RequestParam
(
required
=
false
)
Integer
length
)
throws
Exception
{
if
(
length
==
null
)
{
length
=
code
.
length
()+
7
;
}
return
driveIndDefService
.
getDriveIndMaxIndId
(
code
,
length
);
}
...
...
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