mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 记录scenarioType
This commit is contained in:
@@ -117,11 +117,11 @@ public class OrderPileOccupyServiceImpl implements OrderPileOccupyService{
|
||||
orderPileOccupy.setPileConnectorCode(pileSn + connectorCode);
|
||||
orderPileOccupy.setStartTime(DateUtils.getNowDate());
|
||||
orderPileOccupy.setDelFlag(DelFlagEnum.NORMAL.getValue());
|
||||
orderPileOccupyMapper.insertOrUpdate(orderPileOccupy);
|
||||
orderPileOccupyMapper.insertSelective(orderPileOccupy);
|
||||
}
|
||||
|
||||
/**
|
||||
* 占桩订单停止计费
|
||||
* 占桩订单停止计费/停止占桩订单计费
|
||||
*/
|
||||
@Override
|
||||
public void stopOccupyPileOrder(String occupyCode) {
|
||||
@@ -131,7 +131,15 @@ public class OrderPileOccupyServiceImpl implements OrderPileOccupyService{
|
||||
return;
|
||||
}
|
||||
orderPileOccupy.setEndTime(DateUtils.getNowDate());
|
||||
orderPileOccupyMapper.insertOrUpdate(orderPileOccupy);
|
||||
orderPileOccupyMapper.updateByPrimaryKeySelective(orderPileOccupy);
|
||||
}
|
||||
|
||||
/**
|
||||
* 计算占桩订单金额
|
||||
* calculateTheAmountOfTheOccupancyOrder
|
||||
*/
|
||||
public void calculateOccupyPileOrderAmount(String occupyCode) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user