mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
add 新增根据订单号查询保险信息方法
This commit is contained in:
@@ -58,4 +58,11 @@ public interface IOrderInsuranceInfoService {
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOrderInsuranceInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 通过订单号查询订单保险信息
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
OrderInsuranceInfo getInsuranceInfoByOrderCode(String orderCode);
|
||||
}
|
||||
|
||||
@@ -87,4 +87,14 @@ public class OrderInsuranceInfoServiceImpl implements IOrderInsuranceInfoService
|
||||
public int deleteOrderInsuranceInfoById(Long id) {
|
||||
return orderInsuranceInfoMapper.deleteOrderInsuranceInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过订单号查询订单保险信息
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public OrderInsuranceInfo getInsuranceInfoByOrderCode(String orderCode) {
|
||||
return orderInsuranceInfoMapper.getInfoByOrderCode(orderCode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user