Search in sources :

Example 1 with PictureType

use of com.ikoori.vip.common.persistence.model.PictureType in project vip by guangdada.

the class PictureTypeController method pictureTypeUpdate.

/**
 * 跳转到修改图片类型
 */
@Permission
@RequestMapping("/pictureType_update/{pictureTypeId}")
public String pictureTypeUpdate(@PathVariable Long pictureTypeId, Model model) {
    PictureType pictureType = pictureTypeService.selectById(pictureTypeId);
    model.addAttribute(pictureType);
    return PREFIX + "pictureType_edit.html";
}
Also used : PictureType(com.ikoori.vip.common.persistence.model.PictureType) Permission(com.ikoori.vip.common.annotion.Permission) RequestMapping(org.springframework.web.bind.annotation.RequestMapping)

Aggregations

Permission (com.ikoori.vip.common.annotion.Permission)1 PictureType (com.ikoori.vip.common.persistence.model.PictureType)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1