Commit d3c6214b authored by zhanghonggang's avatar zhanghonggang

转换异常修改

parent 55112575
...@@ -71,7 +71,7 @@ public class FhjwQuestionController { ...@@ -71,7 +71,7 @@ public class FhjwQuestionController {
@ApiImplicitParam(name = "tempId", value = "模版ID", paramType = "query", required = true, dataType="String") , @ApiImplicitParam(name = "tempId", value = "模版ID", paramType = "query", required = true, dataType="String") ,
}) })
public Result<List<FhjwQuestionDTO>> getQuestionList(@ApiIgnore @RequestParam Map<String, Object> params){ public Result<List<FhjwQuestionDTO>> getQuestionList(@ApiIgnore @RequestParam Map<String, Object> params){
Long tempId = params.get("tempId") == null?0L:(Long)params.get("tempId") ; Long tempId = params.get("tempId") == null?0L:Long.parseLong((String)params.get("tempId"));
List<FhjwQuestionDTO> data = fhjwQuestionService.getQuestionList(tempId); List<FhjwQuestionDTO> data = fhjwQuestionService.getQuestionList(tempId);
return new Result<List<FhjwQuestionDTO>>().ok(data); return new Result<List<FhjwQuestionDTO>>().ok(data);
......
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