mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
update 更新数据接口
This commit is contained in:
@@ -74,7 +74,9 @@ public class JumpController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新接口
|
* 更新接口
|
||||||
|
* http://localhost:8080/app-xcx-h5/pile/updateOrderDetail
|
||||||
*/
|
*/
|
||||||
|
@GetMapping("updateOrderDetail")
|
||||||
public RestApiResponse<?> updateOrderDetail() {
|
public RestApiResponse<?> updateOrderDetail() {
|
||||||
orderBasicInfoService.updateElecAmount();
|
orderBasicInfoService.updateElecAmount();
|
||||||
return new RestApiResponse<>();
|
return new RestApiResponse<>();
|
||||||
|
|||||||
@@ -746,7 +746,6 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
totalElectricityAmount = totalElectricityAmount.add(multiply);
|
totalElectricityAmount = totalElectricityAmount.add(multiply);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 平时段用电量
|
// 平时段用电量
|
||||||
BigDecimal flatUsedElectricity = orderDetail.getFlatUsedElectricity();
|
BigDecimal flatUsedElectricity = orderDetail.getFlatUsedElectricity();
|
||||||
if (flatUsedElectricity != null) {
|
if (flatUsedElectricity != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user