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

@@ -78,4 +78,11 @@ public interface ThirdpartySnRelationMapper {
* @return * @return
*/ */
int updateThirdPartySnRelation(@Param("dto") ThirdPartySnRelationDTO dto); int updateThirdPartySnRelation(@Param("dto") ThirdPartySnRelationDTO dto);
/**
* 通过站点id 查询 sn 关系列表
* @param stationId
* @return
*/
List<ThirdpartySnRelation> selectSnRelationListByStationId(String stationId);
} }

View File

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

View File

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