Explorar el Código

[车流][修改][修改车流统计]

release_toaliyun_real
luozukai hace 6 años
committed by Stormeye Wu
padre
commit
cc8544b004
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. +5
    -5
      mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java

+ 5
- 5
mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java Ver fichero

@@ -172,12 +172,11 @@ public class WxCarCallBackController extends BaseController {
record.setRemainingDays(remainingDays); record.setRemainingDays(remainingDays);
record.setPhone(phoneStrs); record.setPhone(phoneStrs);
record.setTenantId(tenantId); record.setTenantId(tenantId);
wxCarPayRecordService.updateBySynId(record);


WxCarPayRecord query = new WxCarPayRecord(); WxCarPayRecord query = new WxCarPayRecord();
query.setSynId(synId); query.setSynId(synId);
PageInfo<WxCarPayRecord> page = wxCarPayRecordService.findCarPayListByPage(query,1,1);
if(page != null && CollectionUtils.isNotEmpty(page.getList())){
Integer findCarPayCount = wxCarPayRecordService.findCarPayCount(query);
if(findCarPayCount != null && findCarPayCount.intValue() >0 ){
wxCarPayRecordService.updateBySynId(record); wxCarPayRecordService.updateBySynId(record);
}else{ }else{
wxCarPayRecordService.saveOrUpdate(record); wxCarPayRecordService.saveOrUpdate(record);
@@ -286,8 +285,8 @@ public class WxCarCallBackController extends BaseController {


WxCarPayRecord query = new WxCarPayRecord(); WxCarPayRecord query = new WxCarPayRecord();
query.setSynId(synId); query.setSynId(synId);
PageInfo<WxCarPayRecord> page = wxCarPayRecordService.findCarPayListByPage(query,1,1);
if(page != null && CollectionUtils.isNotEmpty(page.getList())){
Integer findCarPayCount = wxCarPayRecordService.findCarPayCount(query);
if(findCarPayCount != null && findCarPayCount.intValue() >0 ){
wxCarPayRecordService.updateBySynId(record); wxCarPayRecordService.updateBySynId(record);
}else{ }else{
wxCarPayRecordService.saveOrUpdate(record); wxCarPayRecordService.saveOrUpdate(record);
@@ -554,3 +553,4 @@ public class WxCarCallBackController extends BaseController {
} }


} }


Cargando…
Cancelar
Guardar