Commit e0285cdde00ef7d6fd274329be809a5d84dd2bd4
1 parent
90a4f208
设备和场地
Showing
1 changed file
with
2 additions
and
2 deletions
Bsth-admin/src/main/java/com/ruoyi/controller/dss/DssCarInfoController.java
| ... | ... | @@ -5,7 +5,7 @@ import com.ruoyi.domain.caiinfo.CarInfo; |
| 5 | 5 | import com.ruoyi.domain.dss.car.info.dto.GetPlatesDTO; |
| 6 | 6 | import com.ruoyi.service.carinfo.CarInfoService; |
| 7 | 7 | import io.swagger.annotations.Api; |
| 8 | -import io.swagger.annotations.ApiModelProperty; | |
| 8 | +import io.swagger.annotations.ApiOperation; | |
| 9 | 9 | import org.apache.commons.collections4.CollectionUtils; |
| 10 | 10 | import org.apache.commons.lang3.StringUtils; |
| 11 | 11 | import org.springframework.beans.factory.annotation.Autowired; |
| ... | ... | @@ -32,7 +32,7 @@ public class DssCarInfoController { |
| 32 | 32 | private CarInfoService carInfoService; |
| 33 | 33 | |
| 34 | 34 | @GetMapping(value = "/device/getPlates") |
| 35 | - @ApiModelProperty(value="模糊查询车辆车牌列表") | |
| 35 | + @ApiOperation("模糊查询车辆车牌列表") | |
| 36 | 36 | public ResponseResult<Set<String>> getPlates(@Valid @RequestBody GetPlatesDTO dto, BindingResult bindingResult) { |
| 37 | 37 | if (bindingResult.hasErrors()) { |
| 38 | 38 | return ResponseResult.error(bindingResult.getFieldError().getDefaultMessage()); | ... | ... |