Commit 7d951dd7 by zhangkb

修改考核指标id生成逻辑

parent d917feec
...@@ -75,7 +75,7 @@ public class IndicatorsDefCtrl { ...@@ -75,7 +75,7 @@ public class IndicatorsDefCtrl {
public String getDriveIndMaxId(@RequestParam String code, public String getDriveIndMaxId(@RequestParam String code,
@RequestParam(required=false) Integer length) throws Exception{ @RequestParam(required=false) Integer length) throws Exception{
if(length==null) { if(length==null) {
length = code.length()+7; length = code.length()+8;
} }
return driveIndDefService.getDriveIndMaxIndId(code, length); return driveIndDefService.getDriveIndMaxIndId(code, length);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment