| | |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入gdFlyer") |
| | | public R submit(@Valid @RequestBody GdFlyerAddParam gdFlyer) { |
| | | return R.status(gdFlyerService.saveOrUpdate(GenericConverter.convert(gdFlyer, GdFlyerEntity.class))); |
| | | return R.status(gdFlyerService.saveOrUpdateFlyer(GenericConverter.convert(gdFlyer, GdFlyerEntity.class))); |
| | | } |
| | | |
| | | /** |
| | |
| | | return R.status(gdFlyerService.deleteLogic(Func.toLongList(ids))); |
| | | } |
| | | |
| | | /** |
| | | * 查询全部飞手flyer_id集合(过滤已删除) |
| | | */ |
| | | @GetMapping("/allFlyerIds") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "查询全部飞手flyer_id集合", notes = "仅返回未删除飞手的flyer_id") |
| | | public R<List<String>> allFlyerIds() { |
| | | return R.data(gdFlyerService.selectAllFlyerIds()); |
| | | } |
| | | |
| | | } |