| | |
| | | return new Response<Map<Integer, Map<Integer, List<AppAlmParam>>>>().set(1,map); |
| | | } |
| | | |
| | | @GetMapping("allList2") |
| | | @ApiOperation(value = "查询参数列表") |
| | | public Response<List<AppAlmParam>> getAllList2(){ |
| | | List<AppAlmParam> list = service.getAllList2(); |
| | | return new Response<List<AppAlmParam>>().set(1,list); |
| | | } |
| | | |
| | | @PutMapping("list") |
| | | @ApiOperation(value = "添加或者移除参数配置") |
| | | public Response updateList(@RequestParam int operationFlag,@RequestBody List<AppAlmParam> paramList){ |
| | |
| | | public void updateList2(List<AppAlmParam> paramList) { |
| | | mapper.updateList2(paramList); |
| | | } |
| | | |
| | | public List<AppAlmParam> getAllList2() { |
| | | return mapper.selectList(null); |
| | | } |
| | | } |