mirror of
https://gitee.com/anji-plus/report.git
synced 2026-02-02 09:27:47 +08:00
删除swagger相关注解
This commit is contained in:
@@ -10,7 +10,7 @@ import com.anjiplus.template.gaea.business.modules.dict.controller.param.GaeaDic
|
||||
import com.anjiplus.template.gaea.business.modules.dict.dao.entity.GaeaDict;
|
||||
import com.anjiplus.template.gaea.business.modules.dict.service.GaeaDictItemService;
|
||||
import com.anjiplus.template.gaea.business.modules.dict.service.GaeaDictService;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.i18n.LocaleContextHolder;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -25,7 +25,6 @@ import java.util.*;
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/gaeaDict")
|
||||
@Api(value = "/gaeaDict", tags = "")
|
||||
public class GaeaDictController extends GaeaBaseController<GaeaDictParam, GaeaDict, GaeaDictDTO> {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.anjiplus.template.gaea.business.modules.dict.controller.dto.GaeaDictI
|
||||
import com.anjiplus.template.gaea.business.modules.dict.controller.param.GaeaDictItemParam;
|
||||
import com.anjiplus.template.gaea.business.modules.dict.service.GaeaDictItemService;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -19,7 +19,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/gaeaDictItem")
|
||||
@Api(value = "/gaeaDictItem", tags = "数据字典项")
|
||||
public class GaeaDictItemController extends GaeaBaseController<GaeaDictItemParam, GaeaDictItem, GaeaDictItemDTO> {
|
||||
@Autowired
|
||||
private GaeaDictItemService gaeaDictItemService;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dict.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -13,24 +11,19 @@ import java.io.Serializable;
|
||||
* @author lr
|
||||
* @since 2021-02-23 10:01:02
|
||||
*/
|
||||
@ApiModel(value = "")
|
||||
@Data
|
||||
public class GaeaDictDTO extends GaeaBaseDTO implements Serializable {
|
||||
/**
|
||||
* 字典名称
|
||||
*/
|
||||
@ApiModelProperty(value = "字典名称")
|
||||
private String dictName;
|
||||
/**
|
||||
* 字典编号
|
||||
*/
|
||||
@ApiModelProperty(value = "字典编号")
|
||||
private String dictCode;
|
||||
/**
|
||||
* 字典描述
|
||||
*/
|
||||
@ApiModelProperty(value = "字典描述")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dict.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@@ -13,44 +10,36 @@ import java.io.Serializable;
|
||||
* @author lirui
|
||||
* @since 2021-03-10 13:05:59
|
||||
*/
|
||||
@ApiModel(value = "数据字典项")
|
||||
@Data
|
||||
public class GaeaDictItemDTO extends GaeaBaseDTO implements Serializable {
|
||||
/**
|
||||
* 数据字典编码
|
||||
*/
|
||||
@ApiModelProperty(value = "数据字典编码")
|
||||
private String dictCode;
|
||||
/**
|
||||
* 字典项名称
|
||||
*/
|
||||
@ApiModelProperty(value = "字典项名称")
|
||||
private String itemName;
|
||||
/**
|
||||
* 字典项值
|
||||
*/
|
||||
@ApiModelProperty(value = "字典项值")
|
||||
private String itemValue;
|
||||
|
||||
/**
|
||||
* 字典项扩展
|
||||
*/
|
||||
@ApiModelProperty(value = "字典项扩展")
|
||||
private String itemExtend;
|
||||
/**
|
||||
* 语言标识
|
||||
*/
|
||||
@ApiModelProperty(value = "语言标识")
|
||||
private String locale;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String remark;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user