接口 UpdateController<Id extends Serializable,Entity extends SuperEntity<Id>,UpdateVO>

类型参数:
Entity - 实体
UpdateVO - 修改参数
所有超级接口:
BaseController<Id,Entity>
所有已知实现类:
SuperCacheController, SuperController, SuperExcelController, SuperWriteController

public interface UpdateController<Id extends Serializable,Entity extends SuperEntity<Id>,UpdateVO> extends BaseController<Id,Entity>
修改Controller
作者:
zuihou
  • 方法详细资料

    • update

      @PutMapping @WebLog(value="\'\u4fee\u6539:\' + #updateVO?.id", request=false) default R<Entity> update(@RequestBody @Validated(top.tangyh.basic.base.entity.SuperEntity.Update.class) UpdateVO updateVO)
      修改
      参数:
      updateVO - 修改VO
      返回:
      修改后的实体数据
    • handlerUpdate

      default R<Entity> handlerUpdate(UpdateVO updateVO)
      自定义更新
      参数:
      updateVO - 修改VO
      返回:
      返回SUCCESS_RESPONSE, 调用默认更新, 返回其他不调用默认更新