class TbApkVersionController extends AbstractController {
    private final TbApkVersionService tbApkVersionService;

    /**
     * 列表
     */
    @ApiOperation(value = "APK版本管理列表")
    @GetMapping("/list")
    public R list(@RequestParam Map<String, Object> params) {<FILL_FUNCTION_BODY>}


    /**
     * 新增APK版本管理
     */
    @ApiOperation(value = "新增APK版本管理数据")
    @SysLog("新增APK版本管理数据")
    @PostMapping("/save")
    public R save(@RequestBody TbApkVersion param) {
        param.setCreateTime(new Date());
        param.setUserId(getUserId());
        tbApkVersionService.save(param);
        return R.ok();
    }

    /**
     * 删除
     */
    @ApiOperation(value = "删除APK版本管理数据")
    @SysLog("删除APK版本管理数据")
    @PostMapping("/delete")
    public R delete(@RequestBody TbApkVersion param) {
        if(param.getId() == null){
            return R.error("ID为空");
        }
        tbApkVersionService.removeById(param.getId());
        return R.ok();
    }

}

        //查询列表数据
        QueryWrapper<TbApkVersion> queryWrapper = new QueryWrapper<>();
        final String keyword = mpPageConvert.getKeyword(params);
        if (StrUtil.isNotEmpty(keyword)) {
            queryWrapper.lambda().and(func -> func.like(TbApkVersion::getUpdateContent,keyword));
        }
        queryWrapper.lambda().orderByDesc(TbApkVersion::getCreateTime);
        IPage<TbApkVersion> listPage = tbApkVersionService.page(mpPageConvert.<TbApkVersion>pageParamConvert(params), queryWrapper);
        return R.ok().setData(listPage);
    
<methods>public non-sealed void <init>() <variables>protected com.suke.czx.common.utils.MPPageConvert mpPageConvert,public com.fasterxml.jackson.databind.ObjectMapper objectMapper