diff --git a/bnyer-services/bnyer-pay/src/main/java/com/bnyer/pay/service/impl/PayInfoServiceImpl.java b/bnyer-services/bnyer-pay/src/main/java/com/bnyer/pay/service/impl/PayInfoServiceImpl.java index b560c85..1e30e3d 100644 --- a/bnyer-services/bnyer-pay/src/main/java/com/bnyer/pay/service/impl/PayInfoServiceImpl.java +++ b/bnyer-services/bnyer-pay/src/main/java/com/bnyer/pay/service/impl/PayInfoServiceImpl.java @@ -113,9 +113,11 @@ public class PayInfoServiceImpl extends ServiceImpl impl */ private EditPayInfoSingleDto buildEditPayInfoSingleDto(EditPayInfoNotifyDto editPayInfoNotifyDto) { EditPayInfoSingleDto editPayInfoSingleDto = new EditPayInfoSingleDto(); + editPayInfoSingleDto.setPayNo(editPayInfoNotifyDto.getPayNo()); editPayInfoSingleDto.setPayId(editPayInfoNotifyDto.getPayId()); editPayInfoSingleDto.setPayTime(editPayInfoNotifyDto.getPayTime()); - editPayInfoSingleDto.setPayChannel(editPayInfoSingleDto.getPayChannel()); + editPayInfoSingleDto.setPayChannel(editPayInfoNotifyDto.getPayChannel()); + editPayInfoSingleDto.setTradeNo(editPayInfoNotifyDto.getTradeNo()); return editPayInfoSingleDto; } diff --git a/bnyer-services/bnyer-pay/src/main/resources/com/bnyer/pay/mapper/PayInfoMapper.xml b/bnyer-services/bnyer-pay/src/main/resources/com/bnyer/pay/mapper/PayInfoMapper.xml index a84b282..00bdde2 100644 --- a/bnyer-services/bnyer-pay/src/main/resources/com/bnyer/pay/mapper/PayInfoMapper.xml +++ b/bnyer-services/bnyer-pay/src/main/resources/com/bnyer/pay/mapper/PayInfoMapper.xml @@ -48,7 +48,7 @@ update pay_pay_info pay_status = 1001, - single_status = 1003, + single_status = 1001, single_time = now() ,pay_no = #{payNo}