中车电站数据融合
This commit is contained in:
@ -9,6 +9,7 @@ import io.swagger.annotations.Api;
|
|||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@ -43,7 +44,7 @@ public class ShipEnergyController {
|
|||||||
@PostMapping("getStationIncomeHis")
|
@PostMapping("getStationIncomeHis")
|
||||||
@ApiOperation(value = "获取寄点电站历史收益")
|
@ApiOperation(value = "获取寄点电站历史收益")
|
||||||
@TokenIgnore
|
@TokenIgnore
|
||||||
public DataResult getStationIncomeHis(String beginTime) {
|
public DataResult getStationIncomeHis(@RequestBody(required = false) String beginTime) {
|
||||||
shipEnergyService.getStationIncomeHis(beginTime);
|
shipEnergyService.getStationIncomeHis(beginTime);
|
||||||
return DataResult.success();
|
return DataResult.success();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user