|
|
|
@@ -434,10 +434,13 @@ public class WxCarCallBackController extends BaseController { |
|
|
|
|
|
|
|
WxCarPayRecord query = new WxCarPayRecord(); |
|
|
|
query.setSynId(orderId); |
|
|
|
query.setFeeTimeStr(feetime); |
|
|
|
PageInfo<WxCarPayRecord> page = wxCarPayRecordService.findCarPayListByPage(query,1,1); |
|
|
|
PageInfo<WxCarPayRecord> page = wxCarPayRecordService.findCarPayListByPage(query,1,10); |
|
|
|
if(page != null && CollectionUtils.isNotEmpty(page.getList())){ |
|
|
|
wxCarPayRecordService.updateBySynId(record); |
|
|
|
if(page.getList().size()>=2) { |
|
|
|
wxCarPayRecordService.saveOrUpdate(record); |
|
|
|
}else{ |
|
|
|
wxCarPayRecordService.updateBySynId(record); |
|
|
|
} |
|
|
|
}else{ |
|
|
|
wxCarPayRecordService.saveOrUpdate(record); |
|
|
|
} |
|
|
|
|