Commit ce440186 by 张祺

修改分析指标根据指标id获取的方法

parent 706bf4cd
......@@ -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);
}
}
......@@ -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);
......
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