This commit is contained in:
2024-12-04 18:26:55 +08:00
parent f6c2642e45
commit b133ff368b

View File

@@ -109,7 +109,7 @@ public class WuyouController {
}
CashOut cashOut = cashOutDao.selectOne(new QueryWrapper<CashOut>().eq("order_number", notifyDto.getOut_trade_no()));
if (cashOut != null) {
if(notifyDto.getStatus().equals("2")){
if("2".equals(notifyDto.getStatus())){
cashOut.setState(1);
}else {
cashOut.setRefund(notifyDto.getMsg());