    @RequestMapping(value = "/insert",method = RequestMethod.POST)
    @ApiOperation("训练课信息插入")
    public int insert(Training record){
        record.setTrainingid(UUID.randomUUID().toString());
       return trainingService.insert(record);
    }
    @ResponseBody
    @RequestMapping(value = "/update",method = RequestMethod.POST)
    @ApiOperation("更新")
    public int updateByPrimaryKeySelective(Training record){
        return trainingService.updateByPrimaryKeySelective(record);