update 华为Service

This commit is contained in:
Lemon
2024-03-27 16:02:01 +08:00
parent b775074cfd
commit 9d0b01b03c
3 changed files with 16 additions and 0 deletions

View File

@@ -183,6 +183,9 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
@Autowired
private ThirdPartyStationRelationService thirdPartyStationRelationService;
@Autowired
private IThirdpartySnRelationService snRelationService;
@Override
public int deleteByPrimaryKey(Integer id) {
return orderBasicInfoMapper.deleteByPrimaryKey(id);
@@ -3063,6 +3066,8 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
}
}
}
// 修改订单
orderInfo.setPayMode(dto.getPayMode());
orderInfo.setPayStatus(OrderPayStatusEnum.paid.getValue());

View File

@@ -46,6 +46,10 @@ public class ThirdpartySnRelationServiceImpl implements IThirdpartySnRelationSer
return thirdpartySnRelationMapper.selectThirdpartySnRelationList(thirdpartySnRelation);
}
public List<ThirdpartySnRelation> selectSnRelationListByStationId(String stationId) {
return thirdpartySnRelationMapper.selectSnRelationListByStationId(stationId);
}
/**
* 新增万车充--第三方平台桩编号对应关系
*