udpate 打印日志

This commit is contained in:
Lemon
2024-03-20 08:18:00 +08:00
parent 065311cfa2
commit 3106fd7992
3 changed files with 23 additions and 6 deletions

View File

@@ -179,6 +179,9 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
@Autowired
private ClearingBillDetailService clearingBillDetailService;
@Autowired
private ThirdPartyStationRelationService thirdPartyStationRelationService;
@Override
public int deleteByPrimaryKey(Integer id) {
return orderBasicInfoMapper.deleteByPrimaryKey(id);
@@ -3062,6 +3065,19 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
sendStartCharging = false;
}
// 判断该桩所在的站点是否推送了第三方站点(需要我方平台发送启动指令的,如:华为平台)
// List<ThirdPartyStationRelationVO> relationInfoList = thirdPartyStationRelationService.getRelationInfoList(orderInfo.getStationId());
// if (CollectionUtils.isNotEmpty(relationInfoList)) {
// for (ThirdPartyStationRelationVO vo : relationInfoList) {
// String startMode = vo.getStartMode();
// if (StringUtils.equals(Constants.ONE, startMode)) {
// // todo 调用通用推送启动充电接口
// String thirdPartyType = vo.getThirdPartyType();
//
// sendStartCharging = false;
// }
// }
// }
// 修改订单
orderInfo.setPayMode(dto.getPayMode());
orderInfo.setPayStatus(OrderPayStatusEnum.paid.getValue());