|
@@ -236,9 +236,7 @@ public class AppUsersCashrecordController extends BaseController
|
|
|
String tradeNo = map.get("tradeNo").toString();
|
|
|
//验证回调订单
|
|
|
Map<String, Object> checkMap = PayOrderUtils.checkOrder(orderNo,tradeNo);
|
|
|
- LambdaQueryWrapper<AppUsersCashrecord> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(AppUsersCashrecord::getOrderno,orderNo);
|
|
|
- AppUsersCashrecord appUsersCashrecord = appUsersCashrecordService.getOne(queryWrapper);
|
|
|
+ AppUsersCashrecord appUsersCashrecord = appUsersCashrecordService.getByOrderNo(orderNo);
|
|
|
if(null == appUsersCashrecord){
|
|
|
return "failed";
|
|
|
}
|