org.shoulder.web.template.dictionary.controller.DictionaryItemCrudController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shoulder-web Show documentation
Show all versions of shoulder-web Show documentation
shoulder WEB 模块,基于Spring Boot Web提供了 Controller AOP 日志、AOP异常处理,统一返回值,健康检查,租户、用户解析,Web
安全防护,通用CrudController,动态字典,标签管理,HTTP client AOP日志、AOP异常处理等能力,助力Web飞速开发。
The newest version!
package org.shoulder.web.template.dictionary.controller;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.shoulder.core.converter.ShoulderConversionService;
import org.shoulder.web.template.crud.CrudCacheableController;
import org.shoulder.web.template.dictionary.dto.DictionaryItemDTO;
import org.shoulder.web.template.dictionary.model.DictionaryItemEntity;
import org.shoulder.web.template.dictionary.service.DictionaryItemService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 枚举型字典接口-默认实现
*
* @author lym
*/
@Tag(name = "DictionaryItemCrudController", description = "字典-明细项管理")
@RestController
@RequestMapping(value = "${shoulder.web.ext.dictionary.path + '/item':/api/v1/dictionary/item}")
public class DictionaryItemCrudController extends CrudCacheableController<
DictionaryItemService,
DictionaryItemEntity,
Long,
DictionaryItemDTO,
DictionaryItemDTO,
DictionaryItemDTO,
DictionaryItemDTO
> implements DictionaryItemController {
public DictionaryItemCrudController(DictionaryItemService service, ShoulderConversionService conversionService) {
super(service, conversionService);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy