接口调整
This commit is contained in:
@@ -131,10 +131,13 @@ public class EquipmentDeliveryController extends BaseController {
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/deviceData")
|
||||
@ApiOperation("装置基础数据和模板数据")
|
||||
@ApiImplicitParam(name = "deviceId", value = "装置id", required = true)
|
||||
public HttpResult<DeviceManagerVO> getDeviceData(@RequestParam String deviceId){
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "deviceId", value = "装置id", required = true),
|
||||
@ApiImplicitParam(name = "type", value = "类型", required = true),
|
||||
})
|
||||
public HttpResult<DeviceManagerVO> getDeviceData(@RequestParam String deviceId,@RequestParam String type){
|
||||
String methodDescribe = getMethodDescribe("getDeviceData");
|
||||
DeviceManagerVO vo = csEquipmentDeliveryService.getDeviceData(deviceId);
|
||||
DeviceManagerVO vo = csEquipmentDeliveryService.getDeviceData(deviceId,type);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, vo, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user