Sfoglia il codice sorgente

[车流][修改][修改入库错误]

release_toaliyun_real
luozukai 6 anni fa
committed by Stormeye Wu
parent
commit
2727a5d7a0
1 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. +6
    -3
      mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java

+ 6
- 3
mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java Vedi File

@@ -434,10 +434,13 @@ public class WxCarCallBackController extends BaseController {


WxCarPayRecord query = new WxCarPayRecord(); WxCarPayRecord query = new WxCarPayRecord();
query.setSynId(orderId); 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())){ if(page != null && CollectionUtils.isNotEmpty(page.getList())){
wxCarPayRecordService.updateBySynId(record);
if(page.getList().size()>=2) {
wxCarPayRecordService.saveOrUpdate(record);
}else{
wxCarPayRecordService.updateBySynId(record);
}
}else{ }else{
wxCarPayRecordService.saveOrUpdate(record); wxCarPayRecordService.saveOrUpdate(record);
} }


Caricamento…
Annulla
Salva