mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 华为Service
This commit is contained in:
@@ -78,4 +78,11 @@ public interface ThirdpartySnRelationMapper {
|
||||
* @return
|
||||
*/
|
||||
int updateThirdPartySnRelation(@Param("dto") ThirdPartySnRelationDTO dto);
|
||||
|
||||
/**
|
||||
* 通过站点id 查询 sn 关系列表
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
List<ThirdpartySnRelation> selectSnRelationListByStationId(String stationId);
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -46,6 +46,10 @@ public class ThirdpartySnRelationServiceImpl implements IThirdpartySnRelationSer
|
||||
return thirdpartySnRelationMapper.selectThirdpartySnRelationList(thirdpartySnRelation);
|
||||
}
|
||||
|
||||
public List<ThirdpartySnRelation> selectSnRelationListByStationId(String stationId) {
|
||||
return thirdpartySnRelationMapper.selectSnRelationListByStationId(stationId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增万车充--第三方平台桩编号对应关系
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user