Browse Source

bug处理

feature-1.1
wuxicheng 3 years ago
parent
commit
bb2bda0560
  1. 4
      bnyer-services/bnyer-pay/src/main/java/com/bnyer/pay/service/impl/PayInfoServiceImpl.java
  2. 2
      bnyer-services/bnyer-pay/src/main/resources/com/bnyer/pay/mapper/PayInfoMapper.xml

4
bnyer-services/bnyer-pay/src/main/java/com/bnyer/pay/service/impl/PayInfoServiceImpl.java

@ -113,9 +113,11 @@ public class PayInfoServiceImpl extends ServiceImpl<PayInfoMapper, PayInfo> 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;
}

2
bnyer-services/bnyer-pay/src/main/resources/com/bnyer/pay/mapper/PayInfoMapper.xml

@ -48,7 +48,7 @@
update pay_pay_info
<set>
pay_status = 1001,
single_status = 1003,
single_status = 1001,
single_time = now()
<if test="payNo != null and payNo != ''">
,pay_no = #{payNo}

Loading…
Cancel
Save